mirror of
https://github.com/samba-team/samba.git
synced 2025-02-14 01:57:53 +03:00
* added container option to net command (patch from SuSE) * Makefile patch for examples/VFS from SuSE (This used to be commit 4a6d8280ea27ca7a6998219aacc4b15b1227a659)
25 lines
469 B
Makefile
25 lines
469 B
Makefile
CC = @CC@
|
|
CFLAGS = @CFLAGS@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LDSHFLAGS = -shared
|
|
srcdir = ../../source/
|
|
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
|