]> git.stg.codes - stg.git/blobdiff - stargazer/plugins/store/postgresql/Makefile
Port to CMake, get rid of os_int.h.
[stg.git] / stargazer / plugins / store / postgresql / Makefile
diff --git a/stargazer/plugins/store/postgresql/Makefile b/stargazer/plugins/store/postgresql/Makefile
new file mode 100644 (file)
index 0000000..b59fbbf
--- /dev/null
@@ -0,0 +1,28 @@
+###############################################################################
+# $Id: Makefile,v 1.4 2010/04/26 12:44:42 faust Exp $
+###############################################################################
+
+include ../../../../../Makefile.conf
+
+PROG = mod_store_postgresql.so
+
+SRCS = ./postgresql_store.cpp \
+       ./postgresql_store_admins.cpp \
+       ./postgresql_store_corporations.cpp \
+       ./postgresql_store_messages.cpp \
+       ./postgresql_store_services.cpp \
+       ./postgresql_store_tariffs.cpp \
+       ./postgresql_store_users.cpp \
+       ./postgresql_store_utils.cpp
+
+STGLIBS = common \
+         crypto \
+         logger
+
+CXXFLAGS +=  $(PG_CFLAGS)
+LDFLAGS += $(PG_LDFLAGS)
+
+LIBS += -lpq
+
+include ../../Makefile.in
+