Changeset 3929 for trunk/indexers/mgpp/lib
- Timestamp:
- 2003-03-19T15:45:11+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/indexers/mgpp/lib/WIN32.MAK
r3365 r3929 1 1 ########################################################################### 2 2 # 3 # win32 makefile -- mgpp\ text3 # win32 makefile -- mgpp\lib 4 4 # A component of the Greenstone digital library software 5 5 # from the New Zealand Digital Library Project at the 6 6 # University of Waikato, New Zealand. 7 7 # 8 # Copyright (C) 2000The New Zealand Digital Library Project8 # Copyright (C) 1999 The New Zealand Digital Library Project 9 9 # 10 10 # … … 25 25 ########################################################################### 26 26 27 GSDLHOME = ..\..\.. 28 USE_STLPORT = 0 27 MGPPHOME = .. 29 28 30 STLPATH = "$(GSDLHOME)\packages\windows\stlport\stlport" 29 AR = lib 30 CC = cl 31 CPPFLAGS = 31 32 32 CC = cl 33 CPPFLAGS = 34 DEFS = -DSHORT_SUFFIX -DSILENT -DHAVE_CONFIG_H -D__WIN32__ 35 INCLUDES = -I"$(GSDLHOME)" 36 !IF $(USE_STLPORT) 37 DEFS = $(DEFS) -DGSDL_NAMESPACE_BROKEN -DGSDL_USE_IOS_H -D__STL_NO_NEW_IOSTREAMS 38 INCLUDES = $(INCLUDES) -I$(STLPATH) 39 !ENDIF 33 DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -DSHORT_SUFFIX 34 INCLUDES = -I"." -I"$(MGPPHOME)" 40 35 41 LDFLAGS = 42 43 LIBS = 44 45 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) 46 LINK = $(CC) $(LDFLAGS) 36 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) 47 37 48 38 .SUFFIXES: 49 .SUFFIXES: .c . obj .cpp39 .SUFFIXES: .c .cpp .obj 50 40 .c.obj: 51 41 $(COMPILE) $< … … 53 43 $(COMPILE) $< 54 44 45 ANSI2KNR = 55 46 o = .obj 56 47 … … 61 52 bitio_m.h huffman.h \ 62 53 bitio_m_mem.h perf_hash.h \ 63 bitio_m_mems.h getopt_old.h\54 bitio_m_mems.h \ 64 55 pathmax.h getpagesize.h sysfuncs.h bitio_m_abstract.h \ 65 56 random.h simplefrenchstem.h unitool.h longlong.h \ 66 non_ansi.h 57 non_ansi.h getopt_old.h win32in.h 58 67 59 68 60 SOURCES = \ … … 75 67 ftruncate.cpp strcasecmp.cpp random.cpp \ 76 68 simplefrenchstem.cpp unitool.cpp bitio_m_random.cpp \ 77 bitio_m_abstract.cpp getopt_old.c 69 bitio_m_abstract.cpp getopt_old.c win32in.c 70 # memlib.cpp removed 71 78 72 79 73 OBJECTS = mgheap$o \ … … 84 78 xmalloc$o bitio_m_random$o bitio_m_abstract$o \ 85 79 random$o simplefrenchstem$o \ 86 unitool$o win32in$o getopt_old$o80 unitool$o getopt_old$o win32in$o 87 81 88 all : libmg.lib 82 83 DISTFILES = Makefile.in $(HEADERS) $(SOURCES) 84 85 all : libmgpp.lib 89 86 90 libmg .lib: $(OBJECTS)91 if EXIST libmg .lib del libmg.lib92 lib /out:libmg.lib $(OBJECTS)87 libmgpp.lib : $(OBJECTS) 88 if EXIST libmgpp.lib del libmgpp.lib 89 $(AR) /out:libmgpp.lib $(OBJECTS) 93 90 91 $(OBJECTS): "$(MGPPHOME)\win32cfg.h" 92 93 install: 94 94 clean: 95 95 del *$o 96 del libmg.lib 97 98 install: 96 del libmgpp.lib
Note:
See TracChangeset
for help on using the changeset viewer.