root/main/trunk/gs2-core/common-src/src/lib/win32.mak @ 22756

Revision 22756, 1.3 KB (checked in by mdewsnip, 10 years ago)

Added sqldbclass to common-src/src/lib/win32.mak.

Line 
1###########################################################################
2#
3# win32.mak -- Windows Makefile for common-src\src\lib
4#
5# By Michael Dewsnip
6#
7# Copyright (C) 2010  DL Consulting Ltd.
8#
9###########################################################################
10
11
12GSDL_DIR = $(GSDLHOME)
13
14
15# Libraries compiled
16LIBRARIES = gsdllib.lib
17
18# Library: gsdllib.lib
19LIBGSDL_CPPFLAGS =
20
21# Objects for gsdllib.lib
22LIBGSDL_OBJECTS = \
23    cfgread.obj \
24    cnfgable.obj \
25    cnfgator.obj \
26    dbclass.obj \
27    display.obj \
28    fileutil.obj \
29    gsdlsitecfg.obj \
30    gsdltimes.obj \
31    gsdltools.obj \
32    gsdlunicode.obj \
33    infodbclass.obj \
34    md5.obj \
35    OIDtools.obj \
36    phrases.obj \
37    sqldbclass.obj \
38    text_t.obj \
39    unitool.obj
40
41
42# Option: SQLite support
43!IF $(USE_SQLITE)
44LIBGSDL_CPPFLAGS = -DUSE_SQLITE $(LIBGSDL_CPPFLAGS) -I"$(GSDL_DIR)\common-src\packages\sqlite\include"
45LIBGSDL_OBJECTS = $(LIBGSDL_OBJECTS) sqlitedbclass.obj
46!ENDIF
47
48
49COMPILE = cl -nologo -c -EHsc -D__WIN32__ -DXML_STATIC -D_CRT_SECURE_NO_DEPRECATE $(LIBGSDL_CPPFLAGS)
50LINK = cl -nologo -Fe"$@"
51
52.SUFFIXES:
53.SUFFIXES: .cpp .obj
54
55.cpp.obj:
56    $(COMPILE) $<
57
58
59gsdllib.lib: $(LIBGSDL_OBJECTS)
60    if EXIST gsdllib.lib del gsdllib.lib
61    lib -nologo /out:gsdllib.lib $(LIBGSDL_OBJECTS)
62
63all: $(LIBRARIES)
64
65install: $(LIBRARIES)
66
67distclean:
68    del *.obj $(LIBRARIES) win32.mak
69
70clean:
71    del *.obj $(LIBRARIES)
Note: See TracBrowser for help on using the browser.