1 1.3 takemura # $NetBSD: Makefile,v 1.3 2000/05/04 11:58:22 takemura Exp $ 2 1.1 cgd # 3 1.1 cgd # Makefile to generate windows VC++ project and workspace files from 4 1.1 cgd # config files and templates 5 1.1 cgd 6 1.1 cgd PROJECT_DIRS=libsa pbsdboot 7 1.1 cgd 8 1.1 cgd winfiles: 9 1.1 cgd for dir in $(PROJECT_DIRS); do \ 10 1.1 cgd $$dir/$$dir.config; \ 11 1.1 cgd done 12 1.1 cgd sh dspgen/gen_workspace.sh hpcmips_stand.dsw $(PROJECT_DIRS) 13 1.2 cgd 14 1.2 cgd # remote transient build-related files globally and for each project: 15 1.2 cgd # * global 'class view' information (.ncb) 16 1.2 cgd # * Debug and Release compile dirs, 17 1.2 cgd # * .plg files (build logs), and 18 1.2 cgd # * .[0-9][0-9][0-9] files (old versions of auto-converted .dsp files). 19 1.2 cgd 20 1.2 cgd clean: 21 1.2 cgd rm -f hpcmips_stand.ncb 22 1.2 cgd for dir in $(PROJECT_DIRS); do \ 23 1.3 takemura (cd $$dir && rm -rf WMIPSDbg wmipsdbg WMIPSRel wmipsrel); \ 24 1.2 cgd (cd $$dir && rm -f $$dir.plg $$dir.[0-9][0-9][0-9]); \ 25 1.2 cgd done 26 1.2 cgd 27 1.2 cgd # remove all files which windows is likely to have created, in addition 28 1.2 cgd # to transient build-related files: 29 1.2 cgd # * .opt workspace option file 30 1.2 cgd # * (probably automatic) updates to the .dsp and .dsw files, 31 1.2 cgd # which should be identical to the auto-generated versions when 32 1.2 cgd # clean. 33 1.2 cgd 34 1.2 cgd distclean cleandir: clean winfiles 35 1.2 cgd rm -f hpcmips_stand.opt 36