source: main/trunk/gs2-core/win32.mak@ 21689

Last change on this file since 21689 was 21689, checked in by mdewsnip, 14 years ago

First attempt at Windows makefiles for top-level and common-src directory.

File size: 1.6 KB
RevLine 
[21689]1###########################################################################
2#
3# win32.mak -- Windows Makefile for top-level
4#
5# A component of the Greenstone digital library software
6# from the New Zealand Digital Library Project at the
7# University of Waikato, New Zealand.
8#
9# Copyright (C) 1999-2010 The New Zealand Digital Library Project
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
27
28GSDL_DIR = $(MAKEDIR)
29MAKE = $(MAKE) GSDLHOME=$(GSDL_DIR)
30
31
32# Option: Lucene support (enabled by default)
33ENABLE_LUCENE = 1
34!IF $(ENABLE_LUCENE)
35MAKE = $(MAKE) ENABLE_LUCENE=1
36!ENDIF
37
38# Option: SQLite support (enabled by default)
39USE_SQLITE = 1
40!IF $(USE_SQLITE)
41MAKE = $(MAKE) USE_SQLITE=1
42!ENDIF
43
44
45SUBDIRS = common-src build-src runtime-src
46
47
48all: win32.mak $(SUBDIRS)
49
50install: win32.mak $(SUBDIRS)
51
52$(SUBDIRS): FORCE
53 cd "$@"
54 $(MAKE) /f win32.mak
55 $(MAKE) /f win32.mak install
56 cd "$(MAKEDIR)"
57
58FORCE:
Note: See TracBrowser for help on using the repository browser.