source: rtems/c/src/lib/libbsp/i386/i386ex/startup/Makefile.in @ 7359911

4.104.114.84.95
Last change on this file since 7359911 was 7359911, checked in by Joel Sherrill <joel.sherrill@…>, on 12/15/98 at 19:40:27

Patch from Ralf Corsepius <corsepiu@…>:

Some Makefile.ins depend on gcc by hard-coded gcc-specific compiler
flags:

-g added to CFLAGS /LDFLAGS in

find . -name Makefile.in -exec grep -l ' \-g' {} \;

./c/src/lib/libbsp/i386/i386ex/startup/Makefile.in
./c/src/lib/libbsp/i386/pc386/tools/Makefile.in

-Wall added CFLAGS in

find . -name Makefile.in -exec grep -l ' \-Wall' {} \;

./c/src/exec/score/tools/sh/Makefile.in
./c/src/lib/libbsp/i386/pc386/tools/Makefile.in

Both -g and -Wall should not be used in any Makefile.in (Yes, I know,
tools/sh/Makefile.in was written by me :-).

I'd like to propose to remove these flags from the files mentioned
above.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@:@srcdir@/../../../shared:@srcdir@/../../shared/comm:@srcdir@/../../shared/irq:@srcdir@/../../shared/io
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11PGM=${ARCH}/startup.rel
12
13# C source names, if any, go here -- minus the .c
14C_PIECES=bspclean bsplibc bsppost bspstart main sbrk irq irq_init i386-stub-glue uart i386-stub
15
16C_FILES=$(C_PIECES:%=%.c)
17C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
18
19H_FILES=
20
21# Assembly source names, if any, go here -- minus the .S
22# removed initcsu piece, ldsegs piece and flush
23S_PIECES=irq_asm
24S_FILES=$(S_PIECES:%=%.S)
25S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
26
27SRCS=$(srcdir)/linkcmds $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
28OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
29
30include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
31include $(RTEMS_ROOT)/make/leaf.cfg
32
33#
34# (OPTIONAL) Add local stuff here using +=
35#
36
37#DEFINES  += -DPRINTON
38
39DEFINES  += -I$(srcdir) -DBSP_IS_I386EX=1
40CPPFLAGS +=
41CFLAGS   +=
42
43LD_PATHS  +=
44LD_LIBS   +=
45LDFLAGS   +=
46
47#
48# Add your list of files to delete here.  The config files
49#  already know how to delete some stuff, so you may want
50#  to just run 'make clean' first to see what gets missed.
51#  'make clobber' already includes 'make clean'
52#
53
54CLEAN_ADDITIONS +=
55CLOBBER_ADDITIONS +=
56
57preinstall:
58        $(INSTALL) ${IMPORT_SRC} .
59
60#       ${CP} ${IMPORT_SRC} .
61
62${PGM}: ${SRCS} ${OBJS}
63        $(make-rel)
64all:    ${ARCH} preinstall $(SRCS) $(PGM)
65        $(INSTALL) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
66
67# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
68install:  all
69
Note: See TracBrowser for help on using the repository browser.