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
|
$NetBSD: patch-cj,v 1.3 2003/01/02 09:12:35 skrll Exp $
--- konqueror/client/Makefile.in.orig Fri Dec 27 18:19:11 2002
+++ konqueror/client/Makefile.in
@@ -289,14 +289,18 @@ x_libraries = @x_libraries@
AM_CPPFLAGS = -DQT_NO_CAST_ASCII
bin_PROGRAMS = kfmclient
-lib_LTLIBRARIES = kfmclient.la
+lib_LTLIBRARIES = libkfmclient_main.la kfmclient.la
INCLUDES = -I.. $(all_includes)
-kfmclient_la_LDFLAGS = $(all_libraries) -module -avoid-version
-kfmclient_la_LIBADD = $(LIB_KFILE)
-#>- kfmclient_la_SOURCES = kfmclient.cc KonquerorIface.stub KDesktopIface.stub
+libkfmclient_main_la_LDFLAGS = $(all_libraries)
+libkfmclient_main_la_LIBADD = $(LIB_KFILE)
+#>- libkfmclient_main_la_SOURCES = kfmclient.cc KonquerorIface.stub KDesktopIface.stub
#>+ 1
-kfmclient_la_SOURCES=kfmclient.cc KonquerorIface_stub.cc KDesktopIface_stub.cc
+libkfmclient_main_la_SOURCES=kfmclient.cc KonquerorIface_stub.cc KDesktopIface_stub.cc
+
+kfmclient_la_LDFLAGS = $(all_libraries) -module -avoid-version
+kfmclient_la_LIBADD = libkfmclient_main.la
+kfmclient_la_SOURCES = kfmclient_main.cc
noinst_HEADERS = kfmclient.h
#>- METASOURCES = AUTO
@@ -304,31 +308,36 @@ noinst_HEADERS = kfmclient.h
KonquerorIface_DIR = $(srcdir)/..
KDesktopIface_DIR = $(top_srcdir)/kdesktop
-kfmclient_SOURCES = dummy.cc
+kfmclient_SOURCES = kfmclient_main.cc
kfmclient_LDFLAGS = $(KDE_RPATH) $(all_libraries)
-kfmclient_LDADD = kfmclient.la
+kfmclient_LDADD = libkfmclient_main.la
subdir = konqueror/client
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
LTLIBRARIES = $(lib_LTLIBRARIES)
-kfmclient_la_DEPENDENCIES =
-am_kfmclient_la_OBJECTS = kfmclient.lo
+kfmclient_la_DEPENDENCIES = libkfmclient_main.la
+am_kfmclient_la_OBJECTS = kfmclient_main.lo
#>- kfmclient_la_OBJECTS = $(am_kfmclient_la_OBJECTS)
+#>+ 1
+kfmclient_la_OBJECTS = kfmclient_main.lo
+libkfmclient_main_la_DEPENDENCIES =
+am_libkfmclient_main_la_OBJECTS = kfmclient.lo
+#>- libkfmclient_main_la_OBJECTS = $(am_libkfmclient_main_la_OBJECTS)
#>+ 4
-kfmclient_la_final_OBJECTS = kfmclient_la.all_cc.lo
-kfmclient_la_nofinal_OBJECTS = kfmclient.lo KonquerorIface_stub.lo KDesktopIface_stub.lo
-@KDE_USE_FINAL_FALSE@kfmclient_la_OBJECTS = $(kfmclient_la_nofinal_OBJECTS)
-@KDE_USE_FINAL_TRUE@kfmclient_la_OBJECTS = $(kfmclient_la_final_OBJECTS)
+libkfmclient_main_la_final_OBJECTS = libkfmclient_main_la.all_cc.lo
+libkfmclient_main_la_nofinal_OBJECTS = kfmclient.lo KonquerorIface_stub.lo KDesktopIface_stub.lo
+@KDE_USE_FINAL_FALSE@libkfmclient_main_la_OBJECTS = $(libkfmclient_main_la_nofinal_OBJECTS)
+@KDE_USE_FINAL_TRUE@libkfmclient_main_la_OBJECTS = $(libkfmclient_main_la_final_OBJECTS)
bin_PROGRAMS = kfmclient$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS)
-am_kfmclient_OBJECTS = dummy.$(OBJEXT)
+am_kfmclient_OBJECTS = kfmclient_main.$(OBJEXT)
#>- kfmclient_OBJECTS = $(am_kfmclient_OBJECTS)
#>+ 1
-kfmclient_OBJECTS = dummy.$(OBJEXT)
-kfmclient_DEPENDENCIES = kfmclient.la
+kfmclient_OBJECTS = kfmclient_main.$(OBJEXT)
+kfmclient_DEPENDENCIES = libkfmclient_main.la
DEFS = @DEFS@
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
@@ -336,10 +345,16 @@ CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
-#>- @AMDEP_TRUE@DEP_FILES = $(DEPDIR)/dummy.Po $(DEPDIR)/kfmclient.Plo
-#>+ 3
-@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@DEP_FILES = $(DEPDIR)/KonquerorIface_stub.P $(DEPDIR)/KDesktopIface_stub.P $(DEPDIR)/kfmclient_la.all_cc.P $(DEPDIR)/dummy.Po $(DEPDIR)/kfmclient.Plo
-@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@DEP_FILES = $(DEPDIR)/KonquerorIface_stub.P $(DEPDIR)/KDesktopIface_stub.P $(DEPDIR)/dummy.Po $(DEPDIR)/kfmclient.Plo
+#>- @AMDEP_TRUE@DEP_FILES = $(DEPDIR)/kfmclient.Plo \
+#>- @AMDEP_TRUE@ $(DEPDIR)/kfmclient_main.Plo \
+#>- @AMDEP_TRUE@ $(DEPDIR)/kfmclient_main.Po
+#>+ 7
+@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@DEP_FILES = $(DEPDIR)/KonquerorIface_stub.P $(DEPDIR)/KDesktopIface_stub.P $(DEPDIR)/libkfmclient_main_la.all_cc.P $(DEPDIR)/kfmclient.Plo \
+@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ $(DEPDIR)/kfmclient_main.Plo \
+@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ $(DEPDIR)/kfmclient_main.Po
+@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@DEP_FILES = $(DEPDIR)/KonquerorIface_stub.P $(DEPDIR)/KDesktopIface_stub.P $(DEPDIR)/kfmclient.Plo \
+@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ $(DEPDIR)/kfmclient_main.Plo \
+@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ $(DEPDIR)/kfmclient_main.Po
#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
@@ -360,11 +375,12 @@ CXXLD = $(CXX)
CXXLINK = $(LIBTOOL) --mode=link --tag=CXX $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
CXXFLAGS = @CXXFLAGS@
-DIST_SOURCES = $(kfmclient_la_SOURCES) $(kfmclient_SOURCES)
+DIST_SOURCES = $(kfmclient_la_SOURCES) $(libkfmclient_main_la_SOURCES) \
+ $(kfmclient_SOURCES)
HEADERS = $(noinst_HEADERS)
DIST_COMMON = $(noinst_HEADERS) ChangeLog Makefile.am Makefile.in
-SOURCES = $(kfmclient_la_SOURCES) $(kfmclient_SOURCES)
+SOURCES = $(kfmclient_la_SOURCES) $(libkfmclient_main_la_SOURCES) $(kfmclient_SOURCES)
#>- all: all-am
#>+ 1
@@ -413,6 +429,8 @@ clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
kfmclient.la: $(kfmclient_la_OBJECTS) $(kfmclient_la_DEPENDENCIES)
$(CXXLINK) -rpath $(libdir) $(kfmclient_la_LDFLAGS) $(kfmclient_la_OBJECTS) $(kfmclient_la_LIBADD) $(LIBS)
+libkfmclient_main.la: $(libkfmclient_main_la_OBJECTS) $(libkfmclient_main_la_DEPENDENCIES)
+ $(CXXLINK) -rpath $(libdir) $(libkfmclient_main_la_LDFLAGS) $(libkfmclient_main_la_OBJECTS) $(libkfmclient_main_la_LIBADD) $(LIBS)
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@@ -447,8 +465,9 @@ mostlyclean-compile:
distclean-compile:
-rm -f *.tab.c
-@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/dummy.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/kfmclient.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/kfmclient_main.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/kfmclient_main.Po@am__quote@
distclean-depend:
-rm -rf $(DEPDIR)
@@ -617,15 +636,16 @@ uninstall-am: uninstall-binPROGRAMS unin
uninstall-info-am uninstall-libLTLIBRARIES
-dummy.cc:
- echo > dummy.cc
-
messages:
$(XGETTEXT) -kaliasLocal *.h *.cc -o $(podir)/kfmclient.pot
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+#>+ 3
+kfmclient.moc: $(srcdir)/kfmclient.h
+ $(MOC) $(srcdir)/kfmclient.h -o kfmclient.moc
+
#>+ 9
KonquerorIface.kidl: $(srcdir)/../KonquerorIface.h $(DCOP_DEPENDENCIES)
$(DCOPIDL) $(srcdir)/../KonquerorIface.h > KonquerorIface.kidl || ( rm -f KonquerorIface.kidl ; /bin/false )
@@ -637,10 +657,6 @@ KDesktopIface_stub.h: KDesktopIface.kidl
$(DCOPIDL2CPP) --c++-suffix cc --no-signals --no-skel KDesktopIface.kidl
#>+ 3
-kfmclient.moc: $(srcdir)/kfmclient.h
- $(MOC) $(srcdir)/kfmclient.h -o kfmclient.moc
-
-#>+ 3
clean-metasources:
-rm -f kfmclient.moc
@@ -661,33 +677,33 @@ force-reedit:
#>+ 11
-kfmclient_la.all_cc.cc: $(srcdir)/Makefile.in $(srcdir)/kfmclient.cc KonquerorIface_stub.cc KDesktopIface_stub.cc kfmclient.moc
- @echo 'creating kfmclient_la.all_cc.cc ...'; \
- rm -f kfmclient_la.all_cc.files kfmclient_la.all_cc.final; \
- echo "#define KDE_USE_FINAL 1" >> kfmclient_la.all_cc.final; \
+libkfmclient_main_la.all_cc.cc: $(srcdir)/Makefile.in $(srcdir)/kfmclient.cc KonquerorIface_stub.cc KDesktopIface_stub.cc kfmclient.moc
+ @echo 'creating libkfmclient_main_la.all_cc.cc ...'; \
+ rm -f libkfmclient_main_la.all_cc.files libkfmclient_main_la.all_cc.final; \
+ echo "#define KDE_USE_FINAL 1" >> libkfmclient_main_la.all_cc.final; \
for file in kfmclient.cc KonquerorIface_stub.cc KDesktopIface_stub.cc ; do \
- echo "#include \"$$file\"" >> kfmclient_la.all_cc.files; \
- test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> kfmclient_la.all_cc.final; \
+ echo "#include \"$$file\"" >> libkfmclient_main_la.all_cc.files; \
+ test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> libkfmclient_main_la.all_cc.final; \
done; \
- cat kfmclient_la.all_cc.final kfmclient_la.all_cc.files > kfmclient_la.all_cc.cc; \
- rm -f kfmclient_la.all_cc.final kfmclient_la.all_cc.files
+ cat libkfmclient_main_la.all_cc.final libkfmclient_main_la.all_cc.files > libkfmclient_main_la.all_cc.cc; \
+ rm -f libkfmclient_main_la.all_cc.final libkfmclient_main_la.all_cc.files
#>+ 3
clean-final:
- -rm -f kfmclient_la.all_cc.cc
+ -rm -f libkfmclient_main_la.all_cc.cc
#>+ 2
final:
- $(MAKE) kfmclient_la_OBJECTS="$(kfmclient_la_final_OBJECTS)" all-am
+ $(MAKE) libkfmclient_main_la_OBJECTS="$(libkfmclient_main_la_final_OBJECTS)" all-am
#>+ 2
final-install:
- $(MAKE) kfmclient_la_OBJECTS="$(kfmclient_la_final_OBJECTS)" install-am
+ $(MAKE) libkfmclient_main_la_OBJECTS="$(libkfmclient_main_la_final_OBJECTS)" install-am
#>+ 2
no-final:
- $(MAKE) kfmclient_la_OBJECTS="$(kfmclient_la_nofinal_OBJECTS)" all-am
+ $(MAKE) libkfmclient_main_la_OBJECTS="$(libkfmclient_main_la_nofinal_OBJECTS)" all-am
#>+ 2
no-final-install:
- $(MAKE) kfmclient_la_OBJECTS="$(kfmclient_la_nofinal_OBJECTS)" install-am
+ $(MAKE) libkfmclient_main_la_OBJECTS="$(libkfmclient_main_la_nofinal_OBJECTS)" install-am
#>+ 3
cvs-clean:
$(MAKE) admindir=$(top_srcdir)/admin -f $(top_srcdir)/admin/Makefile.common cvs-clean
@@ -697,8 +713,8 @@ kde-rpo-clean:
-rm -f *.rpo
#>+ 6
+$(srcdir)/kfmclient.cc: KonquerorIface_stub.h KDesktopIface_stub.h
KDesktopIface_stub.cc: KDesktopIface_stub.h
+KonquerorIface_stub.cc: KonquerorIface_stub.h
kfmclient.lo: kfmclient.moc
kfmclient.o: kfmclient.moc
-KonquerorIface_stub.cc: KonquerorIface_stub.h
-$(srcdir)/kfmclient.cc: KonquerorIface_stub.h KDesktopIface_stub.h
|