10Sstevel@tonic-gate# $FreeBSD: releng/10.2/usr.sbin/ngctl/Makefile 177714 2008-03-29 17:44:40Z ru $ 20Sstevel@tonic-gate# $Whistle: Makefile,v 1.3 1999/01/16 00:10:11 archie Exp $ 30Sstevel@tonic-gate 40Sstevel@tonic-gate.include <bsd.own.mk> 50Sstevel@tonic-gate 60Sstevel@tonic-gatePROG= ngctl 70Sstevel@tonic-gateMAN= ngctl.8 80Sstevel@tonic-gateSRCS= main.c mkpeer.c config.c connect.c dot.c name.c show.c list.c \ 90Sstevel@tonic-gate msg.c debug.c shutdown.c rmhook.c status.c types.c write.c 100Sstevel@tonic-gateWARNS?= 3 110Sstevel@tonic-gate 120Sstevel@tonic-gate.if defined(RELEASE_CRUNCH) 130Sstevel@tonic-gateNGCTL_NO_LIBEDIT= 140Sstevel@tonic-gate.endif 150Sstevel@tonic-gate 160Sstevel@tonic-gate.if ${MK_LIBTHR} == "no" 170Sstevel@tonic-gateNGCTL_NO_LIBEDIT= 180Sstevel@tonic-gate.endif 190Sstevel@tonic-gate 200Sstevel@tonic-gateDPADD= ${LIBNETGRAPH} 210Sstevel@tonic-gateLDADD= -lnetgraph 220Sstevel@tonic-gate 230Sstevel@tonic-gate.if !defined(NGCTL_NO_LIBEDIT) 240Sstevel@tonic-gateCFLAGS+= -DEDITLINE 250Sstevel@tonic-gateDPADD+= ${LIBPTHREAD} ${LIBEDIT} ${LIBTERMCAP} 260Sstevel@tonic-gateLDADD+= -lpthread -ledit -ltermcap 270Sstevel@tonic-gate.endif 280Sstevel@tonic-gate 290Sstevel@tonic-gate.include <bsd.prog.mk> 300Sstevel@tonic-gate