-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmmakefile.src
47 lines (38 loc) · 1.18 KB
/
mmakefile.src
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# SerialEcho
# Dumps a line to serial output.
#
# Copyright © 2005-2014 Christian Rosentreter
# All rights reserved.
#
# This software is released under a three-clause BSD-style
# license, see the LICENCE document for details.
#
#
# $Id: mmakefile.src 21 2014-02-09 00:44:15Z tokai $
#
#
# AROS metamakefile
#
include $(TOP)/config/make.cfg
#MM contrib-serialecho : linklibs includes
EXE := SerialEcho
FILES := serialecho
TARGETDIR := $(AROS_C)
RELEASEDIR := $(TOP)/releases
PACKAGE := serialecho.i386-aros.tar
%build_prog mmake=contrib-serialecho progname=$(EXE) files=$(FILES) targetdir=$(TARGETDIR) \
uselibs="arossupport amiga arosc m" usestartup=no
#MM contrib-serialecho-release : contrib-serialecho
contrib-serialecho-release :
$(RM) $(RELEASEDIR)/serialecho
$(RM) $(TOP)/$(PACKAGE)
$(MKDIR) $(RELEASEDIR)/serialecho
$(CP) $(TARGETDIR)/$(EXE) $(RELEASEDIR)/serialecho
$(TARGET_STRIP) $(RELEASEDIR)/serialecho/$(EXE)
$(CP) LICENSE $(RELEASEDIR)/serialecho
$(CP) SerialEcho.readme $(RELEASEDIR)/serialecho
$(CP) SerialEcho.notes $(RELEASEDIR)/serialecho
tar -C $(RELEASEDIR) -cf $(TOP)/$(PACKAGE) serialecho
gzip -f -9 $(TOP)/$(PACKAGE)
%common