include ../Config | |
CFLAGS += -fPIC | |
UTILOBJ=utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o | |
NLOBJ=libgenl.o ll_map.o libnetlink.o | |
all: libnetlink.a libutil.a | |
libnetlink.a: $(NLOBJ) | |
$(AR) rcs $@ $(NLOBJ) | |
libutil.a: $(UTILOBJ) $(ADDLIB) | |
$(AR) rcs $@ $(UTILOBJ) $(ADDLIB) | |
install: | |
clean: | |
rm -f $(NLOBJ) $(UTILOBJ) $(ADDLIB) libnetlink.a libutil.a | |