2009-12-05 20:39:41 +01:00
|
|
|
all: libutils.a
|
2008-02-28 02:34:43 +01:00
|
|
|
|
|
|
|
clean:
|
2013-11-24 18:16:12 +01:00
|
|
|
rm -f *~ *.o *.d *.gcno *.gcda *.gcov libutils.a
|
2009-02-15 13:22:50 +01:00
|
|
|
|
|
|
|
install:
|
|
|
|
@echo Nothing to be made.
|
2009-12-05 20:39:41 +01:00
|
|
|
|
|
|
|
|
2009-12-05 21:03:46 +01:00
|
|
|
include ../lib.rules
|
2009-12-05 20:39:41 +01:00
|
|
|
|
2009-12-19 17:40:54 +01:00
|
|
|
#CFLAGS += -DWPA_TRACE
|
2009-12-24 11:27:42 +01:00
|
|
|
CFLAGS += -DCONFIG_IPV6
|
2013-11-17 20:16:29 +01:00
|
|
|
CFLAGS += -DCONFIG_DEBUG_FILE
|
2009-12-19 17:40:54 +01:00
|
|
|
|
2009-12-05 20:39:41 +01:00
|
|
|
LIB_OBJS= \
|
|
|
|
base64.o \
|
2013-03-16 17:12:39 +01:00
|
|
|
bitfield.o \
|
2009-12-05 20:39:41 +01:00
|
|
|
common.o \
|
|
|
|
ip_addr.o \
|
|
|
|
radiotap.o \
|
2009-12-19 17:40:54 +01:00
|
|
|
trace.o \
|
2009-12-05 20:39:41 +01:00
|
|
|
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
|
|
|
|
|
2010-11-20 09:48:32 +01:00
|
|
|
# Pick correct edit implementation
|
|
|
|
LIB_OBJS += edit.o
|
|
|
|
|
2009-12-05 20:39:41 +01:00
|
|
|
#LIB_OBJS += pcsc_funcs.o
|
|
|
|
|
|
|
|
libutils.a: $(LIB_OBJS)
|
2009-12-06 12:49:31 +01:00
|
|
|
$(AR) crT $@ $?
|
2009-12-05 20:39:41 +01:00
|
|
|
|
|
|
|
-include $(OBJS:%.o=%.d)
|