CASA: checkin Makefile to work with win64 build changes

This commit is contained in:
soochoi 2006-11-07 09:40:33 +00:00
parent 0e6ba0b1f9
commit 7b27200e08
2 changed files with 9 additions and 7 deletions

View File

@ -34,7 +34,7 @@ DIST_SUBDIRS = micasacache common micasadk micasad sharp \
endif
if WINDOWS
SUBDIRS = micasacache common micasadk jwrapper package
SUBDIRS = package
DIST_SUBDIRS = micasacache common micasadk jwrapper package
endif

View File

@ -71,11 +71,10 @@ $(MODULE_NAME).$(MODULE_EXT): $(SFILES) $(OBJDIR) devenv
"$(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/bin64
cp -f $(TARGET_CFG)/setup.exe ../BUILT/bin64
cp -p ../CASA32-msi/$(TARGET_CFG)/setup.exe ../BUILT/bin
cp -p ../CASA32-msi/$(TARGET_CFG)/CASA.msi ../BUILT/bin
tar -cvf $(PACKAGE)-$(VERSION).tar ./BUILT
bzip2 -z $(PACKAGE)-$(VERSION).tar
@ -86,6 +85,9 @@ devenv:
$(OBJDIR):
[ -d $(OBJDIR) ] || mkdir -p $(OBJDIR)
[ -d $(CASABINDIR) ] || mkdir -p $(CASABINDIR)
[ -d ../BUILT ] || mkdir -p ../BUILT
[ -d ../BUILT ] || mkdir -p ../BUILT/bin64
[ -d ../BUILT ] || mkdir -p ../BUILT/bin
install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT)
@ -107,7 +109,7 @@ clean-local:
if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi
if [ -d Debug ]; then rm -rf Debug; fi
if [ -f build.log ]; then rm -f build.log; fi
if [ -d BUILT ]; then rm -rf BUILT; fi
if [ -d ../BUILT ]; then rm -rf ../BUILT; fi
if [ -f $(PACKAGE)-$(VERSION).tar.bz2 ]; then rm -f $(PACKAGE)-$(VERSION).tar.bz2; fi
distclean-local: