Home | History | Annotate | Download | only in tipc
      1 include ../Config
      2 ifeq ($(HAVE_MNL),y)
      3 
      4 TIPCOBJ=bearer.o \
      5     cmdl.o link.o \
      6     media.o misc.o \
      7     msg.o nametable.o \
      8     node.o socket.o \
      9     peer.o tipc.o
     10 
     11 include ../Config
     12 
     13 TARGETS=tipc
     14 CFLAGS += $(shell $(PKG_CONFIG) libmnl --cflags)
     15 LDLIBS += $(shell $(PKG_CONFIG) libmnl --libs)
     16 
     17 endif
     18 
     19 all: $(TARGETS) $(LIBS)
     20 
     21 tipc: $(TIPCOBJ)
     22 
     23 install: all
     24 	install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
     25 
     26 clean:
     27 	rm -f $(TIPCOBJ) $(TARGETS)
     28