File: Makefile.am

package info (click to toggle)
pam-u2f 1.0.7-1+deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,900 kB
  • sloc: sh: 4,456; ansic: 1,672; makefile: 86
file content (29 lines) | stat: -rw-r--r-- 777 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
#  Copyright (C) 2014-2018 Yubico AB - See COPYING

AM_CFLAGS = $(WARN_CFLAGS)
AM_CPPFLAGS=-I$(srcdir)/.. -I$(builddir)/.. $(LIBU2FHOST_CFLAGS) $(LIBU2FSERVER_CFLAGS)

bin_PROGRAMS = pamu2fcfg

pamu2fcfg_SOURCES = pamu2fcfg.c
pamu2fcfg_SOURCES += cmdline.ggo cmdline.c cmdline.h
pamu2fcfg_LDADD = $(LIBU2FHOST_LIBS) $(LIBU2FSERVER_LIBS)

cmdline.c cmdline.h: cmdline.ggo Makefile.am
	gengetopt --no-handle-help --input $^

BUILT_SOURCES = cmdline.c cmdline.h
MAINTAINERCLEANFILES = $(BUILT_SOURCES)

if ENABLE_MAN
dist_man1_MANS = $(top_builddir)/man/pamu2fcfg.1
DISTCLEANFILES = $(dist_man1_MANS)

MANSOURCES = $(top_builddir)/man/pamu2fcfg.1.txt
EXTRA_DIST = $(MANSOURCES)

SUFFIXES = .1.txt .1

.1.txt.1:
	$(A2X) --format=manpage -L -a revdate="Version $(VERSION)" $<
endif