Changeset 2338 for trunk/gsdl/lib
- Timestamp:
- 2001-04-25T22:29:11+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/lib/win32.mak
r1748 r2338 26 26 27 27 GSDLHOME = .. 28 STLPATH = f:\stlport 28 USE_STLPORT = 0 29 LOCAL_LIBRARY = 0 30 STLPATH = "$(GSDLHOME)\packages\windows\stlport\stlport" 29 31 30 32 AR = lib 31 33 CC = cl 32 34 CPPFLAGS = 33 # note that if compiling with a newer version of VC++ than 4.2 we'll 34 # use the built in STL and so the following definitions should not 35 # be defined - this setup is for use with VC++ 4.2 and STLPort 36 # GSDL_NAMESPACE_BROKEN 37 # GSDL_USE_IOS_H 38 # __STL_NO_NEW_IOSTREAMS 39 DEFS = -DQUIET -D__WIN32__ -DGSDL_NAMESPACE_BROKEN -DGSDL_USE_IOS_H \ 40 -DSHORT_SUFFIX -DPARADOCNUM -DHAVE_CONFIG_H -D__STL_NO_NEW_IOSTREAMS 41 INCLUDES = -I$(GSDLHOME)\packages\mg\lib -I$(STLPATH) 35 36 DEFS = -D__WIN32__ -DHAVE_CONFIG_H -DPARADOCNUM -D_LITTLE_ENDIAN \ 37 -DSHORT_SUFFIX 38 INCLUDES = -I"$(GSDLHOME)" -I"$(GSDLHOME)\packages\mg\lib" 39 !IF $(USE_STLPORT) 40 DEFS = $(DEFS) -DGSDL_NAMESPACE_BROKEN -DGSDL_USE_IOS_H -D__STL_NO_NEW_IOSTREAMS 41 INCLUDES = $(INCLUDES) -I$(STLPATH) 42 !ENDIF 43 !IF $(LOCAL_LIBRARY) 44 DEFS = $(DEFS) -DGSDL_LOCAL_LIBRARY 45 !ENDIF 42 46 43 47 COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) $(INCLUDES) … … 52 56 $(COMPILE) $< 53 57 54 HEADERS = \ 55 cfgread.h fileutil.h gsdlunicode.h text_t.h \ 56 display.h gsdlconf.h gsdltimes.h gsdltools.h 58 HEADERS = cfgread.h fileutil.h gsdlunicode.h text_t.h display.h gsdlconf.h \ 59 gsdltimes.h gsdltools.h cnfgable.h cnfgator.h 57 60 58 SOURCES = \ 59 cfgread.cpp fileutil.cpp text_t.cpp \ 60 display.cpp gsdlunicode.cpp gsdltimes.cpp gsdltools.cpp 61 SOURCES = cfgread.cpp fileutil.cpp gsdlunicode.cpp text_t.cpp display.cpp \ 62 gsdltimes.cpp gsdltools.cpp cnfgable.cpp cnfgator.cpp 61 63 62 OBJECTS = \ 63 cfgread.obj fileutil.obj text_t.obj \ 64 display.obj gsdlunicode.obj gsdltimes.obj gsdltools.obj 64 OBJECTS = cfgread.obj fileutil.obj gsdlunicode.obj text_t.obj display.obj \ 65 gsdltimes.obj gsdltools.obj cnfgable.obj cnfgator.obj 65 66 66 67 all: gsdllib.lib … … 70 71 $(AR) /out:gsdllib.lib $(OBJECTS) 71 72 73 # we want gsdltools to always be compiled in case the status of 74 # GSDL_LOCAL_LIBRARY has changed 75 gsdltools.obj: FORCE 76 72 77 clean: 73 78 del *.obj … … 75 80 76 81 install: 82 83 FORCE:
Note:
See TracChangeset
for help on using the changeset viewer.