# $Id: Makefile.pun,v 5.2 2012/12/14 20:43:41 ksb Exp $ # punned master source Makefile for %% product name %%, msrc 2008 TOP=%%/usr/local or pick a local root%% BIN=${DESTDIR}${TOP}/%% bin directory %% LIB=${DESTDIR}${TOP}/%% lib directory for data files %% DOC=${DESTDIR}${TOP}/%% man for the local manual page root %% INTO=%% /usr/src/local/subdir/foo %% %%MODE= local|remote%% %%SEND= a list of files with no markup, default all files %% %%MAP= if you need this you are in the wrong template!! %% %%IGNORE= if you need this you are in the wrong template!! %% %%SUBDIR= a list of directories to build of the platform host %% %%HXINCLUDE= a file with hxmd options, which you might need, one per line %% GEN= %% stuff we are called to make locally, empty about half the time %% SOURCE= Makefile Makefile.host \ %% !ls -1 # order files: local process, remote-recipe, builds %% all: %% add the payload targets %% clean: FRC rm -f ${GEN} %% add the payload targets: then install deinstall and the like %% %% replace this line with any recipe targets here you need for ${GEN} files %% source: ${SOURCE} ${GEN} ${SOURCE}: co -q $@ FRC: # msrc patch to get up-to-date and checked-out sources __msrc: source