aboutsummaryrefslogtreecommitdiff
path: root/src/anastasis/Makefile.am
blob: 14390639c018ac8a20681dcb287d3d6d861c6643 (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# This Makefile.am is in the public domain
SUBDIRS = .

AM_CPPFLAGS = \
  -I$(top_srcdir)/ \
  -I$(top_srcdir)/src/include \
  @GTK_CFLAGS@ \
  @GNUNET_CFLAGS@ \
  @GLADE_CFLAGS@

bin_PROGRAMS = anastasis-gtk

anastasis_gtk_SOURCES = \
  anastasis-gtk.c anastasis-gtk.h \
  anastasis-gtk_action.c anastasis-gtk_action.h \
  anastasis-gtk_attributes.c anastasis-gtk_attributes.h \
  anastasis-gtk_autocomplete.c \
  anastasis-gtk_dispatch.c anastasis-gtk_dispatch.h \
  anastasis-gtk_io.c \
  anastasis-gtk_handle-add-provider.c \
  anastasis-gtk_handle-auth-delete-button-clicked.c \
  anastasis-gtk_handle-auth-edit-provider-clicked.c \
  anastasis-gtk_handle-backup-button-clicked.c \
  anastasis-gtk_handle-challenge-code.c \
  anastasis-gtk_handle-challenge-iban.c \
  anastasis-gtk_handle-challenge-question.c \
  anastasis-gtk_handle-challenge-totp.c \
  anastasis-gtk_handle-clear-secret-clicked.c \
  anastasis-gtk_handle-continent-selected.c \
  anastasis-gtk_handle-country-activated.c \
  anastasis-gtk_handle-country-unselected.c \
  anastasis-gtk_handle-core-secret-changed.c \
  anastasis-gtk_handle-core-secret-name-changed.c \
  anastasis-gtk_handle-expiration-change.c \
    anastasis-gtk_handle-expiration-change.h \
  anastasis-gtk_handle-identity-changed.c \
    anastasis-gtk_handle-identity-changed.h \
  anastasis-gtk_handle-main-window-forward-clicked.c \
  anastasis-gtk_handle-main-window-forward-clicked.h \
  anastasis-gtk_handle-main-window-back-clicked.c \
  anastasis-gtk_handle-method-email.c \
  anastasis-gtk_handle-method-iban.c \
  anastasis-gtk_handle-method-post.c \
  anastasis-gtk_handle-method-question.c \
  anastasis-gtk_handle-method-sms.c \
  anastasis-gtk_handle-method-totp.c \
  anastasis-gtk_handle-payqr-selection-changed.c \
  anastasis-gtk_handle-policy-activate.c \
  anastasis-gtk_handle-policy-button.c \
  anastasis-gtk_handle-policy-meta.c \
  anastasis-gtk_handle-policy-selection-changed.c \
  anastasis-gtk_handle-recovery-button-clicked.c \
  anastasis-gtk_handle-secret-buttons.c \
  anastasis-gtk_helper.c  anastasis-gtk_helper.h \
  anastasis-gtk_pe.h \
  anastasis-gtk_pe-add-policy.c \
  anastasis-gtk_pe-delete-challenge.c \
  anastasis-gtk_pe-delete-policy.c \
  anastasis-gtk_pe-edit-policy.c \
  anastasis-gtk_progress.c anastasis-gtk_progress.h \
  os_installation.c

if HPDF_ENABLED
anastasis_gtk_SOURCES += \
  anastasis-gtk_handle-print.c \
  print.c
else
anastasis_gtk_SOURCES += \
  anastasis-gtk_handle-noprint.c
endif

anastasis_gtk_LDADD = \
  @GTK_LIBS@ \
  @GLADE_LIBS@ @GNUNET_LIBS@ \
  @QR_LIBS@ \
  -lanastasisrest \
  -lanastasisredux \
  -lanastasisutil \
  -ltalerjson \
  -ltalerutil \
  -lgnunetgtk \
  -lgnunetutil \
  -lgnunetcurl \
  -lgnunetjson \
  -ljansson \
  -lgcrypt \
  -lmicrohttpd \
  -lmagic \
  $(INTLLIBS)
anastasis_gtk_CFLAGS = \
  @QR_CFLAGS@
anastasis_gtk_LDFLAGS = \
  -export-dynamic

if HPDF_ENABLED
anastasis_gtk_LDADD += \
  $(HPDF_LIBS)
anastasis_gtk_CFLAGS += \
  $(HPDF_CFLAGS)
endif

EXTRA_DIST = \
  gettext.h

if HPDF_ENABLED
noinst_PROGRAMS = \
  test-print

test_print_SOURCES = \
  test-print.c \
  print.c
test_print_LDADD = \
  $(HPDF_LIBS) \
  -lgnunetutil \
  -ljansson
test_print_CFLAGS = \
  $(HPDF_CFLAGS)
endif