summaryrefslogtreecommitdiffstats
path: root/x11-wm/epplets/files/patch-al
blob: 6a3a4fb3d11f21c292baf618693ea7ca2d3bedca (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
--- epplets/Makefile.in.orig	Tue Jan  4 23:55:53 2000
+++ epplets/Makefile.in	Fri Aug 10 13:38:45 2001
@@ -75,7 +75,7 @@
 LD = @LD@
 LDFLAGS = @LDFLAGS@
 LIBGTOP_CONFIG = @LIBGTOP_CONFIG@
-LIBS = @LIBS@
+LIBS = @LIBS@ -lepplet
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAINT = @MAINT@
@@ -108,7 +108,7 @@
 E_Mixer_epplet_SOURCES = E-Mixer.c
 E_Mixer_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
 E_Mixer_epplet_LDFLAGS = -rpath $(libdir):$(pkglibdir)
-E_Mixer_epplet_LDADD = $(top_builddir)/api/libepplet.la -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) @SGI_LIBS@
+E_Mixer_epplet_LDADD = -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) @SGI_LIBS@
 
 Emix_epplet_SOURCES = Emix.c
 Emix_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
@@ -117,7 +117,7 @@
 E_PlayCD_epplet_SOURCES = E-PlayCD.c
 E_PlayCD_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
 E_PlayCD_epplet_LDFLAGS = -rpath $(libdir):$(pkglibdir)
-E_PlayCD_epplet_LDADD = $(top_builddir)/api/libepplet.la -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) -lcdaudio
+E_PlayCD_epplet_LDADD = -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) -lcdaudio
 
 EppletTest_epplet_SOURCES = TestEpplet.c
 EppletTest_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
@@ -139,7 +139,7 @@
 E_Load_epplet_SOURCES = E-Load.c
 E_Load_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
 E_Load_epplet_LDFLAGS = -rpath $(libdir):$(pkglibdir)
-E_Load_epplet_LDADD = $(top_builddir)/api/libepplet.la -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) $(GTLIBS)
+E_Load_epplet_LDADD = -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) $(GTLIBS)
 
 E_Clock_epplet_SOURCES = E-Clock.c
 E_Clock_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
@@ -172,7 +172,7 @@
 E_Cpu_epplet_SOURCES = E-Cpu.c proc.h
 E_Cpu_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
 E_Cpu_epplet_LDFLAGS = -rpath $(libdir):$(pkglibdir)
-E_Cpu_epplet_LDADD = $(top_builddir)/api/libepplet.la -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) $(GTLIBS)
+E_Cpu_epplet_LDADD = -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) $(GTLIBS)
 
 E_Power_epplet_SOURCES = E-Power.c
 E_Power_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
@@ -185,7 +185,7 @@
 E_MemWatch_epplet_SOURCES = E-MemWatch.c
 E_MemWatch_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
 E_MemWatch_epplet_LDFLAGS = -rpath $(libdir):$(pkglibdir)
-E_MemWatch_epplet_LDADD = $(top_builddir)/api/libepplet.la -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) $(GTLIBS)
+E_MemWatch_epplet_LDADD = -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) $(GTLIBS)
 
 E_Disk_epplet_SOURCES = E-Disk.c
 E_Disk_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
@@ -194,7 +194,7 @@
 E_Sys_epplet_SOURCES = E-Sys.c
 E_Sys_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
 E_Sys_epplet_LDFLAGS = -rpath $(libdir):$(pkglibdir)
-E_Sys_epplet_LDADD = $(top_builddir)/api/libepplet.la -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) $(GTLIBS)
+E_Sys_epplet_LDADD = -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS) $(GTLIBS)
 
 E_Slides_epplet_SOURCES = E-Slides.c
 E_Slides_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
@@ -221,14 +221,14 @@
 E_UrlWatch_epplet_SOURCES = E-UrlWatch.c E-UrlWatch.h utils.c utils.h
 E_UrlWatch_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
 E_UrlWatch_epplet_LDFLAGS = -rpath $(libdir):$(pkglibdir) $(X_LIBS)
-E_UrlWatch_epplet_LDADD = $(top_builddir)/api/libepplet.la -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS)
+E_UrlWatch_epplet_LDADD = -L$(libdir) -L$(prefix)/lib $(LIBS) $(X_LIBS)
 
 E_Mountbox_epplet_SOURCES = E-Mountbox.c E-Mountbox.h
 E_Mountbox_epplet_DEPENDENCIES = $(top_srcdir)/api/libepplet.la
 E_Mountbox_epplet_LDFLAGS = -rpath $(libdir):$(pkglibdir)
 
 INCLUDES = -I. -I$(top_builddir)/api -I$(top_srcdir)/api -I$(top_srcdir) -I.. -I$(includedir) -I$(prefix)/include -I/usr/local/include $(X_CFLAGS) @SGI_DEFINES@
-LDADD = $(top_builddir)/api/libepplet.la -L$(libdir) -L$(prefix)/lib -L/usr/local/lib $(LIBS) $(X_LIBS)
+LDADD = -L$(libdir) -L$(prefix)/lib -L/usr/local/lib $(LIBS) $(X_LIBS)
 
 # You can use the following command to generate this line:
 # ABOUT_DOCS = `(cd epplets && ls -1d *.ABOUT/* 2>/dev/null | grep -v CVS)`
@@ -275,7 +275,7 @@
 E_Time_epplet_OBJECTS =  E-Time.o
 E_Time_epplet_LDADD = $(LDADD)
 E_Net_epplet_OBJECTS =  E-Net.o net.o
-E_Net_epplet_LDADD = $(LDADD)
+E_Net_epplet_LDADD = $(LDADD) -lkvm
 E_Cpu_epplet_OBJECTS =  E-Cpu.o
 E_Biff_epplet_OBJECTS =  E-Biff.o mbox.o
 E_Biff_epplet_LDADD = $(LDADD)
@@ -289,7 +289,7 @@
 E_Magic_epplet_OBJECTS =  E-Magic.o
 E_Magic_epplet_LDADD = $(LDADD)
 E_NetFlame_epplet_OBJECTS =  E-NetFlame.o net.o
-E_NetFlame_epplet_LDADD = $(LDADD)
+E_NetFlame_epplet_LDADD = $(LDADD) -lkvm
 E_Sys_epplet_OBJECTS =  E-Sys.o
 E_ScreenShoot_epplet_OBJECTS =  E-ScreenShoot.o cloak.o utils.o
 E_ScreenShoot_epplet_LDADD = $(LDADD)
@@ -306,7 +306,7 @@
 E_ScreenSave_epplet_OBJECTS =  E-ScreenSave.o cloak.o utils.o
 E_ScreenSave_epplet_LDADD = $(LDADD)
 E_NetGraph_epplet_OBJECTS =  E-NetGraph.o net.o
-E_NetGraph_epplet_LDADD = $(LDADD)
+E_NetGraph_epplet_LDADD = $(LDADD) -lkvm
 E_MoonClock_epplet_OBJECTS =  E-MoonClock.o CalcEphem.o Moon.o
 E_MoonClock_epplet_LDADD = $(LDADD)
 E_UrlWatch_epplet_OBJECTS =  E-UrlWatch.o utils.o
@@ -352,6 +352,8 @@
 	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
 	  else :; fi; \
 	done
+	chgrp kmem $(bindir)/E-Net.epplet $(bindir)/E-NetFlame.epplet $(bindir)/E-NetGraph.epplet
+	chmod 2755 $(bindir)/E-Net.epplet $(bindir)/E-NetFlame.epplet $(bindir)/E-NetGraph.epplet
 
 uninstall-binPROGRAMS:
 	@$(NORMAL_UNINSTALL)
@@ -397,115 +399,121 @@
 
 maintainer-clean-libtool:
 
-EppletTest.epplet: $(EppletTest_epplet_OBJECTS) $(EppletTest_epplet_DEPENDENCIES)
+EppletTest.epplet: $(EppletTest_epplet_OBJECTS)
 	@rm -f EppletTest.epplet
 	$(LINK) $(EppletTest_epplet_LDFLAGS) $(EppletTest_epplet_OBJECTS) $(EppletTest_epplet_LDADD) $(LIBS)
 
-EppletConfigTest.epplet: $(EppletConfigTest_epplet_OBJECTS) $(EppletConfigTest_epplet_DEPENDENCIES)
+EppletConfigTest.epplet: $(EppletConfigTest_epplet_OBJECTS)
 	@rm -f EppletConfigTest.epplet
 	$(LINK) $(EppletConfigTest_epplet_LDFLAGS) $(EppletConfigTest_epplet_OBJECTS) $(EppletConfigTest_epplet_LDADD) $(LIBS)
 
-E-Mixer.epplet: $(E_Mixer_epplet_OBJECTS) $(E_Mixer_epplet_DEPENDENCIES)
+E-Mixer.epplet: $(E_Mixer_epplet_OBJECTS)
 	@rm -f E-Mixer.epplet
 	$(LINK) $(E_Mixer_epplet_LDFLAGS) $(E_Mixer_epplet_OBJECTS) $(E_Mixer_epplet_LDADD) $(LIBS)
 
-Emix.epplet: $(Emix_epplet_OBJECTS) $(Emix_epplet_DEPENDENCIES)
+Emix.epplet: $(Emix_epplet_OBJECTS)
 	@rm -f Emix.epplet
 	$(LINK) $(Emix_epplet_LDFLAGS) $(Emix_epplet_OBJECTS) $(Emix_epplet_LDADD) $(LIBS)
 
-E-PlayCD.epplet: $(E_PlayCD_epplet_OBJECTS) $(E_PlayCD_epplet_DEPENDENCIES)
+E-PlayCD.epplet: $(E_PlayCD_epplet_OBJECTS)
 	@rm -f E-PlayCD.epplet
 	$(LINK) $(E_PlayCD_epplet_LDFLAGS) $(E_PlayCD_epplet_OBJECTS) $(E_PlayCD_epplet_LDADD) $(LIBS)
 
-E-Load.epplet: $(E_Load_epplet_OBJECTS) $(E_Load_epplet_DEPENDENCIES)
+E-Load.epplet: $(E_Load_epplet_OBJECTS)
 	@rm -f E-Load.epplet
 	$(LINK) $(E_Load_epplet_LDFLAGS) $(E_Load_epplet_OBJECTS) $(E_Load_epplet_LDADD) $(LIBS)
 
-E-Clock.epplet: $(E_Clock_epplet_OBJECTS) $(E_Clock_epplet_DEPENDENCIES)
+E-Clock.epplet: $(E_Clock_epplet_OBJECTS)
 	@rm -f E-Clock.epplet
 	$(LINK) $(E_Clock_epplet_LDFLAGS) $(E_Clock_epplet_OBJECTS) $(E_Clock_epplet_LDADD) $(LIBS)
 
-E-Time.epplet: $(E_Time_epplet_OBJECTS) $(E_Time_epplet_DEPENDENCIES)
+E-Time.epplet: $(E_Time_epplet_OBJECTS)
 	@rm -f E-Time.epplet
 	$(LINK) $(E_Time_epplet_LDFLAGS) $(E_Time_epplet_OBJECTS) $(E_Time_epplet_LDADD) $(LIBS)
 
-E-Net.epplet: $(E_Net_epplet_OBJECTS) $(E_Net_epplet_DEPENDENCIES)
+E-Net.epplet: $(E_Net_epplet_OBJECTS)
 	@rm -f E-Net.epplet
 	$(LINK) $(E_Net_epplet_LDFLAGS) $(E_Net_epplet_OBJECTS) $(E_Net_epplet_LDADD) $(LIBS)
+	@chgrp kmem E-Net.epplet
+	@chmod 2755 E-Net.epplet
 
-E-Cpu.epplet: $(E_Cpu_epplet_OBJECTS) $(E_Cpu_epplet_DEPENDENCIES)
+E-Cpu.epplet: $(E_Cpu_epplet_OBJECTS)
 	@rm -f E-Cpu.epplet
 	$(LINK) $(E_Cpu_epplet_LDFLAGS) $(E_Cpu_epplet_OBJECTS) $(E_Cpu_epplet_LDADD) $(LIBS)
 
-E-Biff.epplet: $(E_Biff_epplet_OBJECTS) $(E_Biff_epplet_DEPENDENCIES)
+E-Biff.epplet: $(E_Biff_epplet_OBJECTS)
 	@rm -f E-Biff.epplet
 	$(LINK) $(E_Biff_epplet_LDFLAGS) $(E_Biff_epplet_OBJECTS) $(E_Biff_epplet_LDADD) $(LIBS)
 
-E-Power.epplet: $(E_Power_epplet_OBJECTS) $(E_Power_epplet_DEPENDENCIES)
+E-Power.epplet: $(E_Power_epplet_OBJECTS)
 	@rm -f E-Power.epplet
 	$(LINK) $(E_Power_epplet_LDFLAGS) $(E_Power_epplet_OBJECTS) $(E_Power_epplet_LDADD) $(LIBS)
 
-E-MemWatch.epplet: $(E_MemWatch_epplet_OBJECTS) $(E_MemWatch_epplet_DEPENDENCIES)
+E-MemWatch.epplet: $(E_MemWatch_epplet_OBJECTS)
 	@rm -f E-MemWatch.epplet
 	$(LINK) $(E_MemWatch_epplet_LDFLAGS) $(E_MemWatch_epplet_OBJECTS) $(E_MemWatch_epplet_LDADD) $(LIBS)
 
-E-Disk.epplet: $(E_Disk_epplet_OBJECTS) $(E_Disk_epplet_DEPENDENCIES)
+E-Disk.epplet: $(E_Disk_epplet_OBJECTS)
 	@rm -f E-Disk.epplet
 	$(LINK) $(E_Disk_epplet_LDFLAGS) $(E_Disk_epplet_OBJECTS) $(E_Disk_epplet_LDADD) $(LIBS)
 
-E-Areas.epplet: $(E_Areas_epplet_OBJECTS) $(E_Areas_epplet_DEPENDENCIES)
+E-Areas.epplet: $(E_Areas_epplet_OBJECTS)
 	@rm -f E-Areas.epplet
 	$(LINK) $(E_Areas_epplet_LDFLAGS) $(E_Areas_epplet_OBJECTS) $(E_Areas_epplet_LDADD) $(LIBS)
 
-E-Magic.epplet: $(E_Magic_epplet_OBJECTS) $(E_Magic_epplet_DEPENDENCIES)
+E-Magic.epplet: $(E_Magic_epplet_OBJECTS)
 	@rm -f E-Magic.epplet
 	$(LINK) $(E_Magic_epplet_LDFLAGS) $(E_Magic_epplet_OBJECTS) $(E_Magic_epplet_LDADD) $(LIBS)
 
-E-NetFlame.epplet: $(E_NetFlame_epplet_OBJECTS) $(E_NetFlame_epplet_DEPENDENCIES)
+E-NetFlame.epplet: $(E_NetFlame_epplet_OBJECTS)
 	@rm -f E-NetFlame.epplet
 	$(LINK) $(E_NetFlame_epplet_LDFLAGS) $(E_NetFlame_epplet_OBJECTS) $(E_NetFlame_epplet_LDADD) $(LIBS)
+	@chgrp kmem E-NetFlame.epplet
+	@chmod 2755 E-NetFlame.epplet
 
-E-Sys.epplet: $(E_Sys_epplet_OBJECTS) $(E_Sys_epplet_DEPENDENCIES)
+E-Sys.epplet: $(E_Sys_epplet_OBJECTS)
 	@rm -f E-Sys.epplet
 	$(LINK) $(E_Sys_epplet_LDFLAGS) $(E_Sys_epplet_OBJECTS) $(E_Sys_epplet_LDADD) $(LIBS)
 
-E-ScreenShoot.epplet: $(E_ScreenShoot_epplet_OBJECTS) $(E_ScreenShoot_epplet_DEPENDENCIES)
+E-ScreenShoot.epplet: $(E_ScreenShoot_epplet_OBJECTS)
 	@rm -f E-ScreenShoot.epplet
 	$(LINK) $(E_ScreenShoot_epplet_LDFLAGS) $(E_ScreenShoot_epplet_OBJECTS) $(E_ScreenShoot_epplet_LDADD) $(LIBS)
 
-E-Slides.epplet: $(E_Slides_epplet_OBJECTS) $(E_Slides_epplet_DEPENDENCIES)
+E-Slides.epplet: $(E_Slides_epplet_OBJECTS)
 	@rm -f E-Slides.epplet
 	$(LINK) $(E_Slides_epplet_LDFLAGS) $(E_Slides_epplet_OBJECTS) $(E_Slides_epplet_LDADD) $(LIBS)
 
-E-Xss.epplet: $(E_Xss_epplet_OBJECTS) $(E_Xss_epplet_DEPENDENCIES)
+E-Xss.epplet: $(E_Xss_epplet_OBJECTS)
 	@rm -f E-Xss.epplet
 	$(LINK) $(E_Xss_epplet_LDFLAGS) $(E_Xss_epplet_OBJECTS) $(E_Xss_epplet_LDADD) $(LIBS)
 
-E-Mountbox.epplet: $(E_Mountbox_epplet_OBJECTS) $(E_Mountbox_epplet_DEPENDENCIES)
+E-Mountbox.epplet: $(E_Mountbox_epplet_OBJECTS)
 	@rm -f E-Mountbox.epplet
 	$(LINK) $(E_Mountbox_epplet_LDFLAGS) $(E_Mountbox_epplet_OBJECTS) $(E_Mountbox_epplet_LDADD) $(LIBS)
 
-E-Exec.epplet: $(E_Exec_epplet_OBJECTS) $(E_Exec_epplet_DEPENDENCIES)
+E-Exec.epplet: $(E_Exec_epplet_OBJECTS)
 	@rm -f E-Exec.epplet
 	$(LINK) $(E_Exec_epplet_LDFLAGS) $(E_Exec_epplet_OBJECTS) $(E_Exec_epplet_LDADD) $(LIBS)
 
-E-SD.epplet: $(E_SD_epplet_OBJECTS) $(E_SD_epplet_DEPENDENCIES)
+E-SD.epplet: $(E_SD_epplet_OBJECTS)
 	@rm -f E-SD.epplet
 	$(LINK) $(E_SD_epplet_LDFLAGS) $(E_SD_epplet_OBJECTS) $(E_SD_epplet_LDADD) $(LIBS)
 
-E-ScreenSave.epplet: $(E_ScreenSave_epplet_OBJECTS) $(E_ScreenSave_epplet_DEPENDENCIES)
+E-ScreenSave.epplet: $(E_ScreenSave_epplet_OBJECTS)
 	@rm -f E-ScreenSave.epplet
 	$(LINK) $(E_ScreenSave_epplet_LDFLAGS) $(E_ScreenSave_epplet_OBJECTS) $(E_ScreenSave_epplet_LDADD) $(LIBS)
 
-E-NetGraph.epplet: $(E_NetGraph_epplet_OBJECTS) $(E_NetGraph_epplet_DEPENDENCIES)
+E-NetGraph.epplet: $(E_NetGraph_epplet_OBJECTS)
 	@rm -f E-NetGraph.epplet
 	$(LINK) $(E_NetGraph_epplet_LDFLAGS) $(E_NetGraph_epplet_OBJECTS) $(E_NetGraph_epplet_LDADD) $(LIBS)
+	@chgrp kmem E-NetGraph.epplet
+	@chmod 2755 E-NetGraph.epplet
 
-E-MoonClock.epplet: $(E_MoonClock_epplet_OBJECTS) $(E_MoonClock_epplet_DEPENDENCIES)
+E-MoonClock.epplet: $(E_MoonClock_epplet_OBJECTS)
 	@rm -f E-MoonClock.epplet
 	$(LINK) $(E_MoonClock_epplet_LDFLAGS) $(E_MoonClock_epplet_OBJECTS) $(E_MoonClock_epplet_LDADD) $(LIBS)
 
-E-UrlWatch.epplet: $(E_UrlWatch_epplet_OBJECTS) $(E_UrlWatch_epplet_DEPENDENCIES)
+E-UrlWatch.epplet: $(E_UrlWatch_epplet_OBJECTS)
 	@rm -f E-UrlWatch.epplet
 	$(LINK) $(E_UrlWatch_epplet_LDFLAGS) $(E_UrlWatch_epplet_OBJECTS) $(E_UrlWatch_epplet_LDADD) $(LIBS)
 
OpenPOWER on IntegriCloud