mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
25a9681ddd
* removed unused variable from rpcclient code * added container option to net command (patch from SuSE) * Makefile patch for examples/VFS from SuSE
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
|