Prepare to remove smb_panic() from unix_strlower().
[Samba/gebeck_regimport.git] / examples / VFS / Makefile.in
blobba419231925dfd1fceef91c960eb5bd8e6dd1ed3
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.
25 prefix = @prefix@
26 libdir = @libdir@
28 VFS_LIBDIR = $(libdir)/vfs
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.
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.
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@
41 all: $(MODULES)
43 # Pattern rules
45 .SUFFIXES: .@SHLIBEXT@
47 # You might need to create an explicit rule for your shared object if your
48 # shared object is built from multiple .c files.
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@
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
61 install: default
62 $(INSTALLCMD) -d $(VFS_LIBDIR)
63 $(INSTALLCMD) -m 755 *.$(SHLIBEXT) $(VFS_LIBDIR)
65 # Misc targets
66 clean:
67 rm -rf .libs
68 rm -f core *~ *% *.bak *.o *.$(SHLIBEXT)
70 distclean: clean
71 rm -f config.status config.cache Makefile