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

Last change on this file since 22746 was 22746, checked in by mdewsnip, 11 years ago

Removed phindaction.cpp and phindaction.h from gs2-core, as this is copyrighted Gordon Paynter and only works if MGPP is enabled anyway.

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 phindbrowserclass.obj \
59 pingaction.obj \
60 queryaction.obj \
61 querytools.obj \
62 receptionist.obj \
63 statusaction.obj \
64 string_pool.obj \
65 summarise.obj \
66 tipaction.obj \
67 userdb.obj \
68 usersaction.obj \
69 vlistbrowserclass.obj \
70 wizardaction.obj
71
72LIBRARY_CGI_LDADD = \
73 "$(GSDL_DIR)\runtime-src\src\protocol\gsdlprotocol.lib" \
74 "$(GSDL_DIR)\runtime-src\src\colservr\gsdlcolservr.lib" \
75 "$(GSDL_DIR)\common-src\src\lib\gsdllib.lib" \
76 "$(GSDL_DIR)\common-src\packages\windows\crypt\crypt\crypt.lib"
77
78
79# Option: Lucene support
80!IF $(ENABLE_LUCENE)
81LIBRARY_CGI_LDADD = $(LIBRARY_CGI_LDADD) "$(GSDL_DIR)\common-src\packages\windows\expat\expat\libexpat.lib"
82!ENDIF
83
84# Option: SQLite support
85!IF $(USE_SQLITE)
86LIBRARY_CGI_LDADD = $(LIBRARY_CGI_LDADD) "$(GSDL_DIR)\common-src\packages\sqlite\lib\sqlite3.lib"
87!ENDIF
88
89
90COMPILE = cl -nologo -c -EHsc -D__WIN32__ -DXML_STATIC -D_CRT_SECURE_NO_DEPRECATE $(LIBRARY_CGI_CPPFLAGS)
91LINK = cl -nologo -Fe"$@"
92
93.SUFFIXES:
94.SUFFIXES: .cpp .obj
95
96.cpp.obj:
97 $(COMPILE) $<
98
99
100library.cgi: $(LIBRARY_CGI_OBJECTS) $(LIBRARY_CGI_LDADD)
101 $(LINK) $(LIBRARY_CGI_OBJECTS) $(LIBRARY_CGI_LDADD)
102
103all: $(CGIBIN_PROGRAMS)
104
105install: $(CGIBIN_PROGRAMS)
106 copy $(CGIBIN_PROGRAMS) $(CGIBIN_DIR)
107
108distclean:
109 del *.obj $(CGIBIN_PROGRAMS) win32.mak
110
111clean:
112 del *.obj $(CGIBIN_PROGRAMS)
Note: See TracBrowser for help on using the repository browser.