mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
e83f4b868b
This is a first attempt at exporting symbols only for public functions We also provide a rudimentary ABI checker that tries to check that function signatures are not changed by mistake. Given our use of macros this is not an API checker. It's all based on talloc.h contents and the gcc -aux-info option
19 lines
499 B
Makefile
19 lines
499 B
Makefile
.SUFFIXES: .c .o .3 .3.xml .xml .html
|
|
|
|
showflags::
|
|
@echo 'talloc will be compiled with flags:'
|
|
@echo ' CFLAGS = $(CFLAGS)'
|
|
@echo ' LIBS = $(LIBS)'
|
|
|
|
.c.o:
|
|
$(CC) $(PICFLAG) $(ABI_CHECK) -o $@ -c $< $(CFLAGS)
|
|
|
|
.3.xml.3:
|
|
-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
|
|
|
.xml.html:
|
|
-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
|
|
|
|
distclean::
|
|
rm -f *~ */*~
|