File: Makefile.am

package info (click to toggle)
globus-gatekeeper 11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,560 kB
  • sloc: sh: 11,518; ansic: 2,528; makefile: 131
file content (57 lines) | stat: -rw-r--r-- 1,371 bytes parent folder | download | duplicates (2)
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
DIST_SUBDIRS = config init

if BUILD_GATEKEEPER
SUBDIRS = $(DIST_SUBDIRS)

logdir = ${localstatedir}/log
logrotatedir = ${sysconfdir}/logrotate.d

sbin_PROGRAMS = \
	globus-gatekeeper \
	globus-k5
man_MANS = globus-gatekeeper.8 globus-k5.8
doc_DATA = GLOBUS_LICENSE

AM_CPPFLAGS = $(PACKAGE_DEP_CFLAGS) $(OPENSSL_CFLAGS)

globus_gatekeeper_LDADD = $(PACKAGE_DEP_LIBS) $(OPENSSL_LIBS)
globus_gatekeeper_CPPFLAGS = \
    $(AM_CPPFLAGS) \
    -DGLOBUS_LOCATION=\"$(prefix)\" -DGLOBUS_LOG_DIR=\"$(localstatedir)\"
globus_gatekeeper_SOURCES = \
	globus_gatekeeper.c \
	globus_gatekeeper_utils.h \
	globus_gatekeeper_utils.c

globus_k5_LDADD = $(PACKAGE_DEP_LIBS) $(OPENSSL_LIBS)
globus_k5_CPPFLAGS = $(AM_CPPFLAGS)
globus_k5_SOURCES = globus_k5.c globus_gatekeeper_utils.c

install-data-hook: gatekeeper.logrotate
	mkdir -p $(DESTDIR)$(logdir)
	mkdir -p $(DESTDIR)$(logrotatedir)
	cp gatekeeper.logrotate $(DESTDIR)$(logrotatedir)/globus-gatekeeper

SUFFIXES = .logrotatein .logrotate
.logrotatein.logrotate:
	sed -e 's|@LOGDIR@|${localstatedir}/log|' < $< > $@

CLEANFILES = gatekeeper.logrotate

EXTRA_DIST=$(doc_DATA) $(man_MANS) \
        globus-gatekeeper.txt \
        globus-k5.txt \
        gatekeeper.logrotatein

if BUILD_MANPAGES
SUFFIXES += .txt .8

.txt.8:
	$(A2X) -d manpage -f manpage $<

MAINTAINERCLEANFILES = $(man_MANS)
endif
endif

distuninstallcheck:
	@: