s4:dsdb - enhance "get_last_structural_class()" for optimisations
[Samba.git] / examples / VFS / Makefile.in
blobf9b81ebcd307c1342502a2407f9bdfd187887b85
1 CC = @CC@
2 CFLAGS = @CFLAGS@
3 CPPFLAGS = @CPPFLAGS@
4 LDFLAGS = @LDFLAGS@
5 LDSHFLAGS = @LDSHFLAGS@
6 INSTALLCMD = @INSTALL@
7 SAMBA_SOURCE = @SAMBA_SOURCE@
8 SHLIBEXT = @SHLIBEXT@
9 OBJEXT = @OBJEXT@
10 FLAGS = $(CFLAGS) $(CPPFLAGS) -fPIC \
11 -Iinclude -I$(SAMBA_SOURCE)/include \
12 -I$(SAMBA_SOURCE)/include/autoconf \
13 -I$(SAMBA_SOURCE)/../popt \
14 -I$(SAMBA_SOURCE)/../lib/replace \
15 -I$(SAMBA_SOURCE)/../lib/talloc \
16 -I$(SAMBA_SOURCE)/../lib/tevent \
17 -I$(SAMBA_SOURCE)/../lib/tdb/include \
18 -I$(SAMBA_SOURCE)/librpc \
19 -I$(SAMBA_SOURCE)/../librpc \
20 -I$(SAMBA_SOURCE)/../ \
21 -I$(SAMBA_SOURCE) -I.
24 prefix = @prefix@
25 libdir = @libdir@
27 VFS_LIBDIR = $(libdir)/vfs
29 all: skel_opaque.@SHLIBEXT@ shadow_copy_test.@SHLIBEXT@ \
30 skel_transparent.@SHLIBEXT@
32 skel_opaque.@SHLIBEXT@: skel_opaque.@OBJEXT@
33 @echo "Linking $@"
34 @$(CC) $(LDSHFLAGS) $(LDFLAGS) skel_opaque.@OBJEXT@ -o $@
36 shadow_copy_test.@SHLIBEXT@: shadow_copy_test.@OBJEXT@
37 @echo "Linking $@"
38 @$(CC) $(LDSHFLAGS) $(LDFLAGS) shadow_copy_test.@OBJEXT@ -o $@
40 skel_transparent.@SHLIBEXT@: skel_transparent.@OBJEXT@
41 @echo "Linking $@"
42 @$(CC) $(LDSHFLAGS) $(LDFLAGS) skel_transparent.@OBJEXT@ -o $@
44 # Pattern rules
46 .c.@OBJEXT@:
47 @echo "Compiling $<"
48 @$(CC) $(FLAGS) -c $< -D$*_init=samba_init_module
51 install: default
52 $(INSTALLCMD) -d $(VFS_LIBDIR)
53 $(INSTALLCMD) -m 755 *.$(SHLIBEXT) $(VFS_LIBDIR)
55 # Misc targets
56 clean:
57 rm -rf .libs
58 rm -f core *~ *% *.bak *.o *.$(SHLIBEXT)
60 distclean: clean
61 rm -f config.status config.cache Makefile