mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
08b3d3ee94
(This used to be commit 2ff3f72fd2
)
31 lines
563 B
Makefile
31 lines
563 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 *~ */*~
|