diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 15:16:31 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 15:16:31 +0200 |
commit | 7111645d3c46e55b2c180e3db0ba8a3c670a3c31 (patch) | |
tree | 2c68d65b55dc5829939fbd960742da6cd35de9db /tdb/rules.mk | |
parent | ec1c854f2175823bd1ad39c2e272d1b3fab80bf1 (diff) | |
download | samba-7111645d3c46e55b2c180e3db0ba8a3c670a3c31.tar.gz samba-7111645d3c46e55b2c180e3db0ba8a3c670a3c31.tar.bz2 samba-7111645d3c46e55b2c180e3db0ba8a3c670a3c31.zip |
Use single copy of tdb in both samba3 and samba4.
Diffstat (limited to 'tdb/rules.mk')
-rw-r--r-- | tdb/rules.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tdb/rules.mk b/tdb/rules.mk new file mode 100644 index 0000000000..7b765625df --- /dev/null +++ b/tdb/rules.mk @@ -0,0 +1,21 @@ +.SUFFIXES: .i _wrap.c + +.i_wrap.c: + $(SWIG) -O -Wall -python -keyword $< + +showflags:: + @echo 'tdb will be compiled with flags:' + @echo ' CFLAGS = $(CFLAGS)' + @echo ' CPPFLAGS = $(CPPFLAGS)' + @echo ' LDFLAGS = $(LDFLAGS)' + @echo ' LIBS = $(LIBS)' + +.SUFFIXES: .c .o + +.c.o: + @echo Compiling $*.c + @mkdir -p `dirname $@` + @$(CC) $(PICFLAG) $(CFLAGS) -c $< -o $@ + +distclean:: + rm -f *~ */*~ |