forked from residualvm/residualvm-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathports.mk
30 lines (25 loc) · 928 Bytes
/
ports.mk
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
# This file contains port specific Makefile rules. It is automatically
# included by the default (main) Makefile.
#
#
# UNIX specific
#
install: all
$(INSTALL) -d "$(DESTDIR)$(BINDIR)"
$(INSTALL) -c -s -m 755 "./$(EXECUTABLE)" "$(DESTDIR)$(BINDIR)/$(EXECUTABLE)"
$(INSTALL) -d "$(DESTDIR)$(PREFIX)/share/doc/residualvm-tools/"
$(INSTALL) -c -m 644 $(DIST_FILES_DOCS) "$(DESTDIR)$(PREFIX)/share/doc/residualvm-tools/"
$(INSTALL) -d "$(DESTDIR)$(DATADIR)/residualvm-tools/"
$(INSTALL) -c -m 644 $(DIST_FILES_THEMES) "$(DESTDIR)$(DATADIR)/residualvm-tools/"
#$(INSTALL) -c -m 644 $(DIST_FILES_ENGINEDATA) "$(DESTDIR)$(DATADIR)/residualvm-tools/"
uninstall:
rm -f "$(DESTDIR)$(BINDIR)/$(EXECUTABLE)"
rm -rf "$(DESTDIR)$(PREFIX)/share/doc/residualvm-tools/"
rm -rf "$(DESTDIR)$(DATADIR)/residualvm-tools/"
#
# ARM specific
#
ifdef USE_TREMOLO
DEFINES += -DUSE_TREMOR -DUSE_VORBIS -DUSE_TREMOLO
LIBS += -ltremolo
endif