mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
efccef09ae
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 tevent.h contents and the gcc -aux-info option
19 lines
358 B
Makefile
19 lines
358 B
Makefile
.SUFFIXES: .i _wrap.c
|
|
|
|
showflags::
|
|
@echo 'libtevent will be compiled with flags:'
|
|
@echo ' CFLAGS = $(CFLAGS)'
|
|
@echo ' CPPFLAGS = $(CPPFLAGS)'
|
|
@echo ' LDFLAGS = $(LDFLAGS)'
|
|
@echo ' LIBS = $(LIBS)'
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
@echo Compiling $*.c
|
|
@mkdir -p `dirname $@`
|
|
@$(CC) $(PICFLAG) $(CFLAGS) $(ABI_CHECK) -c $< -o $@
|
|
|
|
distclean::
|
|
rm -f *~ */*~
|