diff options
author | laforge <laforge> | 2004-07-23 02:31:40 +0000 |
---|---|---|
committer | laforge <laforge> | 2004-07-23 02:31:40 +0000 |
commit | 8b5ffaf13de624a480c430f9340b4f0a6fb9da26 (patch) | |
tree | 4e9f2ed25567cd80211d9d2a3cd4e304eb2dd44d /output/pgsql/Makefile.in | |
parent | 478eca4243d11329e1943323d6b1eab96d2d3df2 (diff) |
start to reorganize tree for new architecture
Diffstat (limited to 'output/pgsql/Makefile.in')
-rw-r--r-- | output/pgsql/Makefile.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/output/pgsql/Makefile.in b/output/pgsql/Makefile.in new file mode 100644 index 0000000..a242e0d --- /dev/null +++ b/output/pgsql/Makefile.in @@ -0,0 +1,30 @@ +# + +# Normally You should not need to change anything below +# +include @top_srcdir@/Rules.make + +CFLAGS+=-I@top_srcdir@ -I@top_srcdir@/libipulog/include -I@top_srcdir@/include +SH_CFLAGS:=$(CFLAGS) -fPIC + +SHARED_LIBS=ulogd_PGSQL.so + +all: $(SHARED_LIBS) + +distrib: + +$(SHARED_LIBS): %.so: %_sh.o + $(LD) -shared $(PGSQL_LDFLAGS) -o $@ $< -lc + +%_sh.o: %.c + $(CC) $(PGSQL_CFLAGS) $(SH_CFLAGS) -o $@ -c $< + +clean: + $(RM) $(SHARED_LIBS) *.o + +distclean: + $(RM) Makefile + +install: all + $(INSTALL) -m 755 -d $(DESTDIR)$(ULOGD_LIB_PATH) + $(INSTALL) -m 755 *.so $(DESTDIR)$(ULOGD_LIB_PATH) |