mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
27 lines
503 B
Makefile
27 lines
503 B
Makefile
etags:
|
|
etags `find $(srcdir) -name "*.[ch]"`
|
|
|
|
ctags:
|
|
ctags `find $(srcdir) -name "*.[ch]"`
|
|
|
|
.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 ' SHLD_FLAGS = $(SHLD_FLAGS)'
|
|
@echo ' LIBS = $(LIBS)'
|
|
|
|
distclean::
|
|
rm -f *~ */*~
|