summaryrefslogtreecommitdiffstats
path: root/kgoldrunner/src/Makefile.am
blob: 2318bbddb23d867c6c905430908b1fa5dc7e683b (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
## Makefile.am for kgoldrunner

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

# set the include path for X, qt and KDE
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)

# the library search path.
kgoldrunner_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor

# the libraries to link against.
kgoldrunner_LDADD   = $(LIB_KDEGAMES) $(LIB_KFILE) $(LIB_KDEPRINT)
kgoldrunner_DEPENDENCIES = $(LIB_KDEGAMES_DEP)

# which sources should be compiled for kgoldrunner
kgoldrunner_SOURCES = kgoldrunner.cpp kgrcanvas.cpp kgrfigure.cpp kgrgame.cpp kgrobject.cpp main.cpp kgrdialog.cpp

# these are the headers for your project
noinst_HEADERS = enemy1.xpm enemy2.xpm hero.xpm kgoldrunner.h kgrcanvas.h kgrconsts.h kgrdialog.h kgrfigure.h kgrgame.h kgrobject.h kgraphics.h

# client stuff


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

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

KDE_ICON = kgoldrunner

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

# this is where the XML-GUI resource file goes
rcdir = $(kde_datadir)/kgoldrunner
rc_DATA = kgoldrunnerui.rc

AM_CXXFLAGS = -DQT3