Home | History | Annotate | Download | only in utils
      1 all: libutils.a
      2 
      3 clean:
      4 	rm -f *~ *.o *.d *.gcno *.gcda *.gcov libutils.a
      5 
      6 install:
      7 	@echo Nothing to be made.
      8 
      9 
     10 include ../lib.rules
     11 
     12 #CFLAGS += -DWPA_TRACE
     13 CFLAGS += -DCONFIG_IPV6
     14 CFLAGS += -DCONFIG_DEBUG_FILE
     15 
     16 LIB_OBJS= \
     17 	base64.o \
     18 	bitfield.o \
     19 	common.o \
     20 	ip_addr.o \
     21 	radiotap.o \
     22 	trace.o \
     23 	uuid.o \
     24 	wpa_debug.o \
     25 	wpabuf.o
     26 
     27 # Pick correct OS wrapper implementation
     28 LIB_OBJS += os_unix.o
     29 
     30 # Pick correct event loop implementation
     31 LIB_OBJS += eloop.o
     32 
     33 # Pick correct edit implementation
     34 LIB_OBJS += edit.o
     35 
     36 #LIB_OBJS += pcsc_funcs.o
     37 
     38 libutils.a: $(LIB_OBJS)
     39 	$(AR) crT $@ $?
     40 
     41 -include $(OBJS:%.o=%.d)
     42