summaryrefslogtreecommitdiffstats
path: root/dumpwebpage/Makefile
blob: 3f61022131f151bc71c3db79386f44b46036ecd5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
#  Makefile for Ada Dump URL example
#
#  See README.Makefiles in the main ada-examples directory.
#
#  $Id$
#

PROGRAM=dumpwebpage

include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg

# stack size for the first Ada thread
CFLAGS +=-DGNAT_MAIN_STACKSPACE=100

# initialize the network stack -- assumes existence of networkconfig.h
CFLAGS +=-DMAIN_USE_NETWORKING=1

# Should we prompt for command line arguments?
# DEFINES +=-DMAIN_USE_REQUIRES_COMMAND_LINE

# If you want to hard-code the command line, define this to a string
# DEFINES += -DMAIN_COMMAND_LINE="ARGS"

# Some tests need to be able to do a gethostbyname
NEED_ROOTFS_FOR_HOST_INFO=yes

include ../Makefile.shared