2002-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* automake/compile.am: Remove LDFLAGS_INCOMPLETE.
	Remove LDFLAGS.
	Add CCAS, CCASCOMPILE.
	Remove compilation rules for *.cpp, *.cxx, *.C.
	Use CCASCOMPILE to compile *.S.
	Add -pg to RTEMS_CFLAGS_PROFILE_V.
This commit is contained in:
Ralf Corsepius
2002-12-01 08:01:04 +00:00
parent 472f35a1d1
commit 29d82b2506
2 changed files with 15 additions and 20 deletions

View File

@@ -1,3 +1,12 @@
2002-12-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Remove LDFLAGS_INCOMPLETE.
Remove LDFLAGS.
Add CCAS, CCASCOMPILE.
Remove compilation rules for *.cpp, *.cxx, *.C.
Use CCASCOMPILE to compile *.S.
Add -pg to RTEMS_CFLAGS_PROFILE_V.
2002-11-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2002-11-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove c/make. * configure.ac: Remove c/make.

View File

@@ -66,12 +66,6 @@ CFLAGS_PROFILE_V=-pg
CXXFLAGS_PROFILE_V=-pg CXXFLAGS_PROFILE_V=-pg
LDFLAGS_PROFILE_V = LDFLAGS_PROFILE_V =
# ld flag for incomplete link
LDFLAGS_INCOMPLETE = -r
# ld flags for profiling, debugging
LDFLAGS=$(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG)
# #
# Client compiler and support tools # Client compiler and support tools
# #
@@ -92,6 +86,10 @@ CXXLD = $(CXX)
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \ CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@ $(AM_LDFLAGS) $(LDFLAGS) -o $@
CCAS = $(CC)
CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
# OBSOLETE: Don't use
AS = $(CC) AS = $(CC)
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS) ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
@@ -103,21 +101,9 @@ ${ARCH}/%.o: %.cc
test -d $(ARCH) || mkdir $(ARCH) test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $< ${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.cpp
test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.cxx
test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.C
test -d $(ARCH) || mkdir $(ARCH)
${CXXCOMPILE} -o $@ -c $<
${ARCH}/%.o: %.S ${ARCH}/%.o: %.S
test -d $(ARCH) || mkdir $(ARCH) test -d $(ARCH) || mkdir $(ARCH)
${ASCOMPILE} -DASM -o $@ -c $< ${CCASCOMPILE} -DASM -o $@ -c $<
# Dependency files for use by gmake # Dependency files for use by gmake
# NOTE: we don't put them into $(ARCH) # NOTE: we don't put them into $(ARCH)
@@ -219,7 +205,7 @@ if RTEMS_USE_GCC
## gcc >= gcc-2.8 ## gcc >= gcc-2.8
RTEMS_CFLAGS_OPTIMIZE_V = RTEMS_CFLAGS_OPTIMIZE_V =
RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
RTEMS_CFLAGS_PROFILE_V = RTEMS_CFLAGS_PROFILE_V = -pg
## non-gcc ## non-gcc
## We can't guess what flags might be required here. ## We can't guess what flags might be required here.