passdb-machine_account_secrets: Remove #if SAMBA_BUILD_ == 4 now we only have the...
[obnox/samba/samba-obnox.git] / examples / VFS / Makefile.in
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)/autoconf \
14                 -I$(SAMBA_SOURCE)/../popt  \
15                 -I$(SAMBA_SOURCE)/../lib/replace  \
16                 -I$(SAMBA_SOURCE)/../lib/talloc  \
17                 -I$(SAMBA_SOURCE)/../lib/tevent  \
18                 -I$(SAMBA_SOURCE)/../lib/tdb/include  \
19                 -I$(SAMBA_SOURCE)/librpc \
20                 -I$(SAMBA_SOURCE)/../librpc \
21                 -I$(SAMBA_SOURCE)/../ \
22                 -I$(SAMBA_SOURCE) -I.
23
24
25 prefix          = @prefix@
26 libdir          = @libdir@
27
28 VFS_LIBDIR      = $(libdir)/vfs
29
30 # Note, if make fails, it might be because your version of make does not
31 # support what we need. Try installing GNU make and rerun make.
32 #
33 # Note also, that if your module requires more than one object file to be
34 # linked in you will have to modify Makefile.in to accommodate your needs and
35 # then rerun configure before you can build.
36
37 # Change these targets to the names of your modules if building out of tree
38 MODULES         = skel_opaque.@SHLIBEXT@ shadow_copy_test.@SHLIBEXT@ \
39                 skel_transparent.@SHLIBEXT@
40
41 all: $(MODULES)
42
43 # Pattern rules
44
45 .SUFFIXES: .@SHLIBEXT@
46
47 # You might need to create an explicit rule for your shared object if your
48 # shared object is built from multiple .c files.
49
50 .c.@SHLIBEXT@:
51         @echo "Compiling $<"
52         @$(CC) $(FLAGS) -c $< -D$*_init=samba_init_module
53         @echo "Linking $@"
54         @$(CC) $(LDSHFLAGS) $(LDFLAGS) $*.@OBJEXT@ -o $*.@SHLIBEXT@
55
56 # You might need to uncomment this if you have other .c files to compile
57 #.c.@OBJEXT@:
58 #       @echo "Compiling $<"
59 #       @$(CC) $(FLAGS) -c $< -D$*_init=samba_init_module
60
61 install: default
62         $(INSTALLCMD) -d $(VFS_LIBDIR)
63         $(INSTALLCMD) -m 755 *.$(SHLIBEXT) $(VFS_LIBDIR)
64
65 # Misc targets
66 clean:
67         rm -rf .libs
68         rm -f core *~ *% *.bak *.o *.$(SHLIBEXT)
69
70 distclean: clean
71         rm -f config.status config.cache Makefile
72