summaryrefslogtreecommitdiff
path: root/examples/VFS/Makefile
blob: 2281884411d14e18a365d1772d30749df27f2cfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Generated automatically from Makefile.in by configure.
CC		= gcc
CFLAGS		= -O  -I/usr/kerberos/include
CPPFLAGS	= -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -I/usr/kerberos/include
LDFLAGS		=  -L/usr/kerberos/lib
LDSHFLAGS	= -shared
srcdir		= /opt/src/samba-cvs/samba-3.0/samba/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