Makefile revision 1.5
11.5Stakemura# $NetBSD: Makefile,v 1.5 2001/01/05 15:00:56 takemura Exp $ 21.1Scgd# 31.1Scgd# Makefile to generate windows VC++ project and workspace files from 41.1Scgd# config files and templates 51.1Scgd 61.4StakemuraPROJECT_DIRS=libsa pbsdboot libz 71.1Scgd 81.1Scgdwinfiles: 91.5Stakemura for name in $(PROJECT_DIRS); do \ 101.5Stakemura sh dspgen/config.sh vc6 $$name; \ 111.5Stakemura sh dspgen/config.sh evc3 $$name; \ 121.1Scgd done 131.5Stakemura sh dspgen/gen_workspace.sh vc6 hpcmips_stand.dsw $(PROJECT_DIRS) 141.5Stakemura sh dspgen/gen_workspace.sh evc3 hpcmips_stand.vcw $(PROJECT_DIRS) 151.2Scgd 161.2Scgd# remote transient build-related files globally and for each project: 171.2Scgd# * global 'class view' information (.ncb) 181.2Scgd# * Debug and Release compile dirs, 191.2Scgd# * .plg files (build logs), and 201.2Scgd# * .[0-9][0-9][0-9] files (old versions of auto-converted .dsp files). 211.2Scgd 221.2Scgdclean: 231.2Scgd rm -f hpcmips_stand.ncb 241.2Scgd for dir in $(PROJECT_DIRS); do \ 251.3Stakemura (cd $$dir && rm -rf WMIPSDbg wmipsdbg WMIPSRel wmipsrel); \ 261.5Stakemura (cd $$dir && rm -f $$dir.plg $$dir.vcl $$dir.[0-9][0-9][0-9]); \ 271.5Stakemura (cd $$dir && rm -f $$dir.ncb $$dir.opt); \ 281.2Scgd done 291.2Scgd 301.2Scgd# remove all files which windows is likely to have created, in addition 311.2Scgd# to transient build-related files: 321.2Scgd# * .opt workspace option file 331.2Scgd# * (probably automatic) updates to the .dsp and .dsw files, 341.2Scgd# which should be identical to the auto-generated versions when 351.2Scgd# clean. 361.2Scgd 371.2Scgddistclean cleandir: clean winfiles 381.2Scgd rm -f hpcmips_stand.opt 391.5Stakemura rm -f hpcmips_stand.vcw 401.5Stakemura rm -f hpcmips_stand.vco 411.5Stakemura rm -f hpcmips_stand.vcb 421.5Stakemura for dir in $(PROJECT_DIRS); do \ 431.5Stakemura (cd $$dir && rm -f $$dir.vcp); \ 441.5Stakemura done 45