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