summaryrefslogtreecommitdiffstats
path: root/kfilereplace/Makefile.am
blob: 4e0d8ed140d16ed03363240eba6ae027a49669c3 (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
## Makefile.am for kfilereplace

# set the include path for X, qt and KDE
INCLUDES  = $(all_includes)

# this has all of the subdirectories that make will recurse into.  if
# there are none, comment this out
SUBDIRS = toolbar

# these are the headers for your project
noinst_HEADERS = kaddstringdlg.h kfilereplaceiface.h kfilereplacelib.h \
	knewprojectdlg.h kfilereplaceview.h koptionsdlg.h report.h commandengine.h \
	configurationclasses.h kfilereplace.h
		 
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

kde_module_LTLIBRARIES = libkfilereplacepart.la
libkfilereplacepart_la_SOURCES = kfilereplacepart.cpp kfilereplaceview.cpp \
	kfilereplaceviewwdg.ui kaddstringdlg.cpp kaddstringdlgs.ui knewprojectdlg.cpp \
	knewprojectdlgs.ui koptionsdlg.cpp koptionsdlgs.ui kfilereplacelib.cpp report.cpp \
	commandengine.cpp configurationclasses.cpp
				  
libkfilereplacepart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP
libkfilereplacepart_la_LIBADD = $(LIB_KFILE) $(LIB_KPARTS) $(LIB_KHTML)

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

KDE_ICON = AUTO
kde_services_DATA = kfilereplacepart.desktop
xdg_apps_DATA = kfilereplace.desktop

# this is where the XML-GUI resource file goes
partrcdir = $(kde_datadir)/kfilereplacepart
partrc_DATA = kfilereplacepartui.rc

shellrcdir = $(kde_datadir)/kfilereplace
shellrc_DATA = kfilereplaceui.rc
bin_PROGRAMS = kfilereplace
kfilereplace_LDFLAGS = $(KDE_RPATH) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP
kfilereplace_LDADD = $(LIB_KPARTS)
kfilereplace_SOURCES = kfilereplace.cpp main.cpp