source: branches/samba-3.3.x/source/lib/tdb/rules.mk

Last change on this file was 206, checked in by Herwig Bauernfeind, 16 years ago

Import Samba 3.3 branch at 3.0.0 level (psmedley's port)

File size: 390 bytes
Line 
1.SUFFIXES: .i _wrap.c
2
3.i_wrap.c:
4 $(SWIG) -O -Wall -python -keyword $<
5
6showflags::
7 @echo 'tdb will be compiled with flags:'
8 @echo ' CFLAGS = $(CFLAGS)'
9 @echo ' CPPFLAGS = $(CPPFLAGS)'
10 @echo ' LDFLAGS = $(LDFLAGS)'
11 @echo ' LIBS = $(LIBS)'
12
13.SUFFIXES: .c .o
14
15.c.o:
16 @echo Compiling $*.c
17 @mkdir -p `dirname $@`
18 @$(CC) $(PICFLAG) $(CFLAGS) -c $< -o $@
19
20distclean::
21 rm -f *~ */*~
Note: See TracBrowser for help on using the repository browser.