summaryrefslogtreecommitdiffstats
path: root/kaboodle/Makefile.am
blob: e1298850011283c8232d6263678e92edea4e8104 (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
43
44
45
INCLUDES = -I$(kde_includes)/tdeio -I$(kde_includes)/arts $(all_includes)

SUBDIRS = pics actions

kde_module_LTLIBRARIES = libkaboodlepart.la

noinst_LTLIBRARIES = libkaboodle_noinst.la
libkaboodle_noinst_la_SOURCES = conf.cpp \
	controls.cpp \
	engine.cpp \
	player.cpp \
	view.cpp \
	kaboodle_factory.cpp

libs = $(LIB_TDEPARTS) -lqtmcop -lkmedia2_idl -lsoundserver_idl -lartskde -ltdemediaplayer

libkaboodlepart_la_SOURCES = dummy.cpp
libkaboodlepart_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -lmcop -lartsflow_idl -lkmedia2_idl -lsoundserver_idl
libkaboodlepart_la_LIBADD = libkaboodle_noinst.la $(libs) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -lmcop -lartsflow_idl -lkmedia2_idl -lsoundserver_idl

kaboodle_SOURCES = main.cpp \
	kaboodleapp.cpp \
	userinterface.cpp 

dummy.cpp:
	echo > dummy.cpp

CLEANFILES = dummy.cpp

kaboodle_LDADD = libkaboodle_noinst.la $(libs) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -lmcop -lartsflow_idl -lkmedia2_idl -lsoundserver_idl
kaboodle_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -lmcop -lartsflow_idl -lkmedia2_idl -lsoundserver_idl

bin_PROGRAMS = kaboodle

METASOURCES = AUTO

xdg_apps_DATA = kaboodle.desktop

kde_services_DATA = kaboodle_component.desktop kaboodleengine.desktop

appdata_DATA = kaboodleui.rc kaboodlepartui.rc
appdatadir = $(kde_datadir)/kaboodle

messages: rc.cpp
	$(XGETTEXT) *.cpp *.h -o $(podir)/kaboodle.pot