[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 |
|
---|
| 28 | GSDL_DIR = $(MAKEDIR)
|
---|
| 29 | MAKE = $(MAKE) GSDLHOME=$(GSDL_DIR)
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | # Option: Lucene support (enabled by default)
|
---|
| 33 | ENABLE_LUCENE = 1
|
---|
| 34 | !IF $(ENABLE_LUCENE)
|
---|
| 35 | MAKE = $(MAKE) ENABLE_LUCENE=1
|
---|
| 36 | !ENDIF
|
---|
| 37 |
|
---|
| 38 | # Option: SQLite support (enabled by default)
|
---|
| 39 | USE_SQLITE = 1
|
---|
| 40 | !IF $(USE_SQLITE)
|
---|
| 41 | MAKE = $(MAKE) USE_SQLITE=1
|
---|
| 42 | !ENDIF
|
---|
| 43 |
|
---|
| 44 |
|
---|
| 45 | SUBDIRS = common-src build-src runtime-src
|
---|
| 46 |
|
---|
| 47 |
|
---|
| 48 | all: win32.mak $(SUBDIRS)
|
---|
| 49 |
|
---|
| 50 | install: win32.mak $(SUBDIRS)
|
---|
| 51 |
|
---|
| 52 | $(SUBDIRS): FORCE
|
---|
| 53 | cd "$@"
|
---|
| 54 | $(MAKE) /f win32.mak
|
---|
| 55 | $(MAKE) /f win32.mak install
|
---|
| 56 | cd "$(MAKEDIR)"
|
---|
| 57 |
|
---|
| 58 | FORCE:
|
---|