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
|
$NetBSD: patch-ak,v 1.3 2003/01/02 09:12:39 skrll Exp $
--- kconf_update/Makefile.in.orig Tue Nov 26 08:57:39 2002
+++ kconf_update/Makefile.in
@@ -282,16 +282,20 @@ x_libraries = @x_libraries@
INCLUDES = $(all_includes)
-lib_LTLIBRARIES = kconf_update.la
+lib_LTLIBRARIES = libkconf_update_main.la kconf_update.la
bin_PROGRAMS = kconf_update
-kconf_update_SOURCES = dummy.cpp
-kconf_update_LDADD = kconf_update.la
+kconf_update_SOURCES = kconf_update_main.cpp
+kconf_update_LDADD = libkconf_update_main.la
kconf_update_LDFLAGS = $(KDE_RPATH) $(all_libraries)
-kconf_update_la_SOURCES = kconf_update.cpp
-kconf_update_la_LIBADD = ../kdecore/libkdecore.la
+libkconf_update_main_la_SOURCES = kconf_update.cpp
+libkconf_update_main_la_LIBADD = ../kdecore/libkdecore.la
+libkconf_update_main_la_LDFLAGS = $(all_libraries)
+
+kconf_update_la_SOURCES = kconf_update_main.cpp
kconf_update_la_LDFLAGS = $(all_libraries) -module -avoid-version
+kconf_update_la_LIBADD = libkconf_update_main.la
#>- METASOURCES = AUTO
subdir = kconf_update
@@ -300,19 +304,24 @@ CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
LTLIBRARIES = $(lib_LTLIBRARIES)
-kconf_update_la_DEPENDENCIES = ../kdecore/libkdecore.la
-am_kconf_update_la_OBJECTS = kconf_update.lo
+kconf_update_la_DEPENDENCIES = libkconf_update_main.la
+am_kconf_update_la_OBJECTS = kconf_update_main.lo
#>- kconf_update_la_OBJECTS = $(am_kconf_update_la_OBJECTS)
#>+ 1
-kconf_update_la_OBJECTS = kconf_update.lo
+kconf_update_la_OBJECTS = kconf_update_main.lo
+libkconf_update_main_la_DEPENDENCIES = ../kdecore/libkdecore.la
+am_libkconf_update_main_la_OBJECTS = kconf_update.lo
+#>- libkconf_update_main_la_OBJECTS = $(am_libkconf_update_main_la_OBJECTS)
+#>+ 1
+libkconf_update_main_la_OBJECTS = kconf_update.lo
bin_PROGRAMS = kconf_update$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS)
-am_kconf_update_OBJECTS = dummy.$(OBJEXT)
+am_kconf_update_OBJECTS = kconf_update_main.$(OBJEXT)
#>- kconf_update_OBJECTS = $(am_kconf_update_OBJECTS)
#>+ 1
-kconf_update_OBJECTS = dummy.$(OBJEXT)
-kconf_update_DEPENDENCIES = kconf_update.la
+kconf_update_OBJECTS = kconf_update_main.$(OBJEXT)
+kconf_update_DEPENDENCIES = libkconf_update_main.la
DEFS = @DEFS@
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
@@ -320,9 +329,13 @@ CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
-#>- @AMDEP_TRUE@DEP_FILES = $(DEPDIR)/dummy.Po $(DEPDIR)/kconf_update.Plo
-#>+ 2
-@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/dummy.Po $(DEPDIR)/kconf_update.Plo
+#>- @AMDEP_TRUE@DEP_FILES = $(DEPDIR)/kconf_update.Plo \
+#>- @AMDEP_TRUE@ $(DEPDIR)/kconf_update_main.Plo \
+#>- @AMDEP_TRUE@ $(DEPDIR)/kconf_update_main.Po
+#>+ 4
+@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/kconf_update.Plo \
+@AMDEP_TRUE@ @AMDEP_TRUE@ $(DEPDIR)/kconf_update_main.Plo \
+@AMDEP_TRUE@ @AMDEP_TRUE@ $(DEPDIR)/kconf_update_main.Po
#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
@@ -343,9 +356,10 @@ CXXLD = $(CXX)
CXXLINK = $(LIBTOOL) --mode=link --tag=CXX $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
CXXFLAGS = @CXXFLAGS@
-DIST_SOURCES = $(kconf_update_la_SOURCES) $(kconf_update_SOURCES)
+DIST_SOURCES = $(kconf_update_la_SOURCES) \
+ $(libkconf_update_main_la_SOURCES) $(kconf_update_SOURCES)
DIST_COMMON = Makefile.am Makefile.in
-SOURCES = $(kconf_update_la_SOURCES) $(kconf_update_SOURCES)
+SOURCES = $(kconf_update_la_SOURCES) $(libkconf_update_main_la_SOURCES) $(kconf_update_SOURCES)
#>- all: all-am
#>+ 1
@@ -394,6 +408,8 @@ clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
kconf_update.la: $(kconf_update_la_OBJECTS) $(kconf_update_la_DEPENDENCIES)
$(CXXLINK) -rpath $(libdir) $(kconf_update_la_LDFLAGS) $(kconf_update_la_OBJECTS) $(kconf_update_la_LIBADD) $(LIBS)
+libkconf_update_main.la: $(libkconf_update_main_la_OBJECTS) $(libkconf_update_main_la_DEPENDENCIES)
+ $(CXXLINK) -rpath $(libdir) $(libkconf_update_main_la_LDFLAGS) $(libkconf_update_main_la_OBJECTS) $(libkconf_update_main_la_LIBADD) $(LIBS)
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@@ -428,8 +444,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)/kconf_update.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/kconf_update_main.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/kconf_update_main.Po@am__quote@
distclean-depend:
-rm -rf $(DEPDIR)
@@ -602,9 +619,6 @@ uninstall-am: uninstall-binPROGRAMS unin
# Internal
# noinst_HEADERS = kconf_update.h
-
-dummy.cpp:
- echo > dummy.cpp
# 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:
|