Makefile revision 8086
1PROG= pkg_info 2CFLAGS+= ${DEBUG} -I${.CURDIR}/../lib 3 4LDADD+= -lftp 5DPADD+= ${LIBFTP} 6 7.if exists(${.CURDIR}/../lib/obj) 8LDADD+= -L${.CURDIR}/../lib/obj -linstall 9DPADD+= ${.CURDIR}/../lib/obj/libinstall.a 10.else 11LDADD+= -L${.CURDIR}/../lib -linstall 12DPADD+= ${.CURDIR}/../lib/libinstall.a 13.endif 14 15SRCS= main.c perform.c show.c 16 17.include <bsd.prog.mk> 18