summaryrefslogtreecommitdiffstats
path: root/kiosktool/Makefile.am
blob: 556150505f84b2caae20619aae40349a04f61358 (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
## Makefile.am for kiosktool

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

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

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

# the library search path. 
kiosktool_LDFLAGS = $(KDE_RPATH) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor

# the libraries to link against.
kiosktool_LDADD   = $(LIB_TDEFILE) -ltdeprint

# which sources should be compiled for kiosktool
kiosktool_SOURCES =	main.cpp kioskgui.cpp kioskdata.cpp kioskrun.cpp \
        mainview.ui profileSelectionPage_ui.ui \
	profilePropsPage.cpp profilePropsPage_ui.ui \
	pageWidget.cpp component.cpp \
	desktopComponent.cpp menueditComponent.cpp screensaverComponent.cpp \
	panelComponent.cpp filetypeeditComponent.cpp \
	componentSelectionPage.cpp componentSelectionPage_ui.ui \
	componentPage.cpp componentPage_ui.ui \
	userManagement.cpp userManagement_ui.ui userManagementGroup_ui.ui \
	userManagementUser_ui.ui \
        kioskConfigDialog.cpp kioskConfigDialog_ui.ui \
	kiosksync.cpp

# the library search path. 
kiosktool_tdedirs_LDFLAGS = $(KDE_RPATH) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor

# the libraries to link against.
kiosktool_tdedirs_LDADD   = $(LIB_TDECORE)

# which sources should be compiled for kiosktool
kiosktool_tdedirs_SOURCES = kiosktool-tdedirs.cpp

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

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

messages: rc.cpp
	./extractxml kiosk_data.xml > kiosk_data.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kiosktool.pot
	rm kiosk_data.cpp

KDE_ICON = kiosktool

xdg_apps_DATA = kiosktool.desktop

# this is where the XML-GUI resource file goes
rcdir = $(kde_datadir)/kiosktool
rc_DATA = kiosktoolui.rc kiosk_data.xml caption.png background.png logo.png \
	caption-da.png caption-empty.png caption-et.png caption-pt.png caption-pt_BR.png \
	caption-sv.png