summaryrefslogtreecommitdiff
path: root/src/otr/Makefile.am
blob: 3b9918393f37be8b06453ed5f3c9fbce9b5d7aa8 (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
moduledir = $(libdir)/irssi/modules

module_LTLIBRARIES = $(otr_module_lib)
noinst_LTLIBRARIES = $(otr_static_lib)

EXTRA_LTLIBRARIES = \
	libotr_core.la \
	libotr_core_static.la

AM_CPPFLAGS = \
	-I$(top_srcdir)/src \
	-I$(top_srcdir)/src/core/ \
	-I$(top_srcdir)/src/irc/core/ \
	-I$(top_srcdir)/src/fe-common/core/ \
	-I$(top_srcdir)/src/fe-text/ \
	$(GLIB_CFLAGS) \
	$(OTR_CFLAGS)

libotr_core_la_LDFLAGS = -module -avoid-version -rpath $(moduledir)
libotr_core_la_LIBADD = $(OTR_LDFLAGS)

otr_sources = \
	key.c \
	module.c \
	otr-formats.c \
	otr-ops.c \
	otr-fe.c \
	otr.c

libotr_core_la_SOURCES = \
	$(otr_sources)

libotr_core_static_la_SOURCES = \
	$(otr_sources)

noinst_HEADERS = \
	irssi-otr.h \
	key.h \
	module.h \
	otr-formats.h \
	otr-fe.h \
	otr.h