summaryrefslogtreecommitdiff
path: root/examples/pdb/xml/Makefile.in
diff options
context:
space:
mode:
authorcvs2svn Import User <samba-bugs@samba.org>2002-08-17 07:09:23 +0000
committercvs2svn Import User <samba-bugs@samba.org>2002-08-17 07:09:23 +0000
commit592dd249579511f7ce863a42030d9a51ca026c27 (patch)
tree805985e633b375fd0a88a564a35c38410093a1dd /examples/pdb/xml/Makefile.in
parent08663f11ed5bc05ff352bda74774d5e7045da1e5 (diff)
parent8690b271a6a4feb112e0a6c03fe99ee25f86430b (diff)
downloadsamba-592dd249579511f7ce863a42030d9a51ca026c27.tar.gz
samba-592dd249579511f7ce863a42030d9a51ca026c27.tar.bz2
samba-592dd249579511f7ce863a42030d9a51ca026c27.zip
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 6938b5b98abd9ba055a46583a05c4fc07e32f529)
Diffstat (limited to 'examples/pdb/xml/Makefile.in')
-rw-r--r--examples/pdb/xml/Makefile.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/examples/pdb/xml/Makefile.in b/examples/pdb/xml/Makefile.in
new file mode 100644
index 0000000000..87d4546972
--- /dev/null
+++ b/examples/pdb/xml/Makefile.in
@@ -0,0 +1,33 @@
+PDB_OBJS = pdb_xml.so
+PDB_CFLAGS = `xml2-config --cflags`
+PDB_LDFLAGS = `xml2-config --libs`
+
+include $(MAKEFILE)
+
+CC = @CC@
+LIBTOOL = libtool
+CFLAGS = @CFLAGS@ $(PDB_CFLAGS)
+CPPFLAGS = @CPPFLAGS@ $(PDB_CPPFLAGS)
+LDFLAGS = @LDFLAGS@ $(PDB_LDFLAGS)
+LDSHFLAGS = -shared
+srcdir = @builddir@
+FLAGS = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper -I. $(CPPFLAGS) -I$(srcdir)
+
+# Default target
+
+default: $(PDB_OBJS)
+
+# Pattern rules
+
+%.so: %.lo
+ $(LIBTOOL) $(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $<
+
+%.lo: %.c
+ $(LIBTOOL) $(CC) $(FLAGS) -c $<
+
+# Misc targets
+
+clean:
+ rm -rf .libs
+ rm -f core *~ *% *.bak \
+ $(PDB_OBJS) $(PDB_OBJS:.so=.o) $(PDB_OBJS:.so=.lo)