blob: 1ee2bee67f6b34c889d0d78bc36f1c6a27a9ca46 [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 \
Hai Shalom74f70d42019-02-11 14:42:39 -080022 json.o \
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -070023 radiotap.o \
24 trace.o \
25 uuid.o \
26 wpa_debug.o \
27 wpabuf.o
28
29# Pick correct OS wrapper implementation
30LIB_OBJS += os_unix.o
31
32# Pick correct event loop implementation
33LIB_OBJS += eloop.o
34
35# Pick correct edit implementation
36LIB_OBJS += edit.o
37
38#LIB_OBJS += pcsc_funcs.o
39
40libutils.a: $(LIB_OBJS)
41 $(AR) crT $@ $?
42
43-include $(OBJS:%.o=%.d)