-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.in
56 lines (45 loc) · 1.4 KB
/
Makefile.in
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# $Id: Makefile.in,v 1.2 1999-10-19 20:23:31 danw Exp $
SHELL=/bin/sh
VPATH=@srcdir@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
MKDIR_P=@MKDIR_P@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
sbindir=@sbindir@
includedir=@includedir@
mandir=@mandir@
CC=@CC@
DEFS=@DEFS@
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@ ${WARN_CFLAGS}
LDFLAGS=@LDFLAGS@
LIBS=@HESIOD_LIBS@ @LIBS@ -lcares
ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}
OBJS=config.o larvnetd.o printer.o report.o timer.o util.o ws.o
all: larvnetd
larvnetd: ${OBJS}
${CC} ${LDFLAGS} -o larvnetd ${OBJS} ${LIBS}
.c.o:
${CC} -c ${ALL_CFLAGS} $<
${OBJS}: larvnetd.h timer.h
check:
install:
${MKDIR_P} ${DESTDIR}${sbindir}
${MKDIR_P} ${DESTDIR}${includedir}
${MKDIR_P} ${DESTDIR}${mandir}/man5
${MKDIR_P} ${DESTDIR}${mandir}/man8
${MKDIR_P} ${DESTDIR}${includedir}
${INSTALL_PROGRAM} larvnetd ${DESTDIR}${sbindir}
${INSTALL} -m 444 ${srcdir}/larvnetd.8 ${DESTDIR}${mandir}/man8
${INSTALL} -m 444 ${srcdir}/larvnet.conf.5 ${DESTDIR}${mandir}/man5
${INSTALL} -m 444 ${srcdir}/larvnet.cgroups.5 ${DESTDIR}${mandir}/man5
${INSTALL} -m 444 ${srcdir}/larvnet.clusters.5 ${DESTDIR}${mandir}/man5
${INSTALL} -m 444 ${srcdir}/larvnet.printers.5 ${DESTDIR}${mandir}/man5
${INSTALL} -m 444 ${srcdir}/larvnet.h ${DESTDIR}${includedir}
clean:
rm -f ${OBJS} larvnetd
distclean: clean
rm -f config.cache config.log config.status Makefile