summaryrefslogtreecommitdiffstats
path: root/kuiviewer/Makefile.am
blob: 6bf86a4a69ec9ccfbd8db79f4fd898879cdb307d (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# this has all of the subdirectories that make will recurse into.  if
# there are none, comment this out

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

# these are the headers for your project
noinst_HEADERS = kuiviewer.h kuiviewer_part.h

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

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

KDE_ICON = kuiviewer

# this Makefile creates both a KPart application and a KPart
#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed.  it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = kuiviewer

# the application source, library search path, and link libraries
kuiviewer_SOURCES = main.cpp kuiviewer.cpp
kuiviewer_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kuiviewer_LDADD   = $(LIB_KPARTS)

xdg_apps_DATA =kuiviewer.desktop

# this is where the shell's XML-GUI resource file goes
shellrcdir   = $(kde_datadir)/kuiviewer
shellrc_DATA = kuiviewerui.rc

#########################################################################
# KPART SECTION
#########################################################################
kde_module_LTLIBRARIES = libkuiviewerpart.la quithumbnail.la

# the Part's source, library search path, and link libraries
libkuiviewerpart_la_SOURCES = kuiviewer_part.cpp
libkuiviewerpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
libkuiviewerpart_la_LIBADD  = $(LIB_KPARTS) $(LIB_KFILE) -lqui

# this is where the desktop file will go 
partdesktopdir   = $(kde_servicesdir)
partdesktop_DATA = kuiviewer_part.desktop

# this is where the part's XML-GUI resource file goes
partrcdir   = $(kde_datadir)/kuiviewerpart
partrc_DATA = kuiviewer_part.rc


#########################################################################
# THUMBNAIL SECTION
#########################################################################
quithumbnail_la_SOURCES = quicreator.cpp
quithumbnail_la_LIBADD = $(LIB_TDECORE) -lqui
quithumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
services_DATA = designerthumbnail.desktop
servicesdir = $(kde_servicesdir)

#########################################################################
# UTILS SECTION
#########################################################################
.PHONY:	changes
changes:
	cvs2cl.pl --window 3600 -w --hide-filenames -I '.desktop'