CASA: check in makefile for win32

This commit is contained in:
soochoi 2006-11-07 11:36:53 +00:00
parent a3ca025f06
commit a60d5a0904

View File

@ -64,18 +64,13 @@ all: $(MODULE_NAME).$(MODULE_EXT)
vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR)
vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR)
$(MODULE_NAME).$(MODULE_EXT): $(SFILES) $(OBJDIR) devenv
@echo [======== Updating msi and msm numbe ========]
"$(TOOLDIR)/w32/VersionVDProj/bin/VersionVDProj.exe" -msi $(MSIFILE) version=$(VERSION)
@echo [======== Building Solution $(SFILES) ========]
"$(VSINSTALLDIR)\devenv" /rebuild $(TARGET_CFG) $(SFILES) /out build.log
cp -f $(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) $(CASABINDIR)
cp -f $(TARGET_CFG)/setup.* $(CASABINDIR)
[ -d BUILT ] | mkdir -p BUILT
cp -p $(CASABINDIR)/setup.* BUILT
cp -p $(CASABINDIR)/CASA.msi BUILT
cp -f $(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) ./BUILT
cp -f $(TARGET_CFG)/setup.exe ./BUILT
tar -cvf $(PACKAGE)-$(VERSION).tar ./BUILT
bzip2 -z $(PACKAGE)-$(VERSION).tar
@ -86,6 +81,7 @@ devenv:
$(OBJDIR):
[ -d $(OBJDIR) ] || mkdir -p $(OBJDIR)
[ -d $(CASABINDIR) ] || mkdir -p $(CASABINDIR)
[ -d BUILT ] || mkdir -p BUILT
install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT)