source: rtems/c/src/lib/libbsp/i386/ts_386ex/startup/Makefile.in @ 1d4048b2

4.104.114.84.95
Last change on this file since 1d4048b2 was 1d4048b2, checked in by Joel Sherrill <joel.sherrill@…>, on 08/11/99 at 23:45:57

Patch from Tony R. Ambardar <tonya@…>:

I'm attaching a big patch for the ts_386ex BSP which adds and includes
the following:

1) Conversion to ELF format + minor code cleanups + documentation.

2) An Ada95 binding to FreeBSD sockets, based on Samuel Tardieu's

adasockets-0.1.3 package. This includes some sample applications.

3) Some Ada and C interfaces to add serial-port debugging to

programs. Comes with examples, too; the Ada one shows how
transparent adding the support can be. Note that Rosimildo sent me
the original C code.

The network stuff is not BSP specific, and could be added to your Ada
code collection. The debugging stuff is specific to the i386. Right
now, everything sits in my "tools" directory.

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