grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / c / Shell / mmakefile.src
blob9aeed182fa8e9d550e7b5c16f60d605bfa73fcdf
1 #   $Id$
3 #   Makefile for the shell
5 include $(SRCDIR)/config/aros.cfg
7 FILES := \
8         Shell \
9         buffer \
10         cliEcho \
11         cliLen \
12         cliNan \
13         cliPrompt \
14         cliVarNum \
15         convertArg \
16         convertBackTicks \
17         convertLineDot \
18         convertRedir \
19         convertVar \
20         convertLine \
21         interpreter \
22         redirection \
23         readLine
25 USER_CFLAGS += -DADATE="\"$(shell date "+%d.%m.%Y")\"" \
26                -D__DOS_NOLIBBASE__
27 USER_LDFLAGS := -static
29 #MM- workbench-c : workbench-c-shell
31 #MM- workbench-c-quick : workbench-c-shell-quick
33 #MM  workbench-c-shell : includes linklibs workbench-libs-dos-catalogs
35 %build_prog mmake=workbench-c-shell     progname=UserShell-Seg \
36     files=$(FILES) targetdir=$(AROS_FS) \
37     usestartup="no"
39 USER_CFLAGS += -DUSE_EMBEDDED_COMMANDS
40 OBJDIR := $(OBJDIR).kernel
42 %build_module mmake=kernel-shell \
43   modname=shell modtype=resource \
44   files="shell_init $(FILES)"
46 %common