]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/Makefile
Ticket 37. IBPP::Timestamp policyTimeout variable added, time_t2ts()
[stg.git] / projects / stargazer / plugins / store / postgresql / Makefile
index fa6ebf0d38a1d89990223ffaa04f2bb3d25f7363..b59fbbfa0466fc8f731c027d881badec87d4ce87 100644 (file)
@@ -15,13 +15,12 @@ SRCS =      ./postgresql_store.cpp \
        ./postgresql_store_users.cpp \
        ./postgresql_store_utils.cpp
 
        ./postgresql_store_users.cpp \
        ./postgresql_store_utils.cpp
 
-STGLIBS = -lstgcommon -lstgcrypto
+STGLIBS = common \
+         crypto \
+         logger
 
 
-PG_CFLAGS = $(shell pg_config --includedir)
-PG_LDFLAGS = $(shell pg_config --libdir)
-
-CXXFLAGS +=  -I $(PG_CFLAGS)
-LDFLAGS += -L $(PG_LDFLAGS)
+CXXFLAGS +=  $(PG_CFLAGS)
+LDFLAGS += $(PG_LDFLAGS)
 
 LIBS += -lpq
 
 
 LIBS += -lpq