summaryrefslogtreecommitdiffstats
path: root/make/leaf.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 15:00:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 15:00:15 +0000
commitdf49c60c9671e4a28e636964d744c1f59fb6cb68 (patch)
treeeabd85e189514ad412a35414ba5d483dcda3ef1f /make/leaf.cfg
parent0ab65474316231792faec37ec1dbddeaf8645775 (diff)
downloadrtems-df49c60c9671e4a28e636964d744c1f59fb6cb68.tar.bz2
Merged from 4.5.0-beta3a
Diffstat (limited to '')
-rw-r--r--make/leaf.cfg8
1 files changed, 5 insertions, 3 deletions
diff --git a/make/leaf.cfg b/make/leaf.cfg
index 88f708cac8..a4f29aa6ef 100644
--- a/make/leaf.cfg
+++ b/make/leaf.cfg
@@ -42,13 +42,14 @@ ifeq (${DEPEND},$(wildcard ${DEPEND}))
include ${DEPEND} # pull in dependencies if they exist
endif
+ifndef AUTOMAKE
#
# Builtin targets for compilation variants
#
debug:
$(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) "ARCH=o-debug" \
"CFLAGS_DEBUG=$(CFLAGS_DEBUG_V)" \
- "CFLAGS_OPTIMIZE=$(CFLAGS_DEBUG_OPTIMIZE_V)" \
+ "CFLAGS_OPTIMIZE=$(CFLAGS_OPTIMIZE_V)" \
"LDFLAGS_DEBUG=$(LDFLAGS_DEBUG_V)" $(TARGET_VA)
profile:
@@ -56,6 +57,7 @@ profile:
MAKEFILE=$(MAKEFILE) "ARCH=o-profile" \
"CFLAGS_PROFILE=$(CFLAGS_PROFILE_V)" \
"LDFLAGS_PROFILE=$(LDFLAGS_PROFILE_V)" $(TARGET_VA)
+endif
#
# VARIANT_VA will convert our ${ARCH} back into "" or "debug" or "profile".
@@ -106,15 +108,15 @@ clean-am: clean-generic
distclean-am: distclean-generic clean-am
-$(RM) -r $(CLOBBER_OS) $(CLOBBER_CC) $(CLOBBER_DEPEND)
+ifndef AUTOMAKE
preinstall-am:
preinstall: preinstall-am
-ifndef AUTOMAKE
distclean: distclean-am
-$(RM) ./config.status
clean: clean-am
-endif
.PHONY: distclean distclean-am
.PHONY: clean clean-am
+endif