summaryrefslogtreecommitdiffstats
path: root/debian/htdig/htdig-3.2.0b6/libhtdigphp/libs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'debian/htdig/htdig-3.2.0b6/libhtdigphp/libs.mk')
-rw-r--r--debian/htdig/htdig-3.2.0b6/libhtdigphp/libs.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/htdig/htdig-3.2.0b6/libhtdigphp/libs.mk b/debian/htdig/htdig-3.2.0b6/libhtdigphp/libs.mk
new file mode 100644
index 00000000..9ff61829
--- /dev/null
+++ b/debian/htdig/htdig-3.2.0b6/libhtdigphp/libs.mk
@@ -0,0 +1,8 @@
+include $(top_builddir)/config_vars.mk
+LTLIBRARY_OBJECTS = $(LTLIBRARY_SOURCES:.c=.lo) $(LTLIBRARY_OBJECTS_X)
+LTLIBRARY_SHARED_OBJECTS = $(LTLIBRARY_OBJECTS:.lo=.slo)
+$(LTLIBRARY_SHARED_NAME): $(LTLIBRARY_SHARED_OBJECTS) $(LTLIBRARY_DEPENDENCIES)
+ $(SHARED_LIBTOOL) --mode=link $(COMPILE) $(LDFLAGS) -o $@ -avoid-version -module -rpath $(phplibdir) $(LTLIBRARY_LDFLAGS) $(LTLIBRARY_OBJECTS) $(LTLIBRARY_SHARED_LIBADD)
+ $(SHARED_LIBTOOL) --mode=install cp $@ $(phplibdir)
+
+targets = $(LTLIBRARY_SHARED_NAME)