source: rtems/c/src/lib/libbsp/i386/ts_386ex/tools/debug_ada/Makefile.ts_386ex @ 3299388d

4.104.114.84.95
Last change on this file since 3299388d 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: 784 bytes
Line 
1#
2#  Makefile for debug example
3#
4
5MAIN=debug
6
7# Tool paths
8tooldir=/usr/local/rtems
9rtemsdir=${tooldir}/ts_386ex
10
11# Tool names
12GCC=${tooldir}/bin/i386-rtemself-gcc
13GNATMAKE=${tooldir}/bin/i386-rtemself-gnatmake
14SIZE=${tooldir}/bin/i386-rtemself-size
15SIS=${tooldir}/bin/sis
16GDB=${tooldir}/bin/sis-gdb
17
18CINCLUDES=
19
20AINCLUDES=-i -I../ts_1325_ada
21
22CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems \
23        -msoft-float -mno-fp-ret-in-387
24
25all: init.o
26        $(GNATMAKE) -O2 -g -gnata -gnatE -gnato -gnatn $(AINCLUDES) $(MAIN) \
27            -bargs -r \
28            -cargs $(CARGS) \
29            -largs $(CARGS) init.o
30        $(SIZE) $(MAIN)
31
32init.o: init.c
33        $(GCC) -O2 -g  -Wall -ansi -fasm $(CARGS) $(CINCLUDES) -c init.c
34
35run:
36        $(SIS) $(MAIN) 
37
38gdb:
39        $(GDB) $(MAIN) 
40
41clean:
42        rm -f b_$(MAIN).c b_$(MAIN).o *.o *.ali $(MAIN)
Note: See TracBrowser for help on using the repository browser.