2009-12-05 14:39:41 -05:00
|
|
|
all: libutils.a
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
clean:
|
|
|
|
for d in $(SUBDIRS); do make -C $$d clean; done
|
2009-12-05 14:39:41 -05:00
|
|
|
rm -f *~ *.o *.d libutils.a
|
2009-02-15 07:22:50 -05:00
|
|
|
|
|
|
|
install:
|
|
|
|
@echo Nothing to be made.
|
2009-12-05 14:39:41 -05:00
|
|
|
|
|
|
|
|
2009-12-05 15:03:46 -05:00
|
|
|
include ../lib.rules
|
2009-12-05 14:39:41 -05:00
|
|
|
|
|
|
|
LIB_OBJS= \
|
|
|
|
base64.o \
|
|
|
|
common.o \
|
|
|
|
ip_addr.o \
|
|
|
|
radiotap.o \
|
|
|
|
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
|
|
|
|
|
|
|
|
#LIB_OBJS += pcsc_funcs.o
|
|
|
|
|
|
|
|
libutils.a: $(LIB_OBJS)
|
|
|
|
$(AR) cr $@ $(LIB_OBJS)
|
|
|
|
|
|
|
|
-include $(OBJS:%.o=%.d)
|