Make us pass Samba4 lock tester (with one different error message).
[Samba/gebeck_regimport.git] / examples / VFS / Makefile.in
blobc368974bd5e616dbd6c7d5677cbd5efac404b576
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) -Iinclude -I$(SAMBA_SOURCE)/include -I$(SAMBA_SOURCE)/ubiqx -I$(SAMBA_SOURCE)/smbwrapper -I. $(CPPFLAGS) -I$(SAMBA_SOURCE)
13 prefix = @prefix@
14 libdir = @libdir@
16 VFS_LIBDIR = $(libdir)/vfs
18 # Auto target
19 default: $(patsubst %.c,%.$(SHLIBEXT),$(wildcard *.c))
21 # Pattern rules
23 %.$(SHLIBEXT): %.$(OBJEXT)
24 @echo "Linking $@"
25 @$(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $<
27 %.$(OBJEXT): %.c
28 @echo "Compiling $<"
29 @$(CC) $(FLAGS) -c $<
32 install: default
33 $(INSTALLCMD) -d $(VFS_LIBDIR)
34 $(INSTALLCMD) -m 755 *.$(SHLIBEXT) $(VFS_LIBDIR)
36 # Misc targets
37 clean:
38 rm -rf .libs
39 rm -f core *~ *% *.bak *.o *.$(SHLIBEXT)
41 distclean: clean
42 rm config.* Makefile