[24874] | 1 | ###########################################################################
|
---|
| 2 | #
|
---|
| 3 | # win32 makefile -- getgw
|
---|
| 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-2008 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 |
|
---|
| 27 | COMMON_DIR = ..
|
---|
| 28 | !IF "$(GSDLHOME)"==""
|
---|
| 29 | GSDLHOME = ..\..
|
---|
| 30 | !ELSE
|
---|
| 31 | GSDLHOME = $(GSDLHOME)
|
---|
| 32 | !ENDIF
|
---|
| 33 |
|
---|
| 34 | GSDL_VC4 = 0
|
---|
| 35 | LOCAL_LIBRARY = 0
|
---|
| 36 | DEBUG = 0
|
---|
| 37 | DLL = 0
|
---|
| 38 | DLLDEBUG = 0
|
---|
| 39 |
|
---|
| 40 |
|
---|
| 41 | all:
|
---|
[24878] | 42 | if not exist "$(GSDLHOME)\cgi-bin\windows" mkdir "$(GSDLHOME)\cgi-bin\windows"
|
---|
[24880] | 43 | for %%i in ("$(COMMON_DIR)\cgi-bin") do copy %%i "$(GSDLHOME)\cgi-bin\windows\."
|
---|
| 44 | for %%i in (Makefile.in Makefile win32.mak) do if exist "$(GSDLHOME)\cgi-bin\windows\%%i" del "$(GSDLHOME)\cgi-bin\windows\%%i"
|
---|
[24874] | 45 |
|
---|
| 46 | clean:
|
---|
[24880] | 47 | if exist "$(GSDLHOME)\cgi-bin\windows" rmdir /S "$(GSDLHOME)\cgi-bin\windows"
|
---|
[24874] | 48 |
|
---|
[24880] | 49 | install:
|
---|