############################################################ # platform/cygwin51_gcc3_so # Platform dependent information for Cygwin_NT-5.1 # using gcc-3.00 # Build libcint.dll instead of G__ci.a. And creates multi-thread safe DLLs. # Based on Christoph Bugel's proposal about multi-threading. ############################################################ # 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