[21693] | 1 | ###########################################################################
|
---|
| 2 | #
|
---|
| 3 | # win32.mak -- Windows Makefile for runtime-src\src\protocol
|
---|
| 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 | # Libraries compiled
|
---|
| 29 | LIBRARIES = gsdlprotocol.lib
|
---|
| 30 |
|
---|
| 31 | # Library: gsdlprotocol.lib
|
---|
| 32 | # Do NOT add the "recpt" directory here: the protocol should be independent of the receptionist!
|
---|
| 33 | LIBPROTOCOL_CPPFLAGS = \
|
---|
| 34 | -I$(GSDLHOME)\common-src\src\lib \
|
---|
| 35 | -I$(GSDLHOME)\runtime-src\src\colservr
|
---|
| 36 |
|
---|
| 37 | LIBPROTOCOL_OBJECTS = \
|
---|
| 38 | nullproto.obj \
|
---|
| 39 | recptproto.obj \
|
---|
| 40 | recptprototools.obj
|
---|
| 41 |
|
---|
| 42 |
|
---|
| 43 | COMPILE = cl -nologo -c -EHsc -D__WIN32__ -DXML_STATIC -D_CRT_SECURE_NO_DEPRECATE $(LIBPROTOCOL_CPPFLAGS)
|
---|
| 44 | LINK = cl -nologo -Fe"$@"
|
---|
| 45 |
|
---|
| 46 | .SUFFIXES:
|
---|
| 47 | .SUFFIXES: .cpp .obj
|
---|
| 48 |
|
---|
| 49 | .cpp.obj:
|
---|
| 50 | $(COMPILE) $<
|
---|
| 51 |
|
---|
| 52 |
|
---|
| 53 | gsdlprotocol.lib: $(LIBPROTOCOL_OBJECTS)
|
---|
| 54 | if EXIST gsdlprotocol.lib del gsdlprotocol.lib
|
---|
| 55 | lib -nologo /out:gsdlprotocol.lib $(LIBPROTOCOL_OBJECTS)
|
---|
| 56 |
|
---|
| 57 | all: $(LIBRARIES)
|
---|
| 58 |
|
---|
| 59 | install: $(LIBRARIES)
|
---|
| 60 |
|
---|
| 61 | distclean:
|
---|
| 62 | del *.obj $(LIBRARIES) win32.mak
|
---|
| 63 |
|
---|
| 64 | clean:
|
---|
| 65 | del *.obj $(LIBRARIES)
|
---|