source: main/trunk/gs2-core/runtime-src/src/recpt/win32.mak@ 22740

Last change on this file since 22740 was 22740, checked in by mdewsnip, 11 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: 2.6 KB
Line 
1###########################################################################
2#
3# win32.mak -- Windows Makefile for runtime-src\src\recpt
4#
5# By Michael Dewsnip
6#
7# Copyright (C) 2010 DL Consulting Ltd.
8#
9###########################################################################
10
11
12GSDL_DIR = $(GSDLHOME)
13
14
15# Programs compiled and their install directories
16CGIBIN_DIR = "$(GSDL_DIR)\cgi-bin"
17CGIBIN_PROGRAMS = library.cgi
18
19# Program: library.cgi
20LIBRARY_CGI_CPPFLAGS = \
21 -I"$(GSDL_DIR)\common-src\src\lib" \
22 -I"$(GSDL_DIR)\runtime-src\src\colservr" \
23 -I"$(GSDL_DIR)\runtime-src\src\protocol" \
24 -I"$(GSDL_DIR)\common-src\packages\windows\crypt\crypt"
25
26# Objects for library.cgi
27LIBRARY_CGI_OBJECTS = \
28 action.obj \
29 argdb.obj \
30 authenaction.obj \
31 browseaction.obj \
32 browseactiontools.obj \
33 browserclass.obj \
34 browsetoolsclass.obj \
35 cgiargs.obj \
36 cgiutils.obj \
37 cgiwrapper.obj \
38 collectoraction.obj \
39 configaction.obj \
40 converter.obj \
41 datelistbrowserclass.obj \
42 depositoraction.obj \
43 documentaction.obj \
44 dynamicclassifieraction.obj \
45 extlinkaction.obj \
46 formattools.obj \
47 gtiaction.obj \
48 highlighttext.obj \
49 historydb.obj \
50 hlistbrowserclass.obj \
51 htmlbrowserclass.obj \
52 htmlutils.obj \
53 invbrowserclass.obj \
54 librarymain.obj \
55 maincfg.obj \
56 pageaction.obj \
57 pagedbrowserclass.obj \
58 phindaction.obj \
59 phindbrowserclass.obj \
60 pingaction.obj \
61 queryaction.obj \
62 querytools.obj \
63 receptionist.obj \
64 statusaction.obj \
65 string_pool.obj \
66 summarise.obj \
67 tipaction.obj \
68 userdb.obj \
69 usersaction.obj \
70 vlistbrowserclass.obj \
71 wizardaction.obj
72
73LIBRARY_CGI_LDADD = \
74 "$(GSDL_DIR)\runtime-src\src\protocol\gsdlprotocol.lib" \
75 "$(GSDL_DIR)\runtime-src\src\colservr\gsdlcolservr.lib" \
76 "$(GSDL_DIR)\common-src\src\lib\gsdllib.lib" \
77 "$(GSDL_DIR)\common-src\packages\windows\crypt\crypt\crypt.lib"
78
79
80# Option: Lucene support
81!IF $(ENABLE_LUCENE)
82LIBRARY_CGI_LDADD = $(LIBRARY_CGI_LDADD) "$(GSDL_DIR)\common-src\packages\windows\expat\expat\libexpat.lib"
83!ENDIF
84
85# Option: SQLite support
86!IF $(USE_SQLITE)
87LIBRARY_CGI_LDADD = $(LIBRARY_CGI_LDADD) "$(GSDL_DIR)\common-src\packages\sqlite\lib\sqlite3.lib"
88!ENDIF
89
90
91COMPILE = cl -nologo -c -EHsc -D__WIN32__ -DXML_STATIC -D_CRT_SECURE_NO_DEPRECATE $(LIBRARY_CGI_CPPFLAGS)
92LINK = cl -nologo -Fe"$@"
93
94.SUFFIXES:
95.SUFFIXES: .cpp .obj
96
97.cpp.obj:
98 $(COMPILE) $<
99
100
101library.cgi: $(LIBRARY_CGI_OBJECTS) $(LIBRARY_CGI_LDADD)
102 $(LINK) $(LIBRARY_CGI_OBJECTS) $(LIBRARY_CGI_LDADD)
103
104all: $(CGIBIN_PROGRAMS)
105
106install: $(CGIBIN_PROGRAMS)
107 copy $(CGIBIN_PROGRAMS) $(CGIBIN_DIR)
108
109distclean:
110 del *.obj $(CGIBIN_PROGRAMS) win32.mak
111
112clean:
113 del *.obj $(CGIBIN_PROGRAMS)
Note: See TracBrowser for help on using the repository browser.