File: Makefile.am

package info (click to toggle)
subtitleeditor 0.56.1-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 8,908 kB
  • sloc: cpp: 26,446; makefile: 1,713; perl: 434; sh: 259; xml: 149
file content (61 lines) | stat: -rw-r--r-- 1,886 bytes parent folder | download | duplicates (6)
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
plugin_name = textcorrection
pluginlibdir = $(PACKAGE_PLUGIN_LIB_DIR)/actions
plugindescriptiondir = $(PACKAGE_PLUGIN_DESCRIPTION_DIR)/actions
patterndir = $(PACKAGE_PLUGIN_SHARE_DIR)/$(plugin_name)
actionplugindevdir = plugins/actions/$(plugin_name)
uidir = $(PACKAGE_PLUGIN_SHARE_DIR)/$(plugin_name)

AM_CPPFLAGS = \
	-I$(top_srcdir) \
	-I$(top_srcdir)/src \
	$(SUBTITLEEDITOR_CFLAGS) \
	$(LIBXML_CFLAGS) \
	-DSE_PLUGIN_PATH_DEV=\"$(actionplugindevdir)\" \
	-DSE_PLUGIN_PATH_UI=\"$(uidir)\" \
	-DSE_PLUGIN_PATH_PATTERN=\"$(patterndir)\"

pluginlib_LTLIBRARIES = \
	libtextcorrection.la

libtextcorrection_la_SOURCES = \
	capitalizationpage.h \
	commonerrorpage.h \
	confirmationpage.h \
	hearingimpairedpage.h \
	page.h \
	pattern.cc \
	pattern.h \
	patternmanager.cc \
	patternmanager.h \
	patternspage.h \
	taskspage.h \
	textcorrection.cc

libtextcorrection_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
libtextcorrection_la_LIBADD = $(SUBTITLEEDITOR_LIBS) $(LIBXML_LIBS) -L$(top_srcdir)/src -lsubtitleeditor

plugindescription_in_files = textcorrection.se-plugin.in
plugindescription_DATA = $(plugindescription_in_files:.se-plugin.in=.se-plugin)

@INTLTOOL_SE_PLUGIN_RULE@

pattern_in_files = \
	Latn.capitalization.se-pattern.in \
	Latn.common-error.se-pattern.in \
	Latn-en.common-error.se-pattern.in \
	Latn-en.capitalization.se-pattern.in \
	Latn-en.hearing-impaired.se-pattern.in \
	Latn-en-US.common-error.se-pattern.in \
	Latn-fi.common-error.se-pattern.in \
	Latn-fr.common-error.se-pattern.in \
	Latn.hearing-impaired.se-pattern.in \
	Zyyy.common-error.se-pattern.in

pattern_DATA = $(pattern_in_files:.se-pattern.in=.se-pattern)
@INTLTOOL_SE_PATTERN_RULE@

ui_DATA = assistant-text-correction.ui

EXTRA_DIST = $(plugindescription_in_files) $(pattern_in_files) $(ui_DATA)

CLEANFILES = $(plugindescription_DATA) $(pattern_DATA) Makefile.am~ *.cc~ *.h~ *.ui~ *.uip *.uip.bak *.in~