summaryrefslogtreecommitdiffstats
path: root/dumpwebpage/Makefile
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-27 14:43:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-09-27 14:43:02 +0000
commit09ee756ce5a4553e280bfe542c5859ec8e36cc55 (patch)
treef91a62db1e9fc5c075af7b7ba479a40c3a644833 /dumpwebpage/Makefile
parent2007-09-27 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadada-examples-09ee756ce5a4553e280bfe542c5859ec8e36cc55.tar.bz2
2007-09-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, Makefile, README, dumpwebpage.adb: New files.
Diffstat (limited to 'dumpwebpage/Makefile')
-rw-r--r--dumpwebpage/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/dumpwebpage/Makefile b/dumpwebpage/Makefile
new file mode 100644
index 0000000..3f32bf2
--- /dev/null
+++ b/dumpwebpage/Makefile
@@ -0,0 +1,28 @@
+#
+# Makefile for Ada Dump URL example
+#
+# See README.Makefiles in the main ada-examples directory.
+#
+
+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