blob: 16f8a75c231890ec29262c46c2110540ef567378 (
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
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
# This file is part of GNU Pies.
# Copyright (C) 2008-2019 Sergey Poznyakoff
#
# GNU Pies is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GNU Pies is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Pies. If not, see <http://www.gnu.org/licenses/>. */
sbin_PROGRAMS = pies
bin_PROGRAMS = piesctl
pies_SOURCES = \
acl.c\
comp.c\
ctl.c\
depmap.c\
diag.c\
inetd.c\
inetd-bi.c\
limits.c\
meta1parse.c\
pies.c\
progman.c\
socket.c\
sysdep.c\
sysvinit.c\
utmp.c\
userprivs.c
noinst_HEADERS = \
acl.h\
cmdline.h\
meta1parse.h\
pies.h\
prog.h\
piesctl-cl.h\
telinit.h
BUILT_SOURCES=cmdline.h piesctl-cl.h telinit.h
incdir=$(pkgdatadir)/$(VERSION)/include
inc_DATA = pp-setup
EXTRA_DIST = cmdline.opt piesctl-cl.opt telinit.opt pp-setup inetd.in
SUFFIXES=.opt .c .h
.opt.h:
$(AM_V_GEN)m4 -s $(top_srcdir)/@GRECS_SUBDIR@/build-aux/getopt.m4 $< > $@
cmdline.h: cmdline.opt
piesctl-cl.h: piesctl-cl.opt
telinit.h: telinit.opt
pies_LDADD = \
../ident/libident.a\
../lib/libpies.a\
@GRECS_LDADD@\
../gnu/libgnu.a\
$(MF_PROCTITLE_LIBS)\
@PAM_LIBS@
piesctl_SOURCES = piesctl.c
piesctl_LDADD = \
../lib/libpies.a\
@GRECS_LDADD@\
../gnu/libgnu.a
pkgstatedir=$(localstatedir)/pies
AM_CPPFLAGS=\
-I$(top_srcdir)/lib\
-I$(top_srcdir)/ident\
-I$(top_srcdir)/gnu\
-I$(top_builddir)/gnu\
@GRECS_INCLUDES@\
-DDEFAULT_PREPROCESSOR="$(DEFAULT_PREPROCESSOR)"\
-DDEFAULT_VERSION_INCLUDE_DIR=\"$(incdir)\"\
-DDEFAULT_INCLUDE_DIR=\"$(pkgdatadir)/include\"\
-DDEFAULT_STATE_DIR=\"$(pkgstatedir)\"\
-DDEFAULT_PIES_CONTROL_URL='"$(DEFAULT_PIES_CONTROL_URL)"'\
-DDEFAULT_INIT_CONTROL_URL='"$(DEFAULT_INIT_CONTROL_URL)"'\
-DEMERGENCY_SHELL='"$(EMERGENCY_SHELL)"'
EXTRA_SCRIPTS = inetd
sbin_SCRIPTS = @INETD@
inetd: inetd.in
$(AM_V_GEN)sed 's|_SBINDIR_|$(sbindir)|' \
$(top_srcdir)/src/inetd.in > $(top_builddir)/src/inetd
install-data-hook:
test -d $(DESTDIR)$(pkgstatedir) || $(MKDIR_P) $(DESTDIR)$(pkgstatedir)
|