Home | History | Annotate | Download | only in utils
      1 all: libutils.a
      2 
      3 clean:
      4 	rm -f *~ *.o *.d 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 
     15 LIB_OBJS= \
     16 	base64.o \
     17 	common.o \
     18 	ip_addr.o \
     19 	radiotap.o \
     20 	trace.o \
     21 	uuid.o \
     22 	wpa_debug.o \
     23 	wpabuf.o
     24 
     25 # Pick correct OS wrapper implementation
     26 LIB_OBJS += os_unix.o
     27 
     28 # Pick correct event loop implementation
     29 LIB_OBJS += eloop.o
     30 
     31 # Pick correct edit implementation
     32 LIB_OBJS += edit.o
     33 
     34 #LIB_OBJS += pcsc_funcs.o
     35 
     36 libutils.a: $(LIB_OBJS)
     37 	$(AR) crT $@ $?
     38 
     39 -include $(OBJS:%.o=%.d)
     40