1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-05 19:40:52 -07:00
moth/pwnables/daemons/Makefile
2009-10-05 17:09:20 -06:00

21 lines
534 B
Makefile

SBIN = in.fingerd in.noted
BIN = notecli
TARGET ?= $(CURDIR)/target
FAKE = fakeroot -s $(CURDIR)/fake -i $(CURDIR)/fake
INSTALL = $(FAKE) install
all: $(SBIN) $(BIN)
install: all
$(INSTALL) -d $(TARGET)/usr/sbin
$(INSTALL) -s $(SBIN) $(TARGET)/usr/sbin
$(INSTALL) -d $(TARGET)/usr/bin
$(INSTALL) -s $(BIN) $(TARGET)/usr/bin
$(INSTALL) -d $(TARGET)/var/service/fingerd
$(INSTALL) run.fingerd $(TARGET)/var/service/fingerd/run
$(INSTALL) -d $(TARGET)/var/service/noted
$(INSTALL) run.noted $(TARGET)/var/service/noted/run