blob: da2f0fcbe85b0dead52e2e526bd864ed2ab1d121 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001CFLAGS += -fPIC
2
3UTILOBJ=utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o
4
5NLOBJ=ll_map.o libnetlink.o
6
7all: libnetlink.a libutil.a
8
9libnetlink.a: $(NLOBJ)
10 $(AR) rcs $@ $(NLOBJ)
11
12libutil.a: $(UTILOBJ) $(ADDLIB)
13 $(AR) rcs $@ $(UTILOBJ) $(ADDLIB)
14
15install:
16
17clean:
18 rm -f $(NLOBJ) $(UTILOBJ) $(ADDLIB) libnetlink.a libutil.a
19