summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: b9dc0ea496bfd879b568986f6705c6c61563af07 (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
# set the include path for X, qt and KDE
INCLUDES = $(all_includes) -I `imlib2-config --cflags`

# these are the headers for your project
noinst_HEADERS = kompose.h komposetaskmanager.h komposetask.h komposewidget.h \
	komposetaskwidget.h komposedesktopwidget.h komposelayout.h komposesystray.h \
	komposefullscreenwidget.h komposesettings.h komposepreferences.h komposetaskprefswidget.h \
	komposeglobal.h komposetaskcontainerwidget.h komposetaskvisualizer.h \
	komposeviewmanager.h komposedcopiface.h

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

messages: rc.cpp
	$(XGETTEXT) *.cpp --language=C --from-code=UTF-8 -o $(podir)/kompose.pot

komposeiconsdir = $(kde_datadir)/kompose/icons
komposeicons_ICON = AUTO

#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed.  it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = kompose

# the application source, library search path, and link libraries
kompose_SOURCES = main.cpp kompose.cpp komposetaskmanager.cpp komposetask.cpp \
	komposewidget.cpp komposetaskwidget.cpp komposedesktopwidget.cpp komposelayout.cpp \
	komposesystray.cpp komposefullscreenwidget.cpp komposesettings.cpp komposepreferences.cpp \
	komposetaskprefswidget.cpp komposeglobal.cpp komposetaskcontainerwidget.cpp \
	komposetaskvisualizer.cpp komposeviewmanager.cpp komposedcopiface.skel
#kompose_LDFLAGS = $(KDE_RPATH) $(all_libraries) -lX11 -lXext -lm `pkg-config xft xrender xcomposite xdamage xfixes --libs` `imlib2-config --libs`
kompose_LDFLAGS = $(KDE_RPATH) $(all_libraries) -lX11 -lXext -lm `imlib2-config --libs`
kompose_LDADD = $(LIB_TDEUI) $(LIB_XCOMPOSITE) $(LIB_XDAMAGE)

# this is where the desktop file will go 
shelldesktopdir = $(kde_appsdir)/Utilities
shelldesktop_DATA = kompose.desktop

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