summaryrefslogtreecommitdiff
path: root/package/targets.mak
blob: f78cd328a99e91349181113f2dd6229e69ac94b0 (plain)
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
BIN_TARGETS := \
s6-linux-init \
s6-linux-init-hpr \
s6-linux-init-shutdown \
s6-linux-init-shutdownd \
s6-linux-init-telinit \
s6-linux-init-logouthookd \
s6-linux-init-echo \
s6-linux-init-nuke \
s6-linux-init-umountall \
s6-linux-init-maker

OS := $(shell uname | tr A-Z a-z)
EXTRA_TARGETS := libhpr.a.xyzzy libos-$(OS).a.xyzzy

LIB_DEFS := S6_LINUX_INIT=s6_linux_init

SKELFILES := $(wildcard skel/*)

$(DESTDIR)$(skeldir)/%: skel/%
	./tools/install.sh -D -m 0755 $< $@

install-skel: $(SKELFILES:skel/%=$(DESTDIR)$(skeldir)/%)

.PHONY: install-skel

install: install-skel