####################################################################### # # Copyright (C) 2004 Novell, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public # License as published by the Free Software Foundation; either # version 2 of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public # License along with this program; if not, write to the Free # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # Author: Juan Carlos Luciani # ####################################################################### MSM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).msm MSM_LOG_FILE = devenv-clientpasswordmanager-msm.log .PHONY: package package-clean package-install package-uninstall c-sharp-net-credential c-sharp-password-dialog c-sharp-username-dialog c-sharp-utilities devenv #all clean: package: $(MSM_FILE) devenv: @if ! test -x "$(VSINSTALLDIR)/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi $(MSM_FILE): devenv @rm -f $(MSM_LOG_FILE) $@ @CMD='"$(VSINSTALLDIR)/devenv.exe" ../../../ClientPasswordManager.sln /build $(DEVENV_CONFIGURATION) /project clientpasswordmanager-msm /out $(MSM_LOG_FILE)'; \ echo $$CMD; \ if eval $$CMD; then \ ls -l $(DEVENV_CONFIGURATION)/clientpasswordmanager-msm.msm; \ else \ grep -a "ERROR:" $(MSM_LOG_FILE); \ fi securesink: make -C ../.. all package-clean clean-local: rm -rf Release/* Release Debug/* Debug*/Release */Debug *.log *.suo clean: rm -rf Release/* Release Debug/* Debug */Release */Debug *.log *.suo distclean-local: package-clean rm -f Makefile clientpasswordmanager.msm maintainer-clean-local: rm -f Makefile.in