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 	crc32.o \
     21 	ip_addr.o \
     22 	radiotap.o \
     23 	trace.o \
     24 	uuid.o \
     25 	wpa_debug.o \
     26 	wpabuf.o
     27 
     28 # Pick correct OS wrapper implementation
     29 LIB_OBJS += os_unix.o
     30 
     31 # Pick correct event loop implementation
     32 LIB_OBJS += eloop.o
     33 
     34 # Pick correct edit implementation
     35 LIB_OBJS += edit.o
     36 
     37 #LIB_OBJS += pcsc_funcs.o
     38 
     39 libutils.a: $(LIB_OBJS)
     40 	$(AR) crT $@ $?
     41 
     42 -include $(OBJS:%.o=%.d)
     43