# $Id: Makefile.msrc,v 4.6 2013/01/04 14:52:25 ksb Exp $ # master source recipe for %% product name %%, msrc 2008 INTO= %% /usr/src/local/subdir/product %% %%MODE= local|remote%% %%SEND= a list of files with no markup, default all files %% %%MAP= a list of files with m4 markup, defaults to *.host %% %%IGNORE= a list of files to use locally, but never send %% %%SUBDIR= a list of directories to build of the platform host %% %%HXINCLUDE= a file with hxmd options, 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 %% clean: FRC rm -f ${GEN} #%% replace this line with any recipe targets here you need for ${GEN} files %% source: ${SOURCE} ${SOURCE}: co -q $@ FRC: # msrc patch to get up-to-date and checked-out sources __msrc: source