1
# the condition for this is found in configure.in.in
6
# the condition for this is found in configure.in.in
8
AM_CPPFLAGS = -D__KJSEMBED__
9
LIB_KJSEMBED = -lkjsembed
11
LIB_KRJS = KrJS/libKrJS.a
15
# these subdirs are also visited during the build-process
39
###########################################################
40
######################## BUILDING #########################
41
##########################################################
44
# the programm which is build and installed:
45
bin_PROGRAMS = krusader
59
# this makes that .ui and .moc files are generated automaticly.
60
# to make this happen include filename.moc at the end of filename.cpp (assuming that filename.h is the header to use)
61
# and add filename.ui to the *_SOURCES
65
# set the include path for X, qt and KDE
66
INCLUDES= $(all_includes)
68
# these are the libs which are liked together for krusader.
69
# the correct order is very important, also the double entries are necessary!
71
BookMan/libBookMan.a \
72
Dialogs/libDialogs.a \
73
DiskUsage/libDiskUsage.a \
74
DiskUsage/radialMap/libradialmap.a \
75
DiskUsage/filelightParts/libfilelightparts.a \
77
Konfigurator/libKonfigurator.a \
78
KViewer/libKViewer.a \
79
MountMan/libMountMan.a \
82
RemoteMan/libRemoteMan.a \
85
Splitter/libSplitter.a \
86
Synchronizer/libSynchronizer.a \
87
UserMenu/libUserMenu.a \
89
UserAction/libUserAction.a \
90
ActionMan/libActionMan.a \
92
KViewer/libKViewer.a \
94
Dialogs/libDialogs.a \
107
# the library search path.
108
krusader_LDFLAGS = $(all_libraries) $(kde_RPATH)
111
###########################################################
112
###################### INSTALLING #########################
113
##########################################################
116
# this installes alle the icons in the current dir.
117
# see the comment in krusader_kde3/icons/Makefile.am for more info
120
# How it works (by jonas):
121
# somenamedir = /path/what/ever # a directory
122
# somename_DATA = file1 file2 file3 # the data whichshold be installed there
124
# These paths are KDE specific. Use them (jonas: taken from the old Makefile.am):
125
# kde_appsdir Where your application's menu entry (.desktop) should go to.
126
# xdg_appsdir Where your application's .desktop-files should go acording to freedesktop.org's standard
127
# kde_icondir Where your icon should go to - better use KDE_ICON.
128
# kde_sounddir Where your sounds should go to.
129
# kde_htmldir Where your docs should go to. (contains lang subdirs)
130
# kde_datadir Where you install application data. (Use a subdir)
131
# kde_locale Where translation files should go to. (contains lang subdirs)
132
# kde_cgidir Where cgi-bin executables should go to.
133
# kde_confdir Where config files should go to (system-wide ones with default values).
134
# kde_mimedir Where mimetypes .desktop files should go to.
135
# kde_servicesdir Where services .desktop files should go to.
136
# kde_servicetypesdir Where servicetypes .desktop files should go to.
137
# kde_wallpaperdir Where general wallpapers should go to.
138
# kde_templatesdir Where templates for the "New" menu (Konqueror/KDesktop) should go to.
139
# kde_bindir Where executables should go to. Use bin_PROGRAMS or bin_SCRIPTS.
140
# kde_libdir Where shared libraries should go to. Use lib_LTLIBRARIES.
141
# kde_moduledir Where modules (e.g. parts) should go to. Use kde_module_LTLIBRARIES.
142
# kde_styledir Where Qt/KDE widget styles should go to (new in KDE 3).
143
# kde_designerdir Where Qt Designer plugins should go to (new in KDE 3).
146
# this installes the .desktop-files at hte right place
147
# use 'xdg' instead of 'kde' here to follow freedesktop.org's standard (jonas)
150
krusader_root-mode.desktop
152
# this installes all additional data.
153
krusaderlocaldir = $(kde_datadir)/krusader
154
krusaderlocal_DATA = \
156
midnight_commander.color \
157
total_commander.color \
158
total_commander.keymap \
159
total_commander.keymap.info \
160
useraction_examples.xml \
165
# Jonas: I've no idea how this thing works so I leave it like it was.
167
# WARNING: if you use a ui.rc file above, use:
173
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
174
if test -n "$$LIST"; then \
175
$(XGETTEXT) $$LIST -o $(podir)/krusader.pot; \