summaryrefslogtreecommitdiff
path: root/examples/pdb/xml/Makefile.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-10 20:14:32 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-10 20:14:32 +0000
commit3fce46ac7d790fbe9fcdd2426277857612bb252a (patch)
treefa58e8c28b6a20bfd97ed710ed18a51de0c1ea3b /examples/pdb/xml/Makefile.in
parent6633633f7dc41a2b0abae2ce913f5c9c69d15d15 (diff)
downloadsamba-3fce46ac7d790fbe9fcdd2426277857612bb252a.tar.gz
samba-3fce46ac7d790fbe9fcdd2426277857612bb252a.tar.bz2
samba-3fce46ac7d790fbe9fcdd2426277857612bb252a.zip
Adding pdb_xml and pdb_mysql passdb modules.
Added some consts to pdb_test to follow pdb_methods struct more strictly (This used to be commit bb1c4501992650a5e26b4bc743aeae551852becc)
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)