source: ada-examples/ada_from_c_task/Makefile @ 853760a

ada-examples-4-9-branch ada-examples-4-9-6
Last change on this file since 853760a was 8325959, checked in by Joel Sherrill <joel.sherrill@…>, on 07/23/08 at 18:08:05

2008-07-23 Joel Sherrill <joel.sherrill@…>

  • Makefile, ada_from_c.adb, app.c, config.h, example.adb, example.ads: New files. New test to demonstrate C calling Ada.
  • Property mode set to 100644
File size: 833 bytes
Line 
1#
2#  Makefile for Ada Dump URL example
3#
4#  See README.Makefiles in the main ada-examples directory.
5#
6
7PROGRAM=ada_from_c
8
9include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
10include $(RTEMS_CUSTOM)
11include $(PROJECT_ROOT)/make/leaf.cfg
12
13# stack size for the first Ada thread
14CFLAGS +=-DGNAT_MAIN_STACKSPACE=100
15
16# initialize the network stack -- assumes existence of networkconfig.h
17# CFLAGS +=-DMAIN_USE_NETWORKING=1
18
19# Should we prompt for command line arguments?
20# DEFINES +=-DMAIN_USE_REQUIRES_COMMAND_LINE
21
22# Do we have a C initialization helper?
23DEFINES +=-DMAIN_CALL_C_INITIALIZE_APPLICATION
24
25# Do we have extra configuration
26DEFINES +=-DHAS_EXTRA_CONFIGURATION
27
28# If you want to hard-code the command line, define this to a string
29# DEFINES += -DMAIN_COMMAND_LINE="ARGS"
30
31EXTRA_OBJS=app.o
32
33include ../Makefile.shared
34
35app.o: app.c
Note: See TracBrowser for help on using the repository browser.