1 ###############################################################################
 
   2 # $Id: Makefile,v 1.4 2010/04/26 12:44:42 faust Exp $
 
   3 ###############################################################################
 
   5 include ../../../../../Makefile.conf
 
   7 PROG = mod_store_postgresql.so
 
   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
 
  18 STGLIBS = -lstg_common -lstg_crypto
 
  20 PG_CFLAGS = $(shell pg_config --includedir)
 
  21 PG_LDFLAGS = $(shell pg_config --libdir)
 
  23 CXXFLAGS +=  -I $(PG_CFLAGS)
 
  24 LDFLAGS += -L $(PG_LDFLAGS)
 
  28 include ../../Makefile.in