summaryrefslogtreecommitdiff
path: root/fingerd/Makefile
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-02-08 05:13:11 +0000
committerKatolaZ <katolaz@freaknet.org>2019-02-08 05:13:11 +0000
commit172540a4a29fa4c0c5f0431bb5bf5b3d08ec92c0 (patch)
treeac15b0b8ae60a42ffe04b3fd37cf2fbc97b2ddd6 /fingerd/Makefile
New upstream version 0.17upstream
Diffstat (limited to 'fingerd/Makefile')
-rw-r--r--fingerd/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/fingerd/Makefile b/fingerd/Makefile
new file mode 100644
index 0000000..6f956bc
--- /dev/null
+++ b/fingerd/Makefile
@@ -0,0 +1,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
+