summaryrefslogtreecommitdiff
path: root/shell/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Makefile')
-rw-r--r--shell/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/shell/Makefile b/shell/Makefile
new file mode 100644
index 0000000..43ccc72
--- /dev/null
+++ b/shell/Makefile
@@ -0,0 +1,35 @@
+#
+# $Id$
+#
+
+PROGRAM=shell
+
+include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
+include $(RTEMS_CUSTOM)
+include $(PROJECT_ROOT)/make/leaf.cfg
+
+LINKARGS += -ltelnetd
+
+# 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"
+
+# Do we have extra configuration?
+DEFINES += -DHAS_EXTRA_CONFIGURATION
+
+# Some tests need to be able to do a gethostbyname
+NEED_ROOTFS_FOR_HOST_INFO=yes
+
+EXTRA_OBJS=shell_init.o
+
+include ../Makefile.shared
+
+shell_init.o: shell_init.c