diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-08-29 17:08:13 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-08-29 17:08:13 +0000 |
commit | afc5c6b2a1743a342f620e364b7ef89239cb05aa (patch) | |
tree | 4d281b57dd6f05e3ec198f3863b9832216421602 /examples/sam | |
parent | 408fb927c8366cc8db323fe80a0f07e0340a858f (diff) | |
download | samba-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/sam')
-rw-r--r-- | examples/sam/Makefile.in | 28 |
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) |