grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / system / AboutAROS / mmakefile.src
blobf5955b07a33f3d16b29d6b7e8295ec74240bb618
1 # Copyright © 2003, 2012, The AROS Development Team. All rights reserved.
2 # $Id$
4 include $(SRCDIR)/config/aros.cfg
6 FILES        := main aboutaros locale
7 EXEDIR       := $(AROS_SYSTEM)
9 SVNREV       := $(shell $(SRCDIR)/scripts/svnrev.sh $(SRCDIR))
10 USER_CFLAGS  := -DADATE="\"$(shell date '+%d.%m.%Y')\"" -DSVNREV=\"$(SVNREV)\"
11 USER_INCLUDES = -I$(TOP)/$(CURDIR) -I$(SRCDIR)/$(CURDIR)
13 #MM- workbench-system : workbench-system-aboutaros
14 #MM workbench-system-aboutaros : includes linklibs \
15 #MM     workbench-system-aboutaros-catalogs
17 #MM- clean :  aboutaros-clean
19 GENERATED = $(TOP)/$(CURDIR)/authors.h $(TOP)/$(CURDIR)/sponsors.h $(TOP)/$(CURDIR)/acknowledgements.h
21 $(GENDIR)/$(CURDIR)/aboutaros.d: $(GENERATED)
22 $(GENDIR)/$(CURDIR)/aboutaros.o: $(GENERATED)
24 %build_prog mmake=workbench-system-aboutaros \
25     progname=About targetdir=$(EXEDIR) \
26     files=$(FILES)
28 $(TOP)/$(CURDIR)/authors.h : $(SRCDIR)/$(CURDIR)/db/credits $(SRCDIR)/$(CURDIR)/scripts/authors2header.py
29         @$(ECHO) Generating $@
30         @$(PYTHON) $(SRCDIR)/$(CURDIR)/scripts/authors2header.py <$< >$@
32 $(TOP)/$(CURDIR)/sponsors.h : $(SRCDIR)/$(CURDIR)/db/sponsors $(SRCDIR)/$(CURDIR)/scripts/sponsors2header.py
33         @$(ECHO) Generating $@
34         @$(PYTHON) $(SRCDIR)/$(CURDIR)/scripts/sponsors2header.py <$< >$@
36 $(TOP)/$(CURDIR)/acknowledgements.h : $(SRCDIR)/ACKNOWLEDGEMENTS $(SRCDIR)/$(CURDIR)/scripts/acknowledgements2header.py
37         @$(ECHO) Generating $@
38         @$(PYTHON) $(SRCDIR)/$(CURDIR)/scripts/acknowledgements2header.py <$< >$@
40 #MM
41 aboutaros-clean :
42         $(RM) $(GENERATED)
44 %common