diff options
author | Gerald Carter <jerry@samba.org> | 2002-09-25 15:05:17 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-09-25 15:05:17 +0000 |
commit | ec0b8aa70454cab4a918ab09e8ed52d60b4b3256 (patch) | |
tree | 45bfb5176738f3888ff69d3ef8e07500cd07b34d /examples/VFS/Makefile | |
parent | 3054ef8a6ec8a67937cc1bfc492722fd6eccc325 (diff) | |
download | samba-ec0b8aa70454cab4a918ab09e8ed52d60b4b3256.tar.gz samba-ec0b8aa70454cab4a918ab09e8ed52d60b4b3256.tar.bz2 samba-ec0b8aa70454cab4a918ab09e8ed52d60b4b3256.zip |
sync'ing up for 3.0alpha20 release
(This used to be commit 803715d96016767c55202362b17096fc80786c59)
Diffstat (limited to 'examples/VFS/Makefile')
-rw-r--r-- | examples/VFS/Makefile | 44 |
1 files changed, 16 insertions, 28 deletions
diff --git a/examples/VFS/Makefile b/examples/VFS/Makefile index f93cd0cb2d..2281884411 100644 --- a/examples/VFS/Makefile +++ b/examples/VFS/Makefile @@ -1,37 +1,25 @@ -# -# Makefile for samba-vfs examples -# -# - -# Variables - -CC = gcc -LIBTOOL = libtool - -SAMBA_SRC = ../../source -SAMBA_INCL = ../../source/include -POPT_INCL = ../../source/popt -UBIQX_SRC = ../../source/ubiqx -SMBWR_SRC = ../../source/smbwrapper -KRB5_SRC = /usr/kerberos/include -CFLAGS = -I$(SAMBA_SRC) -I$(SAMBA_INCL) -I$(POPT_INCL) -I$(UBIQX_SRC) -I$(SMBWR_SRC) -I$(KRB5_SRC) -Wall -g -VFS_OBJS = audit.so skel.so recycle.so - -# Default target - -default: $(VFS_OBJS) +# Generated automatically from Makefile.in by configure. +CC = gcc +CFLAGS = -O -I/usr/kerberos/include +CPPFLAGS = -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/kerberos/include +LDFLAGS = -L/usr/kerberos/lib +LDSHFLAGS = -shared +srcdir = /opt/src/samba-cvs/samba-3.0/samba/source +FLAGS = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper -I. $(CPPFLAGS) -I$(srcdir) + +# Auto target +default: $(patsubst %.c,%.so,$(wildcard *.c)) # Pattern rules -%.so: %.lo - $(LIBTOOL) $(CC) -shared -o $@ $< $(LDFLAGS) +%.so: %.o + $(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $< -%.lo: %.c - $(LIBTOOL) $(CC) $(CPPFLAGS) $(CFLAGS) -c $< +%.o: %.c + $(CC) $(FLAGS) -c $< # Misc targets clean: rm -rf .libs - rm -f core *~ *% *.bak \ - $(VFS_OBJS) $(VFS_OBJS:.so=.o) $(VFS_OBJS:.so=.lo) + rm -f core *~ *% *.bak *.o *.so |