summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-29 17:08:13 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-29 17:08:13 +0000
commitafc5c6b2a1743a342f620e364b7ef89239cb05aa (patch)
tree4d281b57dd6f05e3ec198f3863b9832216421602 /examples
parent408fb927c8366cc8db323fe80a0f07e0340a858f (diff)
downloadsamba-afc5c6b2a1743a342f620e364b7ef89239cb05aa.tar.gz
samba-afc5c6b2a1743a342f620e364b7ef89239cb05aa.tar.bz2
samba-afc5c6b2a1743a342f620e364b7ef89239cb05aa.zip
Adding makefile for sam_skel module
(This used to be commit b91fd5a77c493d0c90b45de6a70fb84bbef3f9f1)
Diffstat (limited to 'examples')
-rw-r--r--examples/sam/Makefile.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/sam/Makefile.in b/examples/sam/Makefile.in
new file mode 100644
index 0000000000..d5df346a8c
--- /dev/null
+++ b/examples/sam/Makefile.in
@@ -0,0 +1,28 @@
+CC = @CC@
+CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
+LDSHFLAGS = -shared
+srcdir = @builddir@
+FLAGS = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper -I. $(CPPFLAGS) -I$(srcdir)
+
+SAM_OBJS = sam_skel.so
+
+# Default target
+
+default: $(SAM_OBJS)
+
+# Pattern rules
+
+%.so: %.o
+ $(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $<
+
+%.o: %.c
+ $(CC) $(FLAGS) -c $<
+
+# Misc targets
+
+clean:
+ rm -rf .libs
+ rm -f core *~ *% *.bak \
+ $(SAM_OBJ) $(SAM_OBJS)