blob: 56b9d46cfd9fc03d08bdb07c2f78401ef73ba6bd (
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
|
#############################################################################
# Makefile for building: kdocker
# Generated by qmake (1.07a) (Qt 3.3.3) on: Fri Jun 17 19:36:22 2005
# Project: kdocker.pro
# Template: app
# Command: $(QMAKE) -o Makefile kdocker.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
LEX = flex
YACC = yacc
CFLAGS = -pipe -Wall -W -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DTRANSLATIONS_PATH='"/usr/local/share/kdocker/i18n"' -DICONS_PATH='"/usr/local/share/kdocker/icons"' -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
CXXFLAGS = -pipe -Wall -W -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DTRANSLATIONS_PATH='"/usr/local/share/kdocker/i18n"' -DICONS_PATH='"/usr/local/share/kdocker/icons"' -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
LEXFLAGS =
YACCFLAGS= -d
INCPATH = -I/usr/lib/qt-3.3/mkspecs/default -I. -I. -Isrc -I/usr/X11R6/include/X11 -I/usr/include/X11R6 -I$(QTDIR)/include -Itmp/
LINK = g++
LFLAGS =
LIBS = $(SUBLIBS) -L/usr/X11/lib -L/usr/X11R6/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lXpm -lXmu -lqt-mt -lXext -lX11 -lm
AR = ar cqs
RANLIB =
MOC = $(QTDIR)/bin/moc
UIC = $(QTDIR)/bin/uic
QMAKE = qmake
TAR = tar -cf
GZIP = gzip -9f
COPY = cp -f
COPY_FILE= $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE= $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK = ln -sf
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
####### Output directory
OBJECTS_DIR = tmp/
####### Files
HEADERS = src/customtraylabel.h \
src/kdocker.h \
src/qtraylabel.h \
src/trace.h \
src/traylabelmgr.h \
src/util.h
SOURCES = src/customtraylabel.cpp \
src/kdocker.cpp \
src/main.cpp \
src/qtraylabel.cpp \
src/trace.cpp \
src/traylabelmgr.cpp \
src/util.cpp
OBJECTS = tmp/customtraylabel.o \
tmp/kdocker.o \
tmp/main.o \
tmp/qtraylabel.o \
tmp/trace.o \
tmp/traylabelmgr.o \
tmp/util.o
FORMS =
UICDECLS =
UICIMPLS =
SRCMOC = tmp/moc_customtraylabel.cpp \
tmp/moc_kdocker.cpp \
tmp/moc_qtraylabel.cpp \
tmp/moc_traylabelmgr.cpp
OBJMOC = tmp/moc_customtraylabel.o \
tmp/moc_kdocker.o \
tmp/moc_qtraylabel.o \
tmp/moc_traylabelmgr.o
DIST = kdocker.pro
QMAKE_TARGET = kdocker
DESTDIR =
TARGET = kdocker
first: all
####### Implicit rules
.SUFFIXES: .c .o .cpp .cc .cxx .C
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.C.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
all: Makefile $(TARGET)
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)
$(MOC):
( cd $(QTDIR)/src/moc && $(MAKE) )
Makefile: kdocker.pro /usr/lib/qt-3.3/mkspecs/default/qmake.conf /usr/lib/qt-3.3/lib/libqt-mt.prl
$(QMAKE) -o Makefile kdocker.pro
qmake:
@$(QMAKE) -o Makefile kdocker.pro
dist:
@mkdir -p tmp/kdocker && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) tmp/kdocker/ && $(COPY_FILE) --parents i18n/kdocker_en.ts i18n/kdocker_es.ts i18n/kdocker_fr.ts i18n/kdocker_cs.ts i18n/kdocker_ru.ts i18n/kdocker_pt_BR.ts i18n/kdocker_de.ts i18n/kdocker_pl.ts i18n/kdocker_id.ts i18n/kdocker_it.ts i18n/kdocker_bg.ts tmp/kdocker/ && ( cd `dirname tmp/kdocker` && $(TAR) kdocker.tar kdocker && $(GZIP) kdocker.tar ) && $(MOVE) `dirname tmp/kdocker`/kdocker.tar.gz . && $(DEL_FILE) -r tmp/kdocker
mocclean:
-$(DEL_FILE) $(OBJMOC)
-$(DEL_FILE) $(SRCMOC)
uiclean:
yaccclean:
lexclean:
clean: mocclean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) *~ core *.core
####### Sub-libraries
distclean: clean
-$(DEL_FILE) $(TARGET) $(TARGET)
FORCE:
####### Compile
tmp/customtraylabel.o: src/customtraylabel.cpp src/trace.h \
src/customtraylabel.h \
src/traylabelmgr.h \
src/kdocker.h \
src/qtraylabel.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmp/customtraylabel.o src/customtraylabel.cpp
tmp/kdocker.o: src/kdocker.cpp src/trace.h \
src/traylabelmgr.h \
src/kdocker.h \
src/customtraylabel.h \
src/qtraylabel.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmp/kdocker.o src/kdocker.cpp
tmp/main.o: src/main.cpp src/kdocker.h \
src/traylabelmgr.h \
src/trace.h \
src/customtraylabel.h \
src/qtraylabel.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmp/main.o src/main.cpp
tmp/qtraylabel.o: src/qtraylabel.cpp src/trace.h \
src/qtraylabel.h \
src/util.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmp/qtraylabel.o src/qtraylabel.cpp
tmp/trace.o: src/trace.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmp/trace.o src/trace.cpp
tmp/traylabelmgr.o: src/traylabelmgr.cpp src/trace.h \
src/traylabelmgr.h \
src/util.h \
src/customtraylabel.h \
src/qtraylabel.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmp/traylabelmgr.o src/traylabelmgr.cpp
tmp/util.o: src/util.cpp src/trace.h \
src/util.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmp/util.o src/util.cpp
tmp/moc_customtraylabel.o: tmp/moc_customtraylabel.cpp src/customtraylabel.h src/qtraylabel.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmp/moc_customtraylabel.o tmp/moc_customtraylabel.cpp
tmp/moc_kdocker.o: tmp/moc_kdocker.cpp src/kdocker.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmp/moc_kdocker.o tmp/moc_kdocker.cpp
tmp/moc_qtraylabel.o: tmp/moc_qtraylabel.cpp src/qtraylabel.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmp/moc_qtraylabel.o tmp/moc_qtraylabel.cpp
tmp/moc_traylabelmgr.o: tmp/moc_traylabelmgr.cpp src/traylabelmgr.h src/customtraylabel.h \
src/qtraylabel.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmp/moc_traylabelmgr.o tmp/moc_traylabelmgr.cpp
tmp/moc_customtraylabel.cpp: $(MOC) src/customtraylabel.h
$(MOC) src/customtraylabel.h -o tmp/moc_customtraylabel.cpp
tmp/moc_kdocker.cpp: $(MOC) src/kdocker.h
$(MOC) src/kdocker.h -o tmp/moc_kdocker.cpp
tmp/moc_qtraylabel.cpp: $(MOC) src/qtraylabel.h
$(MOC) src/qtraylabel.h -o tmp/moc_qtraylabel.cpp
tmp/moc_traylabelmgr.cpp: $(MOC) src/traylabelmgr.h
$(MOC) src/traylabelmgr.h -o tmp/moc_traylabelmgr.cpp
####### Install
install_target: all
@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/local/bin/" || $(MKDIR) "$(INSTALL_ROOT)/usr/local/bin/"
-$(INSTALL_FILE) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
uninstall_target:
-$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
-$(DEL_DIR) "$(INSTALL_ROOT)/usr/local/bin/"
install_icons: all
@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/local/share/kdocker/icons/" || $(MKDIR) "$(INSTALL_ROOT)/usr/local/share/kdocker/icons/"
-$(INSTALL_FILE) "icons/kdocker.png" "$(INSTALL_ROOT)/usr/local/share/kdocker/icons/"
-$(INSTALL_FILE) "icons/question.png" "$(INSTALL_ROOT)/usr/local/share/kdocker/icons/"
uninstall_icons:
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/icons/kdocker.png"
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/icons/question.png"
-$(DEL_DIR) "$(INSTALL_ROOT)/usr/local/share/kdocker/icons/"
install_docs: all
@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/local/share/kdocker/docs/" || $(MKDIR) "$(INSTALL_ROOT)/usr/local/share/kdocker/docs/"
-$(INSTALL_FILE) "README" "$(INSTALL_ROOT)/usr/local/share/kdocker/docs/"
uninstall_docs:
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/docs/README"
-$(DEL_DIR) "$(INSTALL_ROOT)/usr/local/share/kdocker/docs/"
install_translations: all
@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/" || $(MKDIR) "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
-$(INSTALL_FILE) "i18n/kdocker_bg.qm" "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
-$(INSTALL_FILE) "i18n/kdocker_cs.qm" "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
-$(INSTALL_FILE) "i18n/kdocker_de.qm" "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
-$(INSTALL_FILE) "i18n/kdocker_en.qm" "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
-$(INSTALL_FILE) "i18n/kdocker_es.qm" "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
-$(INSTALL_FILE) "i18n/kdocker_fr.qm" "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
-$(INSTALL_FILE) "i18n/kdocker_id.qm" "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
-$(INSTALL_FILE) "i18n/kdocker_it.qm" "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
-$(INSTALL_FILE) "i18n/kdocker_pl.qm" "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
-$(INSTALL_FILE) "i18n/kdocker_pt_BR.qm" "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
-$(INSTALL_FILE) "i18n/kdocker_ru.qm" "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
uninstall_translations:
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/kdocker_bg.qm"
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/kdocker_cs.qm"
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/kdocker_de.qm"
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/kdocker_en.qm"
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/kdocker_es.qm"
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/kdocker_fr.qm"
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/kdocker_id.qm"
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/kdocker_it.qm"
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/kdocker_pl.qm"
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/kdocker_pt_BR.qm"
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/kdocker_ru.qm"
-$(DEL_DIR) "$(INSTALL_ROOT)/usr/local/share/kdocker/i18n/"
install_desktop: all
@$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/applications/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/applications/"
-$(INSTALL_FILE) "kdocker.desktop" "$(INSTALL_ROOT)/usr/share/applications/"
uninstall_desktop:
-$(DEL_FILE) -r "$(INSTALL_ROOT)/usr/share/applications/kdocker.desktop"
-$(DEL_DIR) "$(INSTALL_ROOT)/usr/share/applications/"
install: install_target install_icons install_docs install_translations install_desktop
uninstall: uninstall_target uninstall_icons uninstall_docs uninstall_translations uninstall_desktop
|