1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00
Stefan Metzmacher 7d336254ce ldb: not every shell supports '==' so use '='
metze
(This used to be commit b5eeaf9b27e0116e57825b664642d2b5cfd895f0)
2008-03-18 16:53:21 +01:00

31 lines
562 B
Makefile

etags:
etags `find $(srcdir) -name "*.[ch]"`
ctags:
ctags `find $(srcdir) -name "*.[ch]"`
.SUFFIXES: _wrap.c .i
.i_wrap.c:
[ "$(SWIG)" = "no" ] || $(SWIG) -O -Wall -python -keyword $<
.SUFFIXES: .1 .1.xml .3 .3.xml .xml .html .c .o
.c.o:
@echo Compiling $*.c
@mkdir -p `dirname $@`
@$(CC) $(CFLAGS) $(PICFLAG) -c $< -o $@
.c.po:
@echo Compiling $*.c
@mkdir -p `dirname $@`
@$(CC) -fPIC $(CFLAGS) -c $< -o $@
showflags::
@echo 'ldb will be compiled with flags:'
@echo ' CFLAGS = $(CFLAGS)'
@echo ' LIBS = $(LIBS)'
distclean::
rm -f *~ */*~