930f704aac
WPA_TRACE=y can now be used to enable internal backtrace support that will provide more details about implementation errors, e.g., when some resources are not released correctly. In addition, this will print out a backtrace automatically if SIGSEGV is received.
36 lines
517 B
Makefile
36 lines
517 B
Makefile
all: libutils.a
|
|
|
|
clean:
|
|
for d in $(SUBDIRS); do make -C $$d clean; done
|
|
rm -f *~ *.o *.d libutils.a
|
|
|
|
install:
|
|
@echo Nothing to be made.
|
|
|
|
|
|
include ../lib.rules
|
|
|
|
#CFLAGS += -DWPA_TRACE
|
|
|
|
LIB_OBJS= \
|
|
base64.o \
|
|
common.o \
|
|
ip_addr.o \
|
|
radiotap.o \
|
|
trace.o \
|
|
uuid.o \
|
|
wpa_debug.o \
|
|
wpabuf.o
|
|
|
|
# Pick correct OS wrapper implementation
|
|
LIB_OBJS += os_unix.o
|
|
|
|
# Pick correct event loop implementation
|
|
LIB_OBJS += eloop.o
|
|
|
|
#LIB_OBJS += pcsc_funcs.o
|
|
|
|
libutils.a: $(LIB_OBJS)
|
|
$(AR) crT $@ $?
|
|
|
|
-include $(OBJS:%.o=%.d)
|