Home | History | Annotate | Download | only in lib
      1 include ../config.mk
      2 
      3 CFLAGS += -fPIC
      4 
      5 UTILOBJ = utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o \
      6 	inet_proto.o namespace.o json_writer.o json_print.o \
      7 	names.o color.o bpf.o exec.o fs.o
      8 
      9 NLOBJ=libgenl.o ll_map.o libnetlink.o
     10 
     11 all: libnetlink.a libutil.a
     12 
     13 libnetlink.a: $(NLOBJ)
     14 	$(QUIET_AR)$(AR) rcs $@ $^
     15 
     16 libutil.a: $(UTILOBJ) $(ADDLIB)
     17 	$(QUIET_AR)$(AR) rcs $@ $^
     18 
     19 install:
     20 
     21 clean:
     22 	rm -f $(NLOBJ) $(UTILOBJ) $(ADDLIB) libnetlink.a libutil.a
     23