summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: dcf011ba67b93a581bf51b17e5a8840d3a16f983 (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
libevbp2_viewer_la_CFLAGS = $(E_CFLAGS) $(MOZILLA_CFLAGS) $(EVINCE2_CFLAGS)
libevbp2_viewer_la_LIBADD = $(EVINCE2_LIBS)
libevbp2_viewer_la_SOURCES = \
	evbp-viewer.h evbp-viewer.c \
	evbp-mime.h evbp-mime.c \
	ev-page-action.h ev-page-action.c \
	ev-page-action-widget.h ev-page-action-widget.c
libevbp3_viewer_la_CFLAGS = $(E_CFLAGS) $(MOZILLA_CFLAGS) $(EVINCE3_CFLAGS)
libevbp3_viewer_la_LIBADD = $(EVINCE3_LIBS)
libevbp3_viewer_la_SOURCES = $(libevbp2_viewer_la_SOURCES)

libevince2_plugin_la_CFLAGS = $(E_CFLAGS) $(MOZILLA_CFLAGS) $(EVINCE2_CFLAGS)
libevince2_plugin_la_LDFLAGS = -avoid-version -module
libevince2_plugin_la_LIBADD = libevbp2-viewer.la
libevince2_plugin_la_SOURCES = evbp.c
libevince3_plugin_la_CFLAGS = $(E_CFLAGS) $(MOZILLA_CFLAGS) $(EVINCE3_CFLAGS)
libevince3_plugin_la_LDFLAGS = $(libevince2_plugin_la_LDFLAGS)
libevince3_plugin_la_LIBADD = libevbp3-viewer.la
libevince3_plugin_la_SOURCES = $(libevince2_plugin_la_SOURCES)

noinst_LTLIBRARIES =
if ENABLE_GTK2
noinst_LTLIBRARIES += libevbp2-viewer.la
gtk2_plugin_LTLIBRARIES = libevince2-plugin.la
endif
if ENABLE_GTK3
noinst_LTLIBRARIES += libevbp3-viewer.la
gtk3_plugin_LTLIBRARIES = libevince3-plugin.la
endif