summaryrefslogtreecommitdiffstats
path: root/kdat/Makefile.am
blob: 3d9a7ffd8c2e3d8c24d122d31fe084243338a0b3 (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# KDE tags expanded automatically by am_edit - $Revision$ 

# this 10 paths are KDE specific. Use them:
# kde_htmldir       Where your docs should go to. (contains lang subdirs)
# kde_appsdir       Where your application file (.desktop) should go to. 
# kde_icondir       Where your icon should go to.
# kde_minidir       Where your mini icon should go to.
# kde_datadir       Where you install application data. (Use a subdir)
# kde_locale        Where translation files should go to.(contains lang subdirs)
# kde_cgidir        Where cgi-bin executables should go to.
# kde_confdir       Where config files should go to.
# kde_mimedir       Where mimetypes should go to.
# kde_toolbardir    Where general toolbar icons should go to.
# kde_wallpaperdir  Where general wallpapers should go to.

# just set the variable
xdg_apps_DATA = kdat.desktop

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
# claim, which subdirectories you want to install
SUBDIRS = pics

####### This part is very kdat specific
# you can add here more. This one gets installed 
bin_PROGRAMS = 	kdat

# Which sources should be compiled for kdat.
kdat_SOURCES	=			\
	Archive.cpp			\
	ArchiveInfoWidget.cpp		\
	BackupDlg.cpp			\
	BackupOptDlg.cpp		\
	BackupProfile.cpp		\
	BackupProfileInfoWidget.cpp	\
	BackupProfileManager.cpp	\
	BackupProfileWidget.cpp		\
	ErrorHandler.cpp		\
	File.cpp			\
	FileInfoWidget.cpp		\
	ImageCache.cpp			\
	IndexDlg.cpp			\
	InfoShellWidget.cpp		\
	KDatMainWindow.cpp		\
	LoggerWidget.cpp		\
	Node.cpp			\
	Options.cpp			\
	OptionsDlg.cpp			\
	OptionsDlgWidget.ui       \
	Range.cpp			\
	Tape.cpp			\
	TapeDrive.cpp			\
	TapeFileInfoWidget.cpp		\
	TapeInfoWidget.cpp		\
	TapeManager.cpp			\
	FormatOptDlg.cpp		\
	TarParser.cpp			\
	Util.cpp			\
	VerifyDlg.cpp			\
	VerifyOptDlg.cpp		\
	ktreeview.cpp			\
	main.cpp


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

# the libraries to link against. Be aware of the order. First the libraries,
# that depend on the following ones.
kdat_LDADD   = $(LIB_KFILE)

# this option you can leave out. Just, if you use "make dist", you need it
noinst_HEADERS =			\
	Archive.h			\
	ArchiveInfoWidget.h		\
	BackupDlg.h			\
	BackupOptDlg.h			\
	BackupProfile.h			\
	BackupProfileInfoWidget.h	\
	BackupProfileManager.h		\
	BackupProfileWidget.h		\
	File.h				\
	FileInfoWidget.h		\
	ImageCache.h			\
	IndexDlg.h			\
	InfoShellWidget.h		\
	KDatMainWindow.h		\
	LoggerWidget.h			\
	Node.h				\
	Options.h			\
	OptionsDlg.h			\
	Range.h				\
	Tape.h				\
	TapeDrive.h			\
	TapeFileInfoWidget.h		\
	TapeInfoWidget.h		\
	TapeManager.h			\
	FormatOptDlg.h			\
	TarParser.h			\
	Util.h				\
	VerifyDlg.h			\
	VerifyOptDlg.h			\
	kdat.h				\
	ktreeview.h

# just to make sure, automake makes them 
METASOURCES = AUTO

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