source: rtems/c/src/automake/compile.am @ 518edef

4.104.114.84.95
Last change on this file since 518edef was ea3f559, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/05/05 at 17:52:33

2005-01-05 Ralf Corsepius <ralf.corsepius@…>

  • configure.ac: Pass CFLAGS to cpukit configure.
  • aclocal/rtems-flags.m4: Remove (Unused).
  • aclocal/prog-ccas.m4: Remove $(GCCSPECS).
  • aclocal/env-rtemsbsp.m4: Comment out CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CPU_CFLAGS.
  • aclocal/prog-cc.m4: Don't invoke _RTEMS_FLAGS to set up RTEMS_CFLAGS.
  • automake/compile.am: AM_CFLAGS = RTEMS_CFLAGS. Add AM_CXXFLAGS. Remove CPPFLAGS, CFLAGS, CPU_CFLAGS, CFLAGS_OPTIMIZE, ASFLAGS. Cleanup comments.
  • Property mode set to 100644
File size: 587 bytes
Line 
1##
2## $Id$
3##
4
5## RTEMS_USE_GCC     .. if we are using GCC
6
7if RTEMS_USE_GCC
8## All the stuff below is specific to gcc
9GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
10endif # RTEMS_USE_GCC
11
12depend:
13
14if RTEMS_USE_GCC
15RTEMS_RELLDFLAGS = -qnolinkcmds -nostdlib -Wl,-r
16endif
17
18## -------------------------------------------------------------------------
19
20CC = @CC@ $(GCCSPECS)
21CXX = @CXX@ $(GCCSPECS)
22CPP = @CPP@ $(GCCSPECS)
23CCAS = @CCAS@ $(GCCSPECS)
24
25##
26AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
27AM_CFLAGS = $(RTEMS_CFLAGS)
28AM_CXXFLAGS = $(RTEMS_CFLAGS)
29AM_CCASFLAGS = $(RTEMS_CPPFLAGS) $(RTEMS_CCASFLAGS)
Note: See TracBrowser for help on using the repository browser.