/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ ############################################################ # Automatically created makefile for display0.dll ############################################################ # Copying $CINTSYSDIR/MAKEINFO ############################# ############################################################ # platform/cygwin51_gcc3_so # Platform dependent information for Cygwin_NT-5.1 # using gcc-3.00 # Build libcint.dll instead of G__ci.a ############################################################ # Tools AS = as DLLTOOL = dlltool LDDLL = ld #LIBS = -lcygwin -lkernel32 -luser32 -lgdi32 -lcomdlg32 RM = rm -f CP = cp AR = ar AROPT = clq KRCC = gcc -traditional CC = gcc -fexceptions -Wall CPP = g++ -Wall LD = g++ CPREP = gcc -E -C CPPPREP = g++ -E -C # Compiler and linker option CCDLLOPT = -DBUILDING_DLL=1 LDDLLOPT = -shared # gcc-3.00 has a bug in -O2. Use -O instead. -O2 may be OK for later version OPTIMIZE = -O LDOPT = -lm -ltermcap -lreadline SYSMACRO = -DG__REGEXP -DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK -DG__CYGWIN=51 -DG__NEWSTDHEADER OTHMACRO = -DG__P2FCAST -DG__REDIRECTIO -DG__DETECT_NEWDEL -DG__POSIX -DG__STD_EXCEPTION $(CCDLLPOST) -DG__GNUREADLINE SYSIPATH = # libraries MAINO = $(CINTSYSDIR)/main/G__cppmain.o CINTLIB = $(CINTSYSDIR)/libcint.dll READLINEA = APIO = Api.o Class.o BaseCls.o Type.o DataMbr.o Method.o MethodAr.o CallFunc.o Typedf.o Apiif.o Token.o RANLIB = /usr/bin/ranlib STDLIBS = gcc3strm.o stdstrct.o PLATFORM = $(CINTSYSDIR)/main/G__setup.o # source code postfix CSRCPOST = .c CHDRPOST = .h CPPSRCPOST = .C CPPHDRPOST = .h OBJPOST = .o DLLPOST = .dll ########################################################## # Control default behavior of cint command line input ########################################################## #INPUTMODE = C++ #INPUTMODE = root INPUTMODE = cint #INPUTMODELOCK = on INPUTMODELOCK = off # End of $CINTSYSDIR/MAKEINFO ############################## # Set variables ############################################ IPATH = $(SYSIPATH) MACRO = $(SYSMACRO) CINTSYSDIR = /home/gotom/src/cint CINTIPATH = -I$(CINTSYSDIR) OBJECT = display0.dll OPTION = $(CCDLLOPT) DLLSPEC = LINKSPEC = -DG__CLINK_ON # Set File names ########################################### CIFC = G__c_display0.c CIFH = G__c_display0.h CIFO = G__c_display0.o CPPIFC = CPPIFH = CPPIFO = LIBS = CCOPT = CINTOPT = COFILES = RMCOFILES = CHEADER = \ display0.h CHEADERCINT = \ display0.h CSTUB = CSTUBCINT = CPPOFILES = RMCPPOFILES = CPPHEADER = CPPHEADERCINT = CPPSTUB = CPPSTUBCINT = # Link Object ############################################# $(OBJECT) : $(CINTLIB) $(COFILES) $(CPPOFILES) $(CIFO) $(CPPIFO) $(LD) $(LDDLLOPT) $(OPTIMIZE) $(IPATH) $(MACRO) $(CCOPT) -o $(OBJECT) $(COFILES) $(CIFO) $(CPPIFO) $(CPPOFILES) $(LIBS) -L$(CINTSYSDIR) -lcint # Compile User C source files ############################## # Compile User C++ source files ############################ # Compile C Interface routine ############################ $(CIFO) : $(CIFC) $(CC) $(CINTIPATH) $(IPATH) $(MACRO) $(OPTIMIZE) $(OPTION) $(CCOPT) -c $(CIFC) # Create C Interface routine ############################# $(CIFC) : $(CHEADER) $(CSTUB) $(CINTSYSDIR)/cint $(CINTSYSDIR)/cint -K -w1 -zdisplay0 -n$(CIFC) $(DLLSPEC) -D__MAKECINT__ -DG__MAKECINT -c-2 $(KRMODE) $(IPATH) $(MACRO) $(CINTOPT) $(CHEADERCINT) # Clean up ################################################# clean : $(RM) $(OBJECT) core $(CIFO) $(CIFC) $(CIFH) $(CPPIFO) $(CPPIFC) $(CPPIFH) $(RMCOFILES) $(RMCPPOFILES) # re-makecint ############################################## makecint : makecint -mk make0 -dl display0.dll -h display0.h