s3:g_lock: remove a nested event loop, replacing the inner loop by select
[Samba/ekacnet.git] / examples / VFS / Makefile.in
blob8fe414a9e8c6e00bfb19ad67ec90d2e527160300
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)/../popt \
13 -I$(SAMBA_SOURCE)/../lib/replace \
14 -I$(SAMBA_SOURCE)/../lib/talloc \
15 -I$(SAMBA_SOURCE)/../lib/tevent \
16 -I$(SAMBA_SOURCE)/../lib/tdb/include \
17 -I$(SAMBA_SOURCE)/librpc \
18 -I$(SAMBA_SOURCE)/../librpc \
19 -I$(SAMBA_SOURCE)/../ \
20 -I$(SAMBA_SOURCE) -I.
23 prefix = @prefix@
24 libdir = @libdir@
26 VFS_LIBDIR = $(libdir)/vfs
28 # Auto target
29 default: $(patsubst %.c,%.$(SHLIBEXT),$(wildcard *.c))
31 # Pattern rules
33 %.$(SHLIBEXT): %.$(OBJEXT)
34 @echo "Linking $@"
35 @$(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $<
37 %.$(OBJEXT): %.c
38 @echo "Compiling $<"
39 @$(CC) $(FLAGS) -c $<
42 install: default
43 $(INSTALLCMD) -d $(VFS_LIBDIR)
44 $(INSTALLCMD) -m 755 *.$(SHLIBEXT) $(VFS_LIBDIR)
46 # Misc targets
47 clean:
48 rm -rf .libs
49 rm -f core *~ *% *.bak *.o *.$(SHLIBEXT)
51 distclean: clean
52 rm -f config.status config.cache Makefile