summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/noatunvisual/src-Makefile.am
blob: 5a9c43f5aca7b86a066c786497ad13ac69771ab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
INCLUDES= $(all_includes)
METASOURCES = AUTO

# Install this plugin in the TDE modules directory
kde_module_LTLIBRARIES = noatun_%{APPNAMELC}plugin.la

noatun_%{APPNAMELC}plugin_la_SOURCES = plugin_%{APPNAMELC}.cpp plugin_%{APPNAMELC}_impl.cpp
noatun_%{APPNAMELC}plugin_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined $(LIBSDL_RPATH) $(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEPARTS)
noatun_%{APPNAMELC}plugin_la_CXXFLAGS = $(LIBSDL_CFLAGS)
noatun_%{APPNAMELC}plugin_la_LIBADD = $(LIB_TDEFILE) $(LIBSDL_LIBS) -lnoatun -lm

pluginsdir = $(kde_datadir)/noatun
plugins_DATA = %{APPNAMELC}.plugin

# kde_services_DATA = %{APPNAMELC}.desktop

messages: rc.cpp
	$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) *.cpp *.h -o $(podir)/%{APPNAMELC}.pot