summaryrefslogtreecommitdiff
path: root/fingerd/Makefile
blob: 6f956bcee071d06a3ef0029a739f13eb8ca37d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: fingerd

include ../MCONFIG
include ../MRULES

fingerd: fingerd.o
	$(CC) $(LDFLAGS) $^ $(LIBS) -o $@

fingerd.o: pathnames.h ../version.h

install: fingerd
	install -s -m$(DAEMONMODE) fingerd $(INSTALLROOT)$(SBINDIR)/in.fingerd
	install -m$(MANMODE) fingerd.8 $(INSTALLROOT)$(MANDIR)/man8/in.fingerd.8
	ln -sf in.fingerd.8 $(INSTALLROOT)$(MANDIR)/man8/fingerd.8

clean:
	rm -f *.o fingerd