Fixed missing makefile build problem.
This commit is contained in:
		| @@ -22,7 +22,14 @@ | |||||||
|  |  | ||||||
| SUBDIRS = authtokenclient_msm authtokenclient_msi | SUBDIRS = authtokenclient_msm authtokenclient_msi | ||||||
|  |  | ||||||
| DIST_SUBDIRS = authtokenclient_msm authtokenclient_msi | DIST_SUBDIRS = authtokenclient_msm \ | ||||||
|  |                 authtokenclient_msi \ | ||||||
|  |                 authtokenclient64_msm \ | ||||||
|  |                 authtokenclient64_msi \ | ||||||
|  |                 authtokenclientdevel_msm \ | ||||||
|  |                 authtokenclientdevel_msi \ | ||||||
|  |                 authtokenclientdevel64_msm \ | ||||||
|  |                 authtokenclientdevel64_msi | ||||||
|  |  | ||||||
| EXTRA_DIST = | EXTRA_DIST = | ||||||
|  |  | ||||||
|   | |||||||
| @@ -0,0 +1,69 @@ | |||||||
|  | ####################################################################### | ||||||
|  | # | ||||||
|  | #  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: Greg Richardson <grichardson@novell.com> | ||||||
|  | # | ||||||
|  | ####################################################################### | ||||||
|  |  | ||||||
|  | SUBDIRS = | ||||||
|  |  | ||||||
|  | DIST_SUBDIRS = | ||||||
|  |  | ||||||
|  | EXTRA_DIST = authtokenclient64_msi.vdproj | ||||||
|  |  | ||||||
|  | if DEBUG | ||||||
|  | TARGET_CFG = Debug | ||||||
|  | else | ||||||
|  | TARGET_CFG = Release | ||||||
|  | endif | ||||||
|  |  | ||||||
|  | PACKAGE = authtokenclient64_msi | ||||||
|  | TARGET_FILE = $(PACKAGE).msi | ||||||
|  | LOG_FILE = $(PACKAGE).log | ||||||
|  |  | ||||||
|  | .PHONY: package package-clean package-install package-uninstall devenv | ||||||
|  |  | ||||||
|  | package: $(TARGET_FILE) | ||||||
|  |  | ||||||
|  | devenv: | ||||||
|  | 	@if ! test -x "$(VSINSTALLDIR)/Common7/IDE/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi | ||||||
|  |  | ||||||
|  | $(TARGET_FILE): devenv | ||||||
|  | 	@rm -f $(LOG_FILE) $@ | ||||||
|  | 	@CMD='"$(VSINSTALLDIR)/Common7/IDE/devenv.exe" ../../../authclient.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \ | ||||||
|  | 	echo $$CMD; \ | ||||||
|  | 	if eval $$CMD; then \ | ||||||
|  | 		ls -l $(TARGET_CFG)/$(TARGET_FILE); \ | ||||||
|  | 	else \ | ||||||
|  | 		grep -a "ERROR:" $(LOG_FILE); \ | ||||||
|  | 	fi | ||||||
|  | 	 | ||||||
|  | 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  | ||||||
|  |  | ||||||
|  | maintainer-clean-local: | ||||||
|  | 	rm -f Makefile.in | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -0,0 +1,69 @@ | |||||||
|  | ####################################################################### | ||||||
|  | # | ||||||
|  | #  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: Greg Richardson <grichardson@novell.com> | ||||||
|  | # | ||||||
|  | ####################################################################### | ||||||
|  |  | ||||||
|  | SUBDIRS = | ||||||
|  |  | ||||||
|  | DIST_SUBDIRS = | ||||||
|  |  | ||||||
|  | EXTRA_DIST = authtokenclient64_msm.vdproj | ||||||
|  |  | ||||||
|  | if DEBUG | ||||||
|  | TARGET_CFG = Debug | ||||||
|  | else | ||||||
|  | TARGET_CFG = Release | ||||||
|  | endif | ||||||
|  |  | ||||||
|  | PACKAGE = authtokenclient64_msm | ||||||
|  | TARGET_FILE = $(PACKAGE).msm | ||||||
|  | LOG_FILE = $(PACKAGE).log | ||||||
|  |  | ||||||
|  | .PHONY: package package-clean package-install package-uninstall devenv | ||||||
|  |  | ||||||
|  | package: $(TARGET_FILE) | ||||||
|  |  | ||||||
|  | devenv: | ||||||
|  | 	@if ! test -x "$(VSINSTALLDIR)/Common7/IDE/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi | ||||||
|  |  | ||||||
|  | $(TARGET_FILE): devenv | ||||||
|  | 	@rm -f $(LOG_FILE) $@ | ||||||
|  | 	@CMD='"$(VSINSTALLDIR)/Common7/IDE/devenv.exe" ../../../authclient.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \ | ||||||
|  | 	echo $$CMD; \ | ||||||
|  | 	if eval $$CMD; then \ | ||||||
|  | 		ls -l $(TARGET_CFG)/$(TARGET_FILE); \ | ||||||
|  | 	else \ | ||||||
|  | 		grep -a "ERROR:" $(LOG_FILE); \ | ||||||
|  | 	fi | ||||||
|  | 	 | ||||||
|  | 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 | ||||||
|  |  | ||||||
|  | maintainer-clean-local: | ||||||
|  | 	rm -f Makefile.in | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -0,0 +1,69 @@ | |||||||
|  | ####################################################################### | ||||||
|  | # | ||||||
|  | #  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: Greg Richardson <grichardson@novell.com> | ||||||
|  | # | ||||||
|  | ####################################################################### | ||||||
|  |  | ||||||
|  | SUBDIRS = | ||||||
|  |  | ||||||
|  | DIST_SUBDIRS = | ||||||
|  |  | ||||||
|  | EXTRA_DIST = authtokenclient_msi.vdproj | ||||||
|  |  | ||||||
|  | if DEBUG | ||||||
|  | TARGET_CFG = Debug | ||||||
|  | else | ||||||
|  | TARGET_CFG = Release | ||||||
|  | endif | ||||||
|  |  | ||||||
|  | PACKAGE = authtokenclient_msi | ||||||
|  | TARGET_FILE = $(PACKAGE).msi | ||||||
|  | LOG_FILE = $(PACKAGE).log | ||||||
|  |  | ||||||
|  | .PHONY: package package-clean package-install package-uninstall devenv | ||||||
|  |  | ||||||
|  | package: $(TARGET_FILE) | ||||||
|  |  | ||||||
|  | devenv: | ||||||
|  | 	@if ! test -x "$(VSINSTALLDIR)/Common7/IDE/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi | ||||||
|  |  | ||||||
|  | $(TARGET_FILE): devenv | ||||||
|  | 	@rm -f $(LOG_FILE) $@ | ||||||
|  | 	@CMD='"$(VSINSTALLDIR)/Common7/IDE/devenv.exe" ../../../authclient.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \ | ||||||
|  | 	echo $$CMD; \ | ||||||
|  | 	if eval $$CMD; then \ | ||||||
|  | 		ls -l $(TARGET_CFG)/$(TARGET_FILE); \ | ||||||
|  | 	else \ | ||||||
|  | 		grep -a "ERROR:" $(LOG_FILE); \ | ||||||
|  | 	fi | ||||||
|  | 	 | ||||||
|  | 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  | ||||||
|  |  | ||||||
|  | maintainer-clean-local: | ||||||
|  | 	rm -f Makefile.in | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -0,0 +1,69 @@ | |||||||
|  | ####################################################################### | ||||||
|  | # | ||||||
|  | #  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: Greg Richardson <grichardson@novell.com> | ||||||
|  | # | ||||||
|  | ####################################################################### | ||||||
|  |  | ||||||
|  | SUBDIRS = | ||||||
|  |  | ||||||
|  | DIST_SUBDIRS = | ||||||
|  |  | ||||||
|  | EXTRA_DIST = authtokenclientdevel64_msi.vdproj | ||||||
|  |  | ||||||
|  | if DEBUG | ||||||
|  | TARGET_CFG = Debug | ||||||
|  | else | ||||||
|  | TARGET_CFG = Release | ||||||
|  | endif | ||||||
|  |  | ||||||
|  | PACKAGE = authtokenclientdevel64_msi | ||||||
|  | TARGET_FILE = $(PACKAGE).msi | ||||||
|  | LOG_FILE = $(PACKAGE).log | ||||||
|  |  | ||||||
|  | .PHONY: package package-clean package-install package-uninstall devenv | ||||||
|  |  | ||||||
|  | package: $(TARGET_FILE) | ||||||
|  |  | ||||||
|  | devenv: | ||||||
|  | 	@if ! test -x "$(VSINSTALLDIR)/Common7/IDE/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi | ||||||
|  |  | ||||||
|  | $(TARGET_FILE): devenv | ||||||
|  | 	@rm -f $(LOG_FILE) $@ | ||||||
|  | 	@CMD='"$(VSINSTALLDIR)/Common7/IDE/devenv.exe" ../../../authclient.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \ | ||||||
|  | 	echo $$CMD; \ | ||||||
|  | 	if eval $$CMD; then \ | ||||||
|  | 		ls -l $(TARGET_CFG)/$(TARGET_FILE); \ | ||||||
|  | 	else \ | ||||||
|  | 		grep -a "ERROR:" $(LOG_FILE); \ | ||||||
|  | 	fi | ||||||
|  | 	 | ||||||
|  | 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  | ||||||
|  |  | ||||||
|  | maintainer-clean-local: | ||||||
|  | 	rm -f Makefile.in | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -0,0 +1,69 @@ | |||||||
|  | ####################################################################### | ||||||
|  | # | ||||||
|  | #  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: Greg Richardson <grichardson@novell.com> | ||||||
|  | # | ||||||
|  | ####################################################################### | ||||||
|  |  | ||||||
|  | SUBDIRS = | ||||||
|  |  | ||||||
|  | DIST_SUBDIRS = | ||||||
|  |  | ||||||
|  | EXTRA_DIST = authtokenclientdevel64_msm.vdproj | ||||||
|  |  | ||||||
|  | if DEBUG | ||||||
|  | TARGET_CFG = Debug | ||||||
|  | else | ||||||
|  | TARGET_CFG = Release | ||||||
|  | endif | ||||||
|  |  | ||||||
|  | PACKAGE = authtokenclientdevel64_msm | ||||||
|  | TARGET_FILE = $(PACKAGE).msm | ||||||
|  | LOG_FILE = $(PACKAGE).log | ||||||
|  |  | ||||||
|  | .PHONY: package package-clean package-install package-uninstall devenv | ||||||
|  |  | ||||||
|  | package: $(TARGET_FILE) | ||||||
|  |  | ||||||
|  | devenv: | ||||||
|  | 	@if ! test -x "$(VSINSTALLDIR)/Common7/IDE/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi | ||||||
|  |  | ||||||
|  | $(TARGET_FILE): devenv | ||||||
|  | 	@rm -f $(LOG_FILE) $@ | ||||||
|  | 	@CMD='"$(VSINSTALLDIR)/Common7/IDE/devenv.exe" ../../../authclient.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \ | ||||||
|  | 	echo $$CMD; \ | ||||||
|  | 	if eval $$CMD; then \ | ||||||
|  | 		ls -l $(TARGET_CFG)/$(TARGET_FILE); \ | ||||||
|  | 	else \ | ||||||
|  | 		grep -a "ERROR:" $(LOG_FILE); \ | ||||||
|  | 	fi | ||||||
|  | 	 | ||||||
|  | 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 | ||||||
|  |  | ||||||
|  | maintainer-clean-local: | ||||||
|  | 	rm -f Makefile.in | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -0,0 +1,69 @@ | |||||||
|  | ####################################################################### | ||||||
|  | # | ||||||
|  | #  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: Greg Richardson <grichardson@novell.com> | ||||||
|  | # | ||||||
|  | ####################################################################### | ||||||
|  |  | ||||||
|  | SUBDIRS = | ||||||
|  |  | ||||||
|  | DIST_SUBDIRS = | ||||||
|  |  | ||||||
|  | EXTRA_DIST = authtokenclientdevel_msi.vdproj | ||||||
|  |  | ||||||
|  | if DEBUG | ||||||
|  | TARGET_CFG = Debug | ||||||
|  | else | ||||||
|  | TARGET_CFG = Release | ||||||
|  | endif | ||||||
|  |  | ||||||
|  | PACKAGE = authtokenclientdevel_msi | ||||||
|  | TARGET_FILE = $(PACKAGE).msi | ||||||
|  | LOG_FILE = $(PACKAGE).log | ||||||
|  |  | ||||||
|  | .PHONY: package package-clean package-install package-uninstall devenv | ||||||
|  |  | ||||||
|  | package: $(TARGET_FILE) | ||||||
|  |  | ||||||
|  | devenv: | ||||||
|  | 	@if ! test -x "$(VSINSTALLDIR)/Common7/IDE/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi | ||||||
|  |  | ||||||
|  | $(TARGET_FILE): devenv | ||||||
|  | 	@rm -f $(LOG_FILE) $@ | ||||||
|  | 	@CMD='"$(VSINSTALLDIR)/Common7/IDE/devenv.exe" ../../../authclient.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \ | ||||||
|  | 	echo $$CMD; \ | ||||||
|  | 	if eval $$CMD; then \ | ||||||
|  | 		ls -l $(TARGET_CFG)/$(TARGET_FILE); \ | ||||||
|  | 	else \ | ||||||
|  | 		grep -a "ERROR:" $(LOG_FILE); \ | ||||||
|  | 	fi | ||||||
|  | 	 | ||||||
|  | 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  | ||||||
|  |  | ||||||
|  | maintainer-clean-local: | ||||||
|  | 	rm -f Makefile.in | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -0,0 +1,69 @@ | |||||||
|  | ####################################################################### | ||||||
|  | # | ||||||
|  | #  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: Greg Richardson <grichardson@novell.com> | ||||||
|  | # | ||||||
|  | ####################################################################### | ||||||
|  |  | ||||||
|  | SUBDIRS = | ||||||
|  |  | ||||||
|  | DIST_SUBDIRS = | ||||||
|  |  | ||||||
|  | EXTRA_DIST = authtokenclientdevel_msm.vdproj | ||||||
|  |  | ||||||
|  | if DEBUG | ||||||
|  | TARGET_CFG = Debug | ||||||
|  | else | ||||||
|  | TARGET_CFG = Release | ||||||
|  | endif | ||||||
|  |  | ||||||
|  | PACKAGE = authtokenclientdevel_msm | ||||||
|  | TARGET_FILE = $(PACKAGE).msm | ||||||
|  | LOG_FILE = $(PACKAGE).log | ||||||
|  |  | ||||||
|  | .PHONY: package package-clean package-install package-uninstall devenv | ||||||
|  |  | ||||||
|  | package: $(TARGET_FILE) | ||||||
|  |  | ||||||
|  | devenv: | ||||||
|  | 	@if ! test -x "$(VSINSTALLDIR)/Common7/IDE/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi | ||||||
|  |  | ||||||
|  | $(TARGET_FILE): devenv | ||||||
|  | 	@rm -f $(LOG_FILE) $@ | ||||||
|  | 	@CMD='"$(VSINSTALLDIR)/Common7/IDE/devenv.exe" ../../../authclient.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \ | ||||||
|  | 	echo $$CMD; \ | ||||||
|  | 	if eval $$CMD; then \ | ||||||
|  | 		ls -l $(TARGET_CFG)/$(TARGET_FILE); \ | ||||||
|  | 	else \ | ||||||
|  | 		grep -a "ERROR:" $(LOG_FILE); \ | ||||||
|  | 	fi | ||||||
|  | 	 | ||||||
|  | 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 | ||||||
|  |  | ||||||
|  | maintainer-clean-local: | ||||||
|  | 	rm -f Makefile.in | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user