~ubuntu-branches/ubuntu/vivid/krusader/vivid-proposed

« back to all changes in this revision

Viewing changes to krusader/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-05-05 22:26:37 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505222637-ydv3cwjwy365on2r
Tags: 1:2.1.0~beta1-1ubuntu1
* Merge from Debian Unstable.  Remaining changes:
  - Retain Kubuntu doc path

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# the condition for this is found in configure.in.in
2
 
if include_libkonq
3
 
LIB_KONQ = -lkonq
4
 
endif
5
 
 
6
 
# the condition for this is found in configure.in.in
7
 
if include_libkjsembed
8
 
AM_CPPFLAGS = -D__KJSEMBED__
9
 
LIB_KJSEMBED = -lkjsembed
10
 
KRJSDIR = KrJS
11
 
LIB_KRJS = KrJS/libKrJS.a
12
 
endif
13
 
 
14
 
 
15
 
# these subdirs are also visited during the build-process
16
 
SUBDIRS = \
17
 
        ActionMan \
18
 
        BookMan \
19
 
        Dialogs \
20
 
        DiskUsage \
21
 
        Filter \
22
 
        GUI \
23
 
        Konfigurator \
24
 
        KViewer \
25
 
        Locate \
26
 
        MountMan \
27
 
        Queue \
28
 
        Panel \
29
 
        RemoteMan \
30
 
        Search \
31
 
        Splitter \
32
 
        Synchronizer \
33
 
        UserAction \
34
 
        $(KRJSDIR) \
35
 
        UserMenu \
36
 
        VFS
37
 
 
38
 
 
39
 
###########################################################
40
 
######################## BUILDING #########################
41
 
##########################################################
42
 
 
43
 
 
44
 
# the programm which is build and installed:
45
 
bin_PROGRAMS = krusader
46
 
 
47
 
 
48
 
krusader_SOURCES = \
49
 
        paneltabbar.cpp \
50
 
        panelmanager.cpp \
51
 
        krservices.cpp \
52
 
        main.cpp \
53
 
        krusaderview.cpp \
54
 
        krusader.cpp \
55
 
        krslots.cpp \
56
 
        kicons.cpp 
57
 
 
58
 
 
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
62
 
METASOURCES = AUTO
63
 
 
64
 
 
65
 
# set the include path for X, qt and KDE
66
 
INCLUDES= $(all_includes)
67
 
 
68
 
# these are the libs which are liked together for krusader.
69
 
# the correct order is very important, also the double entries are necessary!
70
 
krusader_LDADD   = \
71
 
        BookMan/libBookMan.a \
72
 
        Dialogs/libDialogs.a \
73
 
        DiskUsage/libDiskUsage.a \
74
 
        DiskUsage/radialMap/libradialmap.a \
75
 
        DiskUsage/filelightParts/libfilelightparts.a \
76
 
        GUI/libGUI.a \
77
 
        Konfigurator/libKonfigurator.a \
78
 
        KViewer/libKViewer.a \
79
 
        MountMan/libMountMan.a \
80
 
        Panel/libPanel.a \
81
 
        Queue/libQueue.a \
82
 
        RemoteMan/libRemoteMan.a \
83
 
        VFS/libVFS.a \
84
 
        Search/libSearch.a \
85
 
        Splitter/libSplitter.a \
86
 
        Synchronizer/libSynchronizer.a \
87
 
        UserMenu/libUserMenu.a \
88
 
        Locate/libLocate.a \
89
 
        UserAction/libUserAction.a \
90
 
        ActionMan/libActionMan.a \
91
 
        $(LIB_KRJS) \
92
 
        KViewer/libKViewer.a \
93
 
        Filter/libFilter.a \
94
 
        Dialogs/libDialogs.a \
95
 
        GUI/libGUI.a \
96
 
        $(LIB_KONQ) \
97
 
        $(LIB_KJSEMBED) \
98
 
        $(LIB_KPARTS) \
99
 
        $(LIB_KFILE) \
100
 
        $(LIB_KHTML) \
101
 
        $(LIB_KDEUI) \
102
 
        $(LIB_KDECORE) \
103
 
        $(LIB_QT) \
104
 
        $(LIBSOCKET)
105
 
 
106
 
 
107
 
# the library search path.
108
 
krusader_LDFLAGS = $(all_libraries) $(kde_RPATH)
109
 
 
110
 
 
111
 
###########################################################
112
 
###################### INSTALLING #########################
113
 
##########################################################
114
 
 
115
 
 
116
 
# this installes alle the icons in the current dir.
117
 
# see the comment in krusader_kde3/icons/Makefile.am for more info
118
 
KDE_ICON = AUTO
119
 
 
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
123
 
 
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).
144
 
 
145
 
 
146
 
# this installes the .desktop-files at hte right place
147
 
# use 'xdg' instead of 'kde' here to follow freedesktop.org's standard (jonas)
148
 
xdg_apps_DATA = \
149
 
        krusader.desktop \
150
 
        krusader_root-mode.desktop
151
 
 
152
 
# this installes all additional data.
153
 
krusaderlocaldir = $(kde_datadir)/krusader
154
 
krusaderlocal_DATA = \
155
 
        krusaderui.rc \
156
 
        midnight_commander.color \
157
 
        total_commander.color \
158
 
        total_commander.keymap \
159
 
        total_commander.keymap.info \
160
 
        useraction_examples.xml \
161
 
        splash.png
162
 
 
163
 
 
164
 
 
165
 
# Jonas: I've no idea how this thing works so I leave it like it was.
166
 
 
167
 
# WARNING: if you use a ui.rc file above, use:
168
 
# messages: rc.cpp
169
 
# instead of
170
 
# messages:
171
 
 
172
 
messages: rc.cpp
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; \
176
 
        fi