blob: 52efc5321fca1de538cf75562f8f3afc53aae04e [file] [log] [blame]
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07001all: libutils.a
2
3clean:
Dmitry Shmidt01904cf2013-12-05 11:08:35 -08004 rm -f *~ *.o *.d *.gcno *.gcda *.gcov libutils.a
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07005
6install:
7 @echo Nothing to be made.
8
9
10include ../lib.rules
11
12#CFLAGS += -DWPA_TRACE
13CFLAGS += -DCONFIG_IPV6
Dmitry Shmidte0e48dc2013-11-18 12:00:06 -080014CFLAGS += -DCONFIG_DEBUG_FILE
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070015
16LIB_OBJS= \
17 base64.o \
Dmitry Shmidt4b060592013-04-29 16:42:49 -070018 bitfield.o \
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070019 common.o \
Dmitry Shmidt9839ecd2016-11-07 11:05:47 -080020 crc32.o \
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070021 ip_addr.o \
22 radiotap.o \
23 trace.o \
24 uuid.o \
25 wpa_debug.o \
26 wpabuf.o
27
28# Pick correct OS wrapper implementation
29LIB_OBJS += os_unix.o
30
31# Pick correct event loop implementation
32LIB_OBJS += eloop.o
33
34# Pick correct edit implementation
35LIB_OBJS += edit.o
36
37#LIB_OBJS += pcsc_funcs.o
38
39libutils.a: $(LIB_OBJS)
40 $(AR) crT $@ $?
41
42-include $(OBJS:%.o=%.d)