1*84d9c625SLionel Sambuc# $Id: Makefile,v 1.5 2013/10/19 17:28:38 christos Exp $ 211be35a1SLionel Sambuc 311be35a1SLionel Sambuc.include <bsd.own.mk> 411be35a1SLionel Sambuc 511be35a1SLionel SambucTESTSDIR= ${TESTSBASE}/lib/libppath 611be35a1SLionel Sambuc 711be35a1SLionel Sambuc#LIBPPATH != make -V .OBJDIR -C $(.CURDIR)/../lib 811be35a1SLionel Sambuc 911be35a1SLionel SambucTESTS_C=t_ppath 1011be35a1SLionel SambucSRCS.t_ppath=t_ppath.c personnel.c personnel.h 1111be35a1SLionel SambucCPPFLAGS+=-I$(.OBJDIR) 1211be35a1SLionel Sambuc 1311be35a1SLionel Sambuc.SUFFIXES: .plist .h 1411be35a1SLionel Sambuc 1511be35a1SLionel Sambuc.plist.h: 1611be35a1SLionel Sambuc echo "extern const char " ${.TARGET:S,.h$,,} "[];" > ${.TARGET} 1711be35a1SLionel Sambuc 1811be35a1SLionel Sambuc.plist.c: 1911be35a1SLionel Sambuc AWK=${TOOL_AWK:Q} ${HOST_SH} ${.CURDIR}/plist_to_c ${.TARGET:S,.c$,,} < ${.IMPSRC} > ${.TARGET} 2011be35a1SLionel Sambuc 21*84d9c625SLionel Sambuct_ppath.o: personnel.h 2211be35a1SLionel SambucCLEANFILES+=personnel.c personnel.h 2311be35a1SLionel Sambuc 2411be35a1SLionel Sambuc#LDADD+=-L$(LIBPPATH) 2511be35a1SLionel SambucLDADD+=-lppath -lprop 2611be35a1SLionel Sambuc#DPADD+=$(LIBPPATH)/libppath.a 2711be35a1SLionel Sambuc 2811be35a1SLionel Sambuc.include <bsd.test.mk> 2911be35a1SLionel Sambuc#.include "../mk/tags.mk" 30