source: rtems/c/src/lib/libbsp/i386/ts_386ex/tools/network_ada/listener/Makefile.ts_386ex @ 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: 828 bytes
Line 
1#
2#  Makefile for network listener example
3#
4
5MAIN=listener
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=-I/usr/local/rtems/ts_386ex/lib/include/networking
19
20AINCLUDES=-i -I/usr/local/rtems/lib/adasockets
21
22CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems
23
24all: init.o
25        $(GNATMAKE) -v -O -gnata -gnatE -gnato $(AINCLUDES) $(MAIN) -g \
26            -bargs -r \
27            -cargs $(CARGS) \
28            -largs $(CARGS) init.o
29        $(SIZE) $(MAIN)
30
31
32
33init.o: init.c
34        $(GCC) -O4 -g  -Wall -ansi -fasm $(CARGS) $(CINCLUDES) -c init.c
35
36run:
37        $(SIS) $(MAIN) 
38
39gdb:
40        $(GDB) $(MAIN) 
41
42clean:
43        rm -f b_$(MAIN).c b_$(MAIN).o *.o *.ali $(MAIN)
Note: See TracBrowser for help on using the repository browser.