diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-18 12:40:14 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-18 12:40:14 +0000 |
commit | 79992cd992aad58bc0bfc69ca76ba8ea7d13f064 (patch) | |
tree | 237306355b9328de528f7b7c51e640eab8a39597 /include | |
parent | 23205434801ff9096098135bc7ddfee3976adb01 (diff) | |
download | ATCD-79992cd992aad58bc0bfc69ca76ba8ea7d13f064.tar.gz |
added $(TEMPLATE_REPOSITORY) to OBJDIRS, so that individual platforms can add template repository directories for creation.
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/rules.local.GNU | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/makeinclude/rules.local.GNU b/include/makeinclude/rules.local.GNU index f14eeda993b..ec38934f90f 100644 --- a/include/makeinclude/rules.local.GNU +++ b/include/makeinclude/rules.local.GNU @@ -1,15 +1,20 @@ #---------------------------------------------------------------------------- # $Id$ # -# Local targets +# Local targets # GNU version # Requires GNU make #---------------------------------------------------------------------------- -ifndef OBJDIRS -OBJDIRS = .obj .shobj # .obj_debug .obj_profile .obj_optimize +ifndef OBJDIRS + OBJDIRS = .obj .shobj # .obj_debug .obj_profile .obj_optimize endif # OBJDIRS +#### TEMPLATE_REPOSITORY can be set in individual platform files +#### to create template repository directories. See +#### platform_sunos5_sunc++.GNU for an example. +OBJDIRS += $(TEMPLATE_REPOSITORY) + all.local: build.objdirs build.local install.local #---------------------------------------------------------------------------- @@ -166,7 +171,7 @@ depend.local: $(MAKEFILE) -e "s;\([-a-zA-Z0-9._]*\)\.o:;.obj/\1.o $(VSHDIR)\1.$(SOEXT):;" ;\ fi \ > $(MAKEFILE).new - @mv $(MAKEFILE).new $(MAKEFILE) + @mv $(MAKEFILE).new $(MAKEFILE) @if cmp -s $(MAKEFILE) $(MAKEFILE).old ;\ then echo "Makefile dependencies unchanged." ;\ else \ |