]> git.stg.codes - stg.git/blob - projects/stargazer/plugins/store/postgresql/Makefile
Use ::tolower from cctype in std::transform.
[stg.git] / projects / stargazer / plugins / store / postgresql / Makefile
1 ###############################################################################
2 # $Id: Makefile,v 1.4 2010/04/26 12:44:42 faust Exp $
3 ###############################################################################
4
5 include ../../../../../Makefile.conf
6
7 PROG = mod_store_postgresql.so
8
9 SRCS =  ./postgresql_store.cpp \
10         ./postgresql_store_admins.cpp \
11         ./postgresql_store_corporations.cpp \
12         ./postgresql_store_messages.cpp \
13         ./postgresql_store_services.cpp \
14         ./postgresql_store_tariffs.cpp \
15         ./postgresql_store_users.cpp \
16         ./postgresql_store_utils.cpp
17
18 STGLIBS = common \
19           crypto \
20           locker \
21           logger
22
23 PG_CFLAGS = $(shell pg_config --includedir)
24 PG_LDFLAGS = $(shell pg_config --libdir)
25
26 CXXFLAGS +=  -I $(PG_CFLAGS)
27 LDFLAGS += -L $(PG_LDFLAGS)
28
29 LIBS += -lpq
30
31 include ../../Makefile.in
32