Last change
on this file since 22740 was 22740, checked in by mdewsnip, 14 years ago |
Changing all the configure scripts and makefiles I created (from scratch, to use autoconf and automake) to have my name and copyright DL Consulting Ltd.
|
File size:
1.1 KB
|
Rev | Line | |
---|
[21693] | 1 | ###########################################################################
|
---|
| 2 | #
|
---|
| 3 | # win32.mak -- Windows Makefile for runtime-src\src\protocol
|
---|
| 4 | #
|
---|
[22740] | 5 | # By Michael Dewsnip
|
---|
[21693] | 6 | #
|
---|
[22740] | 7 | # Copyright (C) 2010 DL Consulting Ltd.
|
---|
[21693] | 8 | #
|
---|
| 9 | ###########################################################################
|
---|
| 10 |
|
---|
| 11 |
|
---|
[21699] | 12 | GSDL_DIR = $(GSDLHOME)
|
---|
| 13 |
|
---|
| 14 |
|
---|
[21693] | 15 | # Libraries compiled
|
---|
| 16 | LIBRARIES = gsdlprotocol.lib
|
---|
| 17 |
|
---|
| 18 | # Library: gsdlprotocol.lib
|
---|
| 19 | # Do NOT add the "recpt" directory here: the protocol should be independent of the receptionist!
|
---|
| 20 | LIBPROTOCOL_CPPFLAGS = \
|
---|
[21699] | 21 | -I"$(GSDL_DIR)\common-src\src\lib" \
|
---|
| 22 | -I"$(GSDL_DIR)\runtime-src\src\colservr"
|
---|
[21693] | 23 |
|
---|
| 24 | LIBPROTOCOL_OBJECTS = \
|
---|
| 25 | nullproto.obj \
|
---|
| 26 | recptproto.obj \
|
---|
| 27 | recptprototools.obj
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 | COMPILE = cl -nologo -c -EHsc -D__WIN32__ -DXML_STATIC -D_CRT_SECURE_NO_DEPRECATE $(LIBPROTOCOL_CPPFLAGS)
|
---|
| 31 | LINK = cl -nologo -Fe"$@"
|
---|
| 32 |
|
---|
| 33 | .SUFFIXES:
|
---|
| 34 | .SUFFIXES: .cpp .obj
|
---|
| 35 |
|
---|
| 36 | .cpp.obj:
|
---|
| 37 | $(COMPILE) $<
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | gsdlprotocol.lib: $(LIBPROTOCOL_OBJECTS)
|
---|
| 41 | if EXIST gsdlprotocol.lib del gsdlprotocol.lib
|
---|
| 42 | lib -nologo /out:gsdlprotocol.lib $(LIBPROTOCOL_OBJECTS)
|
---|
| 43 |
|
---|
| 44 | all: $(LIBRARIES)
|
---|
| 45 |
|
---|
| 46 | install: $(LIBRARIES)
|
---|
| 47 |
|
---|
| 48 | distclean:
|
---|
| 49 | del *.obj $(LIBRARIES) win32.mak
|
---|
| 50 |
|
---|
| 51 | clean:
|
---|
| 52 | del *.obj $(LIBRARIES)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.