source: rtems/c/src/lib/libbsp/i386/i386ex/start/Makefile.in @ 2c3840b

4.104.114.84.95
Last change on this file since 2c3840b was 2c3840b, checked in by Joel Sherrill <joel.sherrill@…>, on 09/30/98 at 20:58:39

Added new autoconf test for i386 code16/code32 support. The guts of the
test were suggested by Ian Taylor <ian@…> and Joel did the
hard part of putting it in aclocal and editting all the offending
Makefiles and source code which could use this feature.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10RTEMS_GAS_CODE16 = @RTEMS_GAS_CODE16@
11
12PGMS=${ARCH}/start.o
13
14# C source names, if any, go here -- minus the .c
15C_PIECES=
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
22S_PIECES=start
23S_FILES=$(S_PIECES:%=%.s)
24S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
25
26SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
27OBJS=$(C_O_FILES) $(S_O_FILES)
28
29include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
30include $(RTEMS_ROOT)/make/leaf.cfg
31
32#
33# (OPTIONAL) Add local stuff here using +=
34#
35
36ifeq ($(RTEMS_GAS_CODE16),yes)
37DEFINES  += -DNEXT_GAS
38endif
39CPPFLAGS +=
40CFLAGS   +=
41
42LD_PATHS  +=
43LD_LIBS   +=
44LDFLAGS   +=
45
46#
47# Add your list of files to delete here.  The config files
48#  already know how to delete some stuff, so you may want
49#  to just run 'make clean' first to see what gets missed.
50#  'make clobber' already includes 'make clean'
51#
52
53CLEAN_ADDITIONS +=
54CLOBBER_ADDITIONS +=
55
56all:    ${ARCH} $(SRCS) $(OBJS) $(PGM)
57        $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/lib
58
59# Install the program(s), appending _g or _p as appropriate.
60# for include files, just use $(INSTALL)
Note: See TracBrowser for help on using the repository browser.