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.7 KB
|
Rev | Line | |
---|
[21692] | 1 | ###########################################################################
|
---|
| 2 | #
|
---|
| 3 | # win32.mak -- Windows Makefile for runtime-src\src\colservr
|
---|
| 4 | #
|
---|
[22740] | 5 | # By Michael Dewsnip
|
---|
[21692] | 6 | #
|
---|
[22740] | 7 | # Copyright (C) 2010 DL Consulting Ltd.
|
---|
[21692] | 8 | #
|
---|
| 9 | ###########################################################################
|
---|
| 10 |
|
---|
| 11 |
|
---|
[21699] | 12 | GSDL_DIR = $(GSDLHOME)
|
---|
| 13 |
|
---|
| 14 |
|
---|
[21692] | 15 | # Libraries compiled
|
---|
| 16 | LIBRARIES = gsdlcolservr.lib
|
---|
| 17 |
|
---|
| 18 | # Library: gsdlcolservr.lib
|
---|
| 19 | # Do NOT add the "recpt" directory here: the colserver should be independent of the receptionist!
|
---|
| 20 | LIBCOLSERVR_CPPFLAGS = \
|
---|
[21699] | 21 | -I"$(GSDL_DIR)\common-src\src\lib"
|
---|
[21692] | 22 |
|
---|
| 23 | LIBCOLSERVR_OBJECTS = \
|
---|
| 24 | browsefilter.obj \
|
---|
| 25 | collectserver.obj \
|
---|
| 26 | collectset.obj \
|
---|
| 27 | colservrconfig.obj \
|
---|
| 28 | comtypes.obj \
|
---|
| 29 | filter.obj \
|
---|
| 30 | lucenequeryfilter.obj \
|
---|
| 31 | lucenesearch.obj \
|
---|
| 32 | lucenesource.obj \
|
---|
| 33 | maptools.obj \
|
---|
| 34 | phrasesearch.obj \
|
---|
| 35 | querycache.obj \
|
---|
| 36 | queryfilter.obj \
|
---|
| 37 | queryinfo.obj \
|
---|
| 38 | search.obj \
|
---|
| 39 | source.obj \
|
---|
| 40 | sqlbrowsefilter.obj
|
---|
| 41 |
|
---|
| 42 |
|
---|
| 43 | # Option: Lucene support
|
---|
| 44 | !IF $(ENABLE_LUCENE)
|
---|
[21699] | 45 | LIBCOLSERVR_CPPFLAGS = -DENABLE_LUCENE $(LIBCOLSERVR_CPPFLAGS) -I"$(GSDL_DIR)\common-src\packages\windows\expat\expat"
|
---|
[21702] | 46 | LIBCOLSERVR_OBJECTS = $(LIBCOLSERVR_OBJECTS) expat_document.obj expat_resultset.obj
|
---|
[21692] | 47 | !ENDIF
|
---|
| 48 |
|
---|
| 49 | # Option: SQLite support
|
---|
| 50 | !IF $(USE_SQLITE)
|
---|
[21699] | 51 | LIBCOLSERVR_CPPFLAGS = -DUSE_SQLITE $(LIBCOLSERVR_CPPFLAGS) -I"$(GSDL_DIR)\common-src\packages\sqlite\include"
|
---|
[21692] | 52 | !ENDIF
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 | COMPILE = cl -nologo -c -EHsc -D__WIN32__ -DXML_STATIC -D_CRT_SECURE_NO_DEPRECATE $(LIBCOLSERVR_CPPFLAGS)
|
---|
[21699] | 56 | LINK = cl -nologo -Fe"$@"
|
---|
[21692] | 57 |
|
---|
| 58 | .SUFFIXES:
|
---|
| 59 | .SUFFIXES: .cpp .obj
|
---|
| 60 |
|
---|
| 61 | .cpp.obj:
|
---|
| 62 | $(COMPILE) $<
|
---|
| 63 |
|
---|
| 64 |
|
---|
[21699] | 65 | gsdlcolservr.lib: $(LIBCOLSERVR_OBJECTS)
|
---|
[21692] | 66 | if EXIST gsdlcolservr.lib del gsdlcolservr.lib
|
---|
| 67 | lib -nologo /out:gsdlcolservr.lib $(LIBCOLSERVR_OBJECTS)
|
---|
| 68 |
|
---|
| 69 | all: $(LIBRARIES)
|
---|
| 70 |
|
---|
| 71 | install: $(LIBRARIES)
|
---|
| 72 |
|
---|
| 73 | distclean:
|
---|
| 74 | del *.obj $(LIBRARIES) win32.mak
|
---|
| 75 |
|
---|
| 76 | clean:
|
---|
| 77 | del *.obj $(LIBRARIES)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.