1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00
samba-mirror/examples/VFS/Makefile.in
Simo Sorce 27cc26cec8 recycle.c:
merged in modifications made my differnt people, cleaned up things, yet some work todo
the code works but there are still some cases to be handled properly

Makefile.in:
this one seem much simpler and effective than the previous hack with file inclusion
it should also be more portable
we still need to find a solution to support multiple platforms or go back to libtool
(This used to be commit e9f4bc77f84eeece82dea25f9c693cfb1d0a8464)
2002-09-07 04:05:42 +00:00

25 lines
466 B
Makefile

CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LDSHFLAGS = -shared
srcdir = @builddir@
FLAGS = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper -I. $(CPPFLAGS) -I$(srcdir)
# Auto target
default: $(patsubst %.c,%.so,$(wildcard *.c))
# Pattern rules
%.so: %.o
$(CC) $(LDSHFLAGS) $(LDFLAGS) -o $@ $<
%.o: %.c
$(CC) $(FLAGS) -c $<
# Misc targets
clean:
rm -rf .libs
rm -f core *~ *% *.bak *.o *.so