1all: libutils.a 2 3clean: 4 rm -f *~ *.o *.d *.gcno *.gcda *.gcov libutils.a 5 6install: 7 @echo Nothing to be made. 8 9 10include ../lib.rules 11 12#CFLAGS += -DWPA_TRACE 13CFLAGS += -DCONFIG_IPV6 14CFLAGS += -DCONFIG_DEBUG_FILE 15 16LIB_OBJS= \ 17 base64.o \ 18 bitfield.o \ 19 common.o \ 20 crc32.o \ 21 ip_addr.o \ 22 json.o \ 23 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) 44