18d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtall: libutils.a
28d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
38d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtclean:
48d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt	rm -f *~ *.o *.d libutils.a
58d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
68d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtinstall:
78d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt	@echo Nothing to be made.
88d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
98d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
108d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtinclude ../lib.rules
118d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
128d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt#CFLAGS += -DWPA_TRACE
138d520ff1dc2da35cdca849e982051b86468016d8Dmitry ShmidtCFLAGS += -DCONFIG_IPV6
148d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
158d520ff1dc2da35cdca849e982051b86468016d8Dmitry ShmidtLIB_OBJS= \
168d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt	base64.o \
174b06059785b935dd1f4f09314e4e12c417d2c6a4Dmitry Shmidt	bitfield.o \
188d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt	common.o \
198d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt	ip_addr.o \
208d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt	radiotap.o \
218d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt	trace.o \
228d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt	uuid.o \
238d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt	wpa_debug.o \
248d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt	wpabuf.o
258d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
268d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt# Pick correct OS wrapper implementation
278d520ff1dc2da35cdca849e982051b86468016d8Dmitry ShmidtLIB_OBJS += os_unix.o
288d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
298d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt# Pick correct event loop implementation
308d520ff1dc2da35cdca849e982051b86468016d8Dmitry ShmidtLIB_OBJS += eloop.o
318d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
328d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt# Pick correct edit implementation
338d520ff1dc2da35cdca849e982051b86468016d8Dmitry ShmidtLIB_OBJS += edit.o
348d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
358d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt#LIB_OBJS += pcsc_funcs.o
368d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
378d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidtlibutils.a: $(LIB_OBJS)
388d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt	$(AR) crT $@ $?
398d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt
408d520ff1dc2da35cdca849e982051b86468016d8Dmitry Shmidt-include $(OBJS:%.o=%.d)
41