File: Makefile.am

package info (click to toggle)
paperkey 1.2-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,096 kB
  • ctags: 655
  • sloc: ansic: 3,844; sh: 3,816; makefile: 77
file content (29 lines) | stat: -rw-r--r-- 639 bytes parent folder | download
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
# $Id: Makefile.am 570 2009-01-14 21:48:30Z dshaw $

ACLOCAL_AMFLAGS=-I gl/m4
EXTRA_DIST=paperkey.spec $(man_MANS)
SUBDIRS=gl .

AM_CPPFLAGS=-I$(top_srcdir)/gl
LDADD=gl/libgl.a

man_MANS=paperkey.1

bin_PROGRAMS=paperkey

paperkey_SOURCES=paperkey.c packets.c packets.h parse.c parse.h extract.c extract.h restore.c restore.h output.c output.h

if USING_GCC
AM_CPPFLAGS+=-Wall -W -pedantic
endif

# Only do the self test if we're not cross compiling
if !CROSS_COMPILING
SUBDIRS+=checks
endif

if MINGW32_BUILD
EXTRA_DIST+=README.WIN32 paperkey.txt paperkey.exe
paperkey.txt: paperkey.1
	nroff -man paperkey.1 | col -b > paperkey.txt
endif