source: trunk/gsdl/win32.mak@ 3130

Last change on this file since 3130 was 2501, checked in by sjboddie, 23 years ago

a few changes to various makefiles, mostly with regard to the phind stuff
which is now compiled in by default

  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1###########################################################################
2#
3# win32 makefile -- gsdl
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) 1999 The New Zealand Digital Library Project
9#
10#
11# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2 of the License, or
14# (at your option) any later version.
15#
16# This program is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with this program; if not, write to the Free Software
23# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24#
25###########################################################################
26
27AR = lib
28CC = cl
29CPPFLAGS =
30
31GSDLHOME = $(MAKEDIR)
32USE_STLPORT = 0
33LOCAL_LIBRARY = 0
34MDEFINES = /nologo /S /c /f win32.mak
35COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
36
37SOURCES =
38
39OBJECTS =
40
41OTHERDIRS = packages\windows\gdbm\gdbm packages\windows\crypt\crypt \
42 packages\mg\lib src\mgpp\lib lib src\colservr
43
44INSTALLDIRS = packages\mg\src\text src\mgpp\text src\txt2db src\db2txt \
45 src\hashfile src\phind\generate src\recpt
46
47MAKECMD = $(MAKE) $(MDEFINES) GSDLHOME="$(GSDLHOME)"
48!IF $(USE_STLPORT)
49MAKECMD = $(MAKECMD) USE_STLPORT=1
50!ENDIF
51!IF $(LOCAL_LIBRARY)
52MAKECMD = $(MAKECMD) LOCAL_LIBRARY=1
53INSTALLDIRS = $(INSTALLDIRS) src\w32server
54!ENDIF
55
56all: win32.mak $(OTHERDIRS) $(INSTALLDIRS)
57
58install: win32.mak $(INSTALLDIRS)
59
60$(OTHERDIRS): FORCE
61 cd "$@"
62 $(MAKECMD)
63 cd "$(GSDLHOME)"
64
65$(INSTALLDIRS): FORCE
66 cd "$@"
67 $(MAKECMD)
68 $(MAKECMD) install
69 cd "$(GSDLHOME)"
70
71FORCE:
Note: See TracBrowser for help on using the repository browser.