source: branches/samba-3.5.x/source4/lib/ldb/rules.mk

Last change on this file was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 503 bytes
Line 
1etags:
2 etags `find $(srcdir) -name "*.[ch]"`
3
4ctags:
5 ctags `find $(srcdir) -name "*.[ch]"`
6
7.SUFFIXES: .1 .1.xml .3 .3.xml .xml .html .c .o
8
9.c.o:
10 @echo Compiling $*.c
11 @mkdir -p `dirname $@`
12 @$(CC) $(CFLAGS) $(PICFLAG) -c $< -o $@
13
14.c.po:
15 @echo Compiling $*.c
16 @mkdir -p `dirname $@`
17 @$(CC) -fPIC $(CFLAGS) -c $< -o $@
18
19showflags::
20 @echo 'ldb will be compiled with flags:'
21 @echo ' CFLAGS = $(CFLAGS)'
22 @echo ' SHLD_FLAGS = $(SHLD_FLAGS)'
23 @echo ' LIBS = $(LIBS)'
24
25distclean::
26 rm -f *~ */*~
Note: See TracBrowser for help on using the repository browser.