d33fef57a4
This allows wlantest debug log output to be directed to a file so that RELOG command can be used to rotate files more easily than stdout. Signed-hostap: Jouni Malinen <j@w1.fi>
41 lines
591 B
Makefile
41 lines
591 B
Makefile
all: libutils.a
|
|
|
|
clean:
|
|
rm -f *~ *.o *.d libutils.a
|
|
|
|
install:
|
|
@echo Nothing to be made.
|
|
|
|
|
|
include ../lib.rules
|
|
|
|
#CFLAGS += -DWPA_TRACE
|
|
CFLAGS += -DCONFIG_IPV6
|
|
CFLAGS += -DCONFIG_DEBUG_FILE
|
|
|
|
LIB_OBJS= \
|
|
base64.o \
|
|
bitfield.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
|
|
|
|
# Pick correct edit implementation
|
|
LIB_OBJS += edit.o
|
|
|
|
#LIB_OBJS += pcsc_funcs.o
|
|
|
|
libutils.a: $(LIB_OBJS)
|
|
$(AR) crT $@ $?
|
|
|
|
-include $(OBJS:%.o=%.d)
|