summaryrefslogtreecommitdiffstats
path: root/kig/kig/Makefile.am
blob: a290884627b9717205c7dff92e73f2152292a21e (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
# this has all of the subdirectories that make will recurse into.  if
# there are none, comment this out
#SUBDIRS = pics icons

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

# these are the headers for your project
noinst_HEADERS = kig.h kig_document.h kig_part.h kig_view.h kig_commands.h

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

KDE_ICON = AUTO

# 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 = kig

# the application source, library search path, and link libraries
kig_SOURCES = main.cpp kig.cpp
kig_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kig_LDADD   = $(LIB_TDEPARTS)

# this is where the desktop file will go 
xdg_apps_DATA = kig.desktop

# this is where the shell's XML-GUI resource file goes
rcdir   = $(kde_datadir)/kig
rc_DATA = kigui.rc kigpartui.rc

#########################################################################
# KPART SECTION
#########################################################################
noinst_LTLIBRARIES = libkigparttemp.la

# the Part's source, library search path, and link libraries
libkigparttemp_la_SOURCES = \
	kig_document.cc \
	kig_part.cpp \
	kig_view.cpp \
	kig_commands.cpp

libkigparttemp_la_LDFLAGS = $(all_libraries)
libkigparttemp_la_LIBADD = $(LIB_TDEPRINT) $(LIB_TDEIO)

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