File: Makefile.am

package info (click to toggle)
abiword 3.0.7~dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 64,700 kB
  • sloc: cpp: 477,933; ansic: 16,754; makefile: 5,834; xml: 3,993; yacc: 1,818; lex: 1,104; perl: 812; python: 413; php: 183; sh: 169
file content (43 lines) | stat: -rw-r--r-- 884 bytes parent folder | download | duplicates (8)
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

SUBDIRS = common exp imp

if OPENDOCUMENT_BUILTIN
noinst_LTLIBRARIES = opendocument.la

else

plugindir = $(ABIWORD_PLUGINSDIR)
plugin_LTLIBRARIES = opendocument.la

endif # OPENDOCUMENT_BUILTIN

opendocument_la_LIBADD = \
	common/libcommon.la \
	exp/libexp.la \
	imp/libimp.la \
	$(OPENDOCUMENT_LIBS) \
	$(LIBGCRYPT_LIBS)

opendocument_la_LDFLAGS = \
	-avoid-version \
	-module \
	-no-undefined
if TOOLKIT_COCOA
opendocument_la_LDFLAGS += -headerpad_max_install_names
endif # TOOLKIT_COCOA

opendocument_la_SOURCES = 

# needed to call the C++ ld driver
nodist_EXTRA_opendocument_la_SOURCES = dummy.cpp

if TOOLKIT_COCOA
install-data-hook:
	install_name_tool -change $(ABIWORD_LIBDIR)/libabiword-@ABIWORD_SERIES@.dylib \
		@executable_path/../Frameworks/libabiword-@ABIWORD_SERIES@.dylib \
		$(DESTDIR)/$(plugindir)/opendocument.so
endif # TOOLKIT_COCOA

EXTRA_DIST = \
	plugin.m4