File: Makefile.am

package info (click to toggle)
quintuple-agent 1.0.4-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,956 kB
  • ctags: 1,287
  • sloc: ansic: 11,724; sh: 3,999; makefile: 387; yacc: 316; sed: 16
file content (53 lines) | stat: -rw-r--r-- 1,690 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
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = gnits

SUBDIRS = debian doc intl lib m4 po . test

EXTRA_DIST = config.rpath mkinstalldirs autogen.sh BUGS
EXTRA_PROGRAMS = secret-query secret-ask
bin_PROGRAMS = agpg apgp q-agent q-client @GTK_STUFF@

localedir = $(datadir)/locale
INCLUDES = -I$(top_srcdir)/lib -Iintl -DLOCALEDIR=\"$(localedir)\" \
	$(GLIB_CFLAGS) $(GTK_CFLAGS)

LDADD = lib/libutil.a @LIBINTL@ $(LIBCAP)

agpg_SOURCES = agpg.c agentlib.c util.c secmem.c memory.h

apgp_SOURCES = apgp.c agentlib.c util.c secmem.c memory.h

secret_ask_LDADD = lib/libutil.a @LIBINTL@ $(GTK_LIBS)
secret_ask_SOURCES = secret-ask.c i18n.h

secret_query_LDADD = lib/libutil.a @LIBINTL@ $(GTK_LIBS) $(LIBCAP)
secret_query_SOURCES = secret-query.c i18n.h gtksecentry.c gtksecentry.h \
	secmem.c memory.h util.c util.h

q_client_SOURCES = client.c agent.h agentlib.c agentlib.h util.c util.h \
	i18n.h secmem.c memory.h

q_agent_LDADD = lib/libutil.a @LIBINTL@ $(GLIB_LIBS) $(LIBCAP)
q_agent_SOURCES = agent.c agent.h util.c util.h secmem.c i18n.h memory.h

lib/libutil.a:
	cd lib && $(MAKE) $(AM_MAKEFLAGS) libutil.a

agent.o: agent.c
	$(COMPILE) $(GLIB_CFLAGS) -c $<

install-exec-local:
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  echo "  $(SETCAP) cap_ipc_lock+p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
	  $(SETCAP) cap_ipc_lock+p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'` || true; \
	done

distclean-local:
	rm -f config.cache config.log build-stamp

signed-dist: $(distdir).tar.gz.sig

%.sig: %
	agpg --detach-sign $<

ACLOCAL_AMFLAGS = -I m4