X-Git-Url: http://git.onelab.eu/?p=distributedratelimiting.git;a=blobdiff_plain;f=pgsql%2FMakefile.in;fp=pgsql%2FMakefile.in;h=a242e0da71089fca1ccc636853d272c22cca4568;hp=0000000000000000000000000000000000000000;hb=0be9704d6b24d09ebd55beedec52758cb88c570b;hpb=6747e89080a8265aa73320bd9f40a0fa6e1c161e diff --git a/pgsql/Makefile.in b/pgsql/Makefile.in new file mode 100644 index 0000000..a242e0d --- /dev/null +++ b/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)