source: main/trunk/greenstone2/win32.mak@ 30656

Last change on this file since 30656 was 24958, checked in by ak19, 12 years ago

First commit to do with Greenstone's support for RSS. Committing Dr Bainbridge's code which was already working for windows. This has now been tested on Linux, where it can be got to work with changes to zextra.dm and base.dm and if the rss-items.rdf file generated by the update to BasePlugout is moved to the index folder). The next set of commits will make the way rssaction.cpp accesses the rss-items.rdf file independent of where the GS server is located, with changes to the protocol class.

  • Property svn:keywords set to Author Date Id Revision
File size: 3.3 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
27GSDLHOME = $(MAKEDIR)
28GSDL_VC4 = 0
29# It only ever makes sense for GS2 to turn on LOCAL_LIBRARY and APACHE_HTTPD if needed
30LOCAL_LIBRARY = 0
31APACHE_HTTPD = 0
32DEBUG = 0
33DLL = 0
34DLLDEBUG = 0
35# The main database backends are enabled by default
36USE_GDBM = 1
37USE_JDBM = 1
38# USE_RSS is enabled by default for GS2. How about GS3?
39USE_RSS = 1
40# USE_SQLITE is enabled by default for GS2. Need to turn off explicitly for GS3 in build.xml
41USE_SQLITE = 1
42# It only ever makes sense for GS2 to turn on MSSQL if needed
43USE_MSSQL = 0
44USE_Z3950 = 0
45# by default, all indexers are enabled
46ENABLE_MG = 1
47ENABLE_MGPP = 1
48ENABLE_LUCENE = 1
49# jni is disabled by default as this is the default for GS2. GS3 will set this explicitly
50ENABLE_JNI = 0
51
52
53MDEFINES = /f win32.mak
54
55INSTALLDIRS = common-src build-src
56!IF EXIST ("runtime-src")
57INSTALLDIRS = $(INSTALLDIRS) runtime-src
58!ENDIF
59
60
61MAKECMD = $(MAKE) $(MDEFINES) GSDLHOME="$(GSDLHOME)"
62
63!IF $(GSDL_VC4)
64MAKECMD = $(MAKECMD) GSDL_VC4=1
65!ENDIF
66!IF $(LOCAL_LIBRARY)
67MAKECMD = $(MAKECMD) LOCAL_LIBRARY=1
68!ENDIF
69!IF $(APACHE_HTTPD)
70MAKECMD = $(MAKECMD) APACHE_HTTPD=1
71!ENDIF
72!IF $(DEBUG)
73MAKECMD = $(MAKECMD) DEBUG=1
74!ENDIF
75!IF $(DLL)
76MAKECMD = $(MAKECMD) DLL=1
77!ENDIF
78!IF $(DLLDEBUG)
79MAKECMD = $(MAKECMD) DLLDEBUG=1
80!ENDIF
81!IF !$(USE_GDBM)
82MAKECMD = $(MAKECMD) USE_GDBM=0
83!ENDIF
84!IF !$(USE_JDBM)
85MAKECMD = $(MAKECMD) USE_JDBM=0
86!ENDIF
87!IF !$(USE_RSS)
88MAKECMD = $(MAKECMD) USE_RSS=0
89!ENDIF
90!IF !$(USE_SQLITE)
91MAKECMD = $(MAKECMD) USE_SQLITE=0
92!ENDIF
93!IF $(USE_MSSQL)
94MAKECMD = $(MAKECMD) USE_MSSQL=1
95!ENDIF
96!IF $(USE_Z3950)
97MAKECMD = $(MAKECMD) USE_Z3950=1
98!ENDIF
99!IF $(ENABLE_JNI)
100MAKECMD = $(MAKECMD) ENABLE_JNI=1
101!ENDIF
102!IF !$(ENABLE_MG)
103MAKECMD = $(MAKECMD) ENABLE_MG=0
104!ENDIF
105!IF !$(ENABLE_MGPP)
106MAKECMD = $(MAKECMD) ENABLE_MGPP=0
107!ENDIF
108!IF !$(ENABLE_LUCENE)
109MAKECMD = $(MAKECMD) ENABLE_LUCENE=0
110!ENDIF
111
112MAKECLEANCMD = $(MAKE) $(MDEFINES) GSDLHOME="$(GSDLHOME)" clean
113
114all: win32.mak $(INSTALLDIRS)
115
116install: win32.mak $(INSTALLDIRS)
117
118clean:
119 cd common-src
120 $(MAKECLEANCMD)
121 cd "$(GSDLHOME)"
122 cd build-src
123 $(MAKECLEANCMD)
124 cd "$(GSDLHOME)"
125!IF EXIST ("runtime-src")
126 cd runtime-src
127 $(MAKECLEANCMD)
128 cd "$(GSDLHOME)"
129!ENDIF
130
131$(INSTALLDIRS): FORCE
132 cd "$@"
133 $(MAKECMD)
134 $(MAKECMD) install
135 cd "$(GSDLHOME)"
136
137FORCE:
138
Note: See TracBrowser for help on using the repository browser.