summaryrefslogtreecommitdiffstats
path: root/dumpwebpage/Makefile
diff options
context:
space:
mode:
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