source: main/trunk/gs2-core/common-src/src/lib/Makefile.am

Last change on this file was 22824, checked in by mdewsnip, 14 years ago

Lots of makefile tidy ups (both Windows and Linux), for consistency and flexibility.

File size: 984 bytes
Line 
1###########################################################################
2#
3# Makefile -- Makefile for common-src/src/lib
4#
5# By Michael Dewsnip
6#
7# Copyright (C) 2010 DL Consulting Ltd.
8#
9###########################################################################
10
11
12COMMON_SRC_DIR = @top_srcdir@
13GSDL_DIR = $(COMMON_SRC_DIR)/..
14
15
16# Libraries compiled
17noinst_LIBRARIES = libgsdllib.a
18
19# Library: libgsdllib.a
20libgsdllib_a_CPPFLAGS = \
21 $(COMPAT32BITFLAGS)
22
23# Option: SQLite support
24if USE_SQLITE
25 libgsdllib_a_CPPFLAGS += -I$(GSDL_DIR)/common-src/packages/sqlite/include
26endif
27
28# Sources for libgsdllib.a
29libgsdllib_a_SOURCES = \
30 cfgread.cpp \
31 cnfgable.cpp \
32 cnfgator.cpp \
33 dbclass.cpp \
34 display.cpp \
35 fileutil.cpp \
36 gsdlsitecfg.cpp \
37 gsdltimes.cpp \
38 gsdltools.cpp \
39 gsdlunicode.cpp \
40 infodbclass.cpp \
41 OIDtools.cpp \
42 phrases.cpp \
43 sqldbclass.cpp \
44 text_t.cpp \
45 unitool.cpp
46
47# Option: SQLite support
48if USE_SQLITE
49 libgsdllib_a_SOURCES += sqlitedbclass.cpp
50endif
Note: See TracBrowser for help on using the repository browser.