Subversion Repositories DevTools

Rev

Rev 371 | Rev 379 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 371 Rev 373
Line 8392... Line 8392...
8392
#--------- Targets -------------------------------------------------------------
8392
#--------- Targets -------------------------------------------------------------
8393
 
8393
 
8394
.PHONY: 	default all build install package unpackage uninstall \\
8394
.PHONY: 	default all build install package unpackage uninstall \\
8395
		clean unbuild clobber deploy
8395
		clean unbuild clobber deploy
8396
 
8396
 
8397
default:	make_usage
8397
default:
8398
all:		install package deploy
8398
all:		install package deploy
8399
build:		make_init generate install_hdr depend make_lib \\
8399
build:		make_init generate install_hdr depend make_lib \\
8400
		install_lib make_install_shlib make_prog install_class
8400
		install_lib make_install_shlib make_prog install_class
8401
install:	build install_prog
8401
install:	build install_prog
8402
package:	package_files package_hdr package_lib package_shlib package_prog \\
8402
package:	package_files package_hdr package_lib package_shlib package_prog \\
Line 9471... Line 9471...
9471
#-------------------------------------------------------------------------------
9471
#-------------------------------------------------------------------------------
9472
#   Standard rules
9472
#   Standard rules
9473
#
9473
#
9474
MakeHeader ("Standard rules");
9474
MakeHeader ("Standard rules");
9475
 
9475
 
9476
    print MAKEFILE <<EOF;
9476
print MAKEFILE <<EOF;
9477
.PHONY:		make_usage
-
 
9478
make_usage:
-
 
9479
	\@echo -e \\
-
 
9480
	" make [SHOWENV=1] [LEAVETMP=1] [OPTIONS=[opt][,...]] {DEBUG=0|1} target(s)\\n"\\
-
 
9481
	"\\n"\\
-
 
9482
	"Build one or more of the following targets for the platform\\n"\\
-
 
9483
	"$ScmPlatform, recursively checking each configured sub directories.\\n"\\
-
 
9484
	"\\n"\\
-
 
9485
	"Valid targets include:\\n"\\
-
 
9486
	"  all:             build, install and package\\n"\\
-
 
9487
	"  build:           build everything\\n"\\
-
 
9488
	"  debug:           build all things for debug\\n"\\
-
 
9489
	"  prod:            build all things for production\\n"\\
-
 
9490
	"  install:         install of public usage\\n"\\
-
 
9491
	"  depend:          construct the dependencies\\n"\\
-
 
9492
	"  lint:            lints C and C++ source\\n"\\
-
 
9493
	"  package:         build all packages\\n"\\
-
 
9494
	"  package-{set}:   build specific package\\n"\\
-
 
9495
	"  unpackage:       remove all packages\\n"\\
-
 
9496
	"  run_tests:       Run the tests specified in the makefile\\n"\\
-
 
9497
	"  run_unit_tests:  Run the automatic unit tests specified in the makefile\\n"\\
-
 
9498
	"  deploy:          Run the deployment scripts\\n"\\
-
 
9499
	"  rmlitter:        remove litter (core, bak, tmp, err and cmd files)\\n"\\
-
 
9500
	"  clean:           delete generate, obj, libraries and programs\\n"\\
-
 
9501
	"  unbuild:         delete everything which can be remade\\n"\\
-
 
9502
	"  clobber:         unbuilds and deletes packages\\n"\\
-
 
9503
EOF
-
 
9504
 
-
 
9505
    print MAKEFILE <<EOF;
-
 
9506
	"\\n"
-
 
9507
 
9477
 
-
 
9478
.PHONY:		make_clean
9508
make_clean:
9479
make_clean:
9509
	-\@echo "Removing generated files (objects, libraries, binaries etc)";
9480
	-\@echo "Removing generated files (objects, libraries, binaries etc)";
9510
 
9481
 
9511
#
9482
#
9512
#   Under windows/cygwin, there is a problem with the rm being used
9483
#   Under windows/cygwin, there is a problem with the rm being used