forked from stoken-dev/stoken
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
41 lines (30 loc) · 1.1 KB
/
Makefile.am
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
AUTOMAKE_OPTIONS = foreign subdir-objects
AM_CPPFLAGS = -DDATA_DIR=\"$(datadir)\"
AM_CFLAGS = $(TOMCRYPT_CFLAGS)
dist_man_MANS = stoken.1
lib_LTLIBRARIES = libstoken.la
libstoken_la_SOURCES = src/library.c src/securid.c
libstoken_la_LDFLAGS = -version-number @APIMAJOR@:@APIMINOR@
libstoken_la_LDFLAGS += -Wl,--version-script,libstoken.map
libstoken_la_LIBADD = $(TOMCRYPT_LIBS)
libstoken_la_DEPENDENCIES = libstoken.map
include_HEADERS = src/stoken.h
noinst_HEADERS = src/common.h src/securid.h src/stoken-internal.h
pkgconfig_DATA = stoken.pc
bin_PROGRAMS = stoken
stoken_SOURCES = src/cli.c src/common.c
stoken_LDADD = $(LDADD) libstoken.la
if ENABLE_GUI
bin_PROGRAMS += stoken-gui
stoken_gui_SOURCES = src/gui.c src/common.c
stoken_gui_CFLAGS = $(AM_CFLAGS) $(GTK_CFLAGS)
stoken_gui_LDADD = $(LDADD) libstoken.la $(GTK_LIBS)
dist_man_MANS += stoken-gui.1
icondir = $(datadir)/pixmaps
dist_icon_DATA = stoken-gui.png
desktopdir = $(datadir)/applications
dist_desktop_DATA = stoken-gui.desktop
endif
dist_noinst_SCRIPTS = autogen.sh
EXTRA_DIST = .gitignore libstoken.map
DISTCLEANFILES = *~