aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: f87788ec0e9e069463d32e7d4aec05f5f44eab0a (plain) (blame)
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
# This Makefile.am is in the public domain
AM_CFLAGS = -I$(top_srcdir)/include/gnunet

lib_LTLIBRARIES = libgnunetchat.la

libgnunetchat_la_SOURCES = \
  gnunet_chat_account.c gnunet_chat_account.h \
  gnunet_chat_contact.c gnunet_chat_contact.h \
  gnunet_chat_context.c gnunet_chat_context.h \
  gnunet_chat_file.c gnunet_chat_file.h \
  gnunet_chat_group.c gnunet_chat_group.h \
  gnunet_chat_handle.c gnunet_chat_handle.h \
  gnunet_chat_invitation.c gnunet_chat_invitation.h \
  gnunet_chat_lobby.c gnunet_chat_lobby.h \
  gnunet_chat_message.c gnunet_chat_message.h \
  gnunet_chat_uri.c gnunet_chat_uri.h \
  gnunet_chat_util.c gnunet_chat_util.h \
  gnunet_chat_lib.c

libgnunetchat_la_LIBADD = \
  -lgnunetarm \
  -lgnunetfs \
  -lgnunetidentity \
  -lgnunetgns \
  -lgnunetmessenger \
  -lgnunetnamestore \
  -lgnunetregex \
  -lgnunetutil

libgnunetchat_la_CFLAGS = \
  -fPIC -pedantic -Wall -Wextra

if DEBUG
libgnunetchat_la_CFLAGS += \
  -O0 -D _DEBUG -ggdb3
else
libgnunetchat_la_CFLAGS += \
  -O2 -D NDEBUG
endif