Changeset 2468 for trunk/gsdl/src/mgpp/lib/WIN32.MAK
- Timestamp:
- 2001-05-24T17:06:48+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/mgpp/lib/WIN32.MAK
r855 r2468 1 # Generated automatically from Makefile.in by configure.2 1 ########################################################################### 3 2 # 4 # Makefile.in -- Makefile for the general purpose library 5 # Copyright (C) 1994 Neil Sharman; (C) 1995 Tim Shimmin 3 # win32 makefile -- mgpp\text 4 # A component of the Greenstone digital library software 5 # from the New Zealand Digital Library Project at the 6 # University of Waikato, New Zealand. 7 # 8 # Copyright (C) 2000 The New Zealand Digital Library Project 9 # 6 10 # 7 11 # This program is free software; you can redistribute it and/or modify … … 19 23 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 20 24 # 21 # @(#)Makefile.in 1.3 16 Mar 199422 #23 25 ########################################################################### 24 26 27 GSDLHOME = ..\..\.. 28 USE_STLPORT = 0 25 29 26 PACKAGE = mg 27 VERSION = 1.3 28 29 AR = lib 30 STLPATH = "$(GSDLHOME)\packages\windows\stlport\stlport" 31 30 32 CC = cl 31 #CFLAGS = -g -O 32 CPPFLAGS = 33 DEFS = -DQUIET -DHAVE_CONFIG_H -D__WIN32__ -D_LITTLE_ENDIAN 34 35 COMPILE = $(CC) -c $(DEFS) -I. -I.. 36 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 40 41 LDFLAGS = 42 43 LIBS = 44 45 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) 46 LINK = $(CC) $(LDFLAGS) 47 37 48 .SUFFIXES: 38 .SUFFIXES: .c .obj 49 .SUFFIXES: .c .obj .cpp 39 50 .c.obj: 40 51 $(COMPILE) $< 52 .cpp.obj: 53 $(COMPILE) $< 41 54 42 ANSI2KNR =43 55 o = .obj 44 45 46 INCLUDES = -I.. 47 56 48 57 HEADERS = \ 49 58 bitio_m_random.h local_strings.h lovinstem.h \ 50 bitio_m_stdio.h getopt.hmemlib.h netorder.h \59 bitio_m_stdio.h memlib.h netorder.h \ 51 60 bitio_gen.h mgheap.h messages.h \ 52 61 bitio_m.h huffman.h \ 53 62 bitio_m_mem.h perf_hash.h \ 54 bitio_m_mems.h \63 bitio_m_mems.h getopt.h \ 55 64 pathmax.h getpagesize.h sysfuncs.h bitio_m_abstract.h \ 56 65 random.h simplefrenchstem.h unitool.h longlong.h \ 57 non_ansi.h win32in.h 58 66 non_ansi.h 59 67 60 68 SOURCES = \ 61 mgheap.cpp memlib.cpp\69 mgheap.cpp \ 62 70 huffman.cpp messages.cpp \ 63 71 bitio_gen.cpp perf_hash.cpp \ 64 getopt.cpp \ 65 getopt1.cpp local_strings.cpp lovinstem.cpp \ 72 local_strings.cpp lovinstem.cpp \ 66 73 bitio_m_mem.cpp bitio_m_stdio.cpp bitio_m_mems.cpp \ 67 alloca.c 68 gmalloc.cftruncate.cpp strcasecmp.cpp random.cpp \74 alloca.c xmalloc.c strstr.cpp \ 75 ftruncate.cpp strcasecmp.cpp random.cpp \ 69 76 simplefrenchstem.cpp unitool.cpp bitio_m_random.cpp \ 70 bitio_m_abstract.cpp win32in.c77 bitio_m_abstract.cpp getopt.c 71 78 72 OBJECTS = mgheap$o memlib$o\79 OBJECTS = mgheap$o \ 73 80 huffman$o messages$o \ 74 81 bitio_gen$o perf_hash$o \ 75 getopt$o \ 76 getopt1$o local_strings$o lovinstem$o \ 82 local_strings$o lovinstem$o \ 77 83 bitio_m_mem$o bitio_m_stdio$o bitio_m_mems$o \ 78 84 xmalloc$o bitio_m_random$o bitio_m_abstract$o \ 79 gmalloc$orandom$o simplefrenchstem$o \80 unitool$o win32in$o85 random$o simplefrenchstem$o \ 86 unitool$o getopt$o 81 87 82 83 DISTFILES = Makefile.in $(HEADERS) $(SOURCES)84 85 88 all : libmg.lib 86 89 87 libmg.lib : $(OBJECTS) 90 libmg.lib: $(OBJECTS) 91 if EXIST libmg.lib del libmg.lib 92 lib /out:libmg.lib $(OBJECTS) 93 94 clean: 95 del *$o 88 96 del libmg.lib 89 $(AR) /out:libmg.lib $(OBJECTS)90 97 91 $(OBJECTS): ..\win32cfg.h 92 93 install: 94 installdirs: 95 uninstall: 96 execinstall: 97 execuninstall: 98 maninstall: 99 manuninstall: 100 101 #dist: $(DISTFILES) 102 # for file in $(DISTFILES); do \ 103 # ln $$file $(distdir) 2> /dev/null \ 104 # || cp -p $$file $(distdir); \ 105 # done 106 107 mostlyclean: 108 del *.obj 109 110 clean: mostlyclean 111 del libmg.lib 112 113 distclean: clean 114 rm -f Makefile 115 116 maintainer-clean: distclean 117 @echo "This command is intended only for maintainers to use;" 118 @echo "rebuilding the deleted files may require special tools." 119 120 #Makefile: Makefile.in ../config.status 121 # cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status 122 123 # Tell versions [3.59,3.63) of GNU make not to export all variables. 124 # Otherwise a system limit (for SysV at least) may be exceeded. 125 #.NOEXPORT: 98 install:
Note:
See TracChangeset
for help on using the changeset viewer.