|
SUBDIRS = include src |
|
|
|
|
1 |
TESTFILES_A = \ |
TESTFILES_A = \ |
2 |
tests/t_appletcontext.at \ |
tests/t_appletcontext.at \ |
3 |
tests/t_appletcontextcodebase.at \ |
tests/t_appletcontextcodebase.at \ |
54 |
TESTFILES_H = \ |
TESTFILES_H = \ |
55 |
tests/TestAppletContext.html |
tests/TestAppletContext.html |
56 |
|
|
|
EXTRA_DIST = \ |
|
|
testsuite.at \ |
|
|
testsuite \ |
|
|
$(TESTFILES_A) \ |
|
|
$(TESTFILES_J) \ |
|
|
$(TESTFILES_C) \ |
|
|
$(TESTFILES_H) \ |
|
|
tests/atconfig.in \ |
|
|
tests/atlocal.in \ |
|
|
package.m4 \ |
|
|
BUGS \ |
|
|
HACKING \ |
|
|
LICENSE |
|
|
|
|
57 |
TESTS = $(srcdir)/testsuite |
TESTS = $(srcdir)/testsuite |
58 |
|
|
|
MOSTLYCLEANFILES = \ |
|
|
testsuite.dir/at-check-line \ |
|
|
testsuite.dir/at-status \ |
|
|
testsuite.dir/at-stdout \ |
|
|
testsuite.dir/at-stder1 \ |
|
|
testsuite.dir/at-stderr \ |
|
|
testsuite.dir/at-times \ |
|
|
testsuite.log |
|
|
|
|
|
DISTCLEANFILES = tests/atconfig |
|
|
|
|
59 |
$(srcdir)/package.m4: $(top_srcdir)/configure.ac |
$(srcdir)/package.m4: $(top_srcdir)/configure.ac |
60 |
{ \ |
{ \ |
61 |
echo '# Signature of the current package.'; \ |
echo '# Signature of the current package.'; \ |
69 |
$(srcdir)/testsuite: $(srcdir)/testsuite.at $(wildcard $(srcdir)/tests/t_*.at) $(srcdir)/package.m4 |
$(srcdir)/testsuite: $(srcdir)/testsuite.at $(wildcard $(srcdir)/tests/t_*.at) $(srcdir)/package.m4 |
70 |
autom4te --language=Autotest -I $(srcdir) $< -o $@.tmp; |
autom4te --language=Autotest -I $(srcdir) $< -o $@.tmp; |
71 |
mv $@.tmp $@ |
mv $@.tmp $@ |
72 |
|
|
73 |
|
if USE_EXTERNAL_MOZILLA_INCLUDES |
74 |
|
MOZILLA_CFLAGS = `$(MOZILLA_CONFIG) --cflags caps java liveconnect plugin oji xpcom` |
75 |
|
else |
76 |
|
MOZILLA_CFLAGS = -I$(top_srcdir)/include/classpath -I$(top_srcdir)/include/mozilla |
77 |
|
endif |
78 |
|
|
79 |
|
gcjwebplugin_java_source_files = \ |
80 |
|
src/gnu/gcjwebplugin/AppletSecurityManager.java \ |
81 |
|
src/gnu/gcjwebplugin/AppletClassLoader.java \ |
82 |
|
src/gnu/gcjwebplugin/AppletTag.java \ |
83 |
|
src/gnu/gcjwebplugin/AppletViewer.java \ |
84 |
|
src/gnu/gcjwebplugin/AppletWarning.java \ |
85 |
|
src/gnu/gcjwebplugin/CommonAppletContext.java \ |
86 |
|
src/gnu/gcjwebplugin/CommonAppletStub.java \ |
87 |
|
src/gnu/gcjwebplugin/ConsoleDialog.java \ |
88 |
|
src/gnu/gcjwebplugin/ErrorApplet.java \ |
89 |
|
src/gnu/gcjwebplugin/PluginAppletContext.java \ |
90 |
|
src/gnu/gcjwebplugin/PluginAppletViewer.java \ |
91 |
|
src/gnu/gcjwebplugin/PluginAppletWindow.java \ |
92 |
|
src/gnu/gcjwebplugin/StandaloneAppletContext.java \ |
93 |
|
src/gnu/gcjwebplugin/StandaloneAppletViewer.java \ |
94 |
|
src/gnu/gcjwebplugin/StandaloneAppletWindow.java |
95 |
|
|
96 |
|
gcjwebplugin_built_java_source_files = \ |
97 |
|
src/gnu/gcjwebplugin/Configuration.java |
98 |
|
|
99 |
|
getopt_java_source_files = \ |
100 |
|
src/gnu/getopt/Getopt.java \ |
101 |
|
src/gnu/getopt/LongOpt.java |
102 |
|
|
103 |
|
man_MANS = src/gcjappletviewer.1 |
104 |
|
|
105 |
|
if BUILD_NATIVE_VIEWER |
106 |
|
|
107 |
|
bin_SCRIPTS = |
108 |
|
bin_PROGRAMS = gcjappletviewer |
109 |
|
|
110 |
|
gcjappletviewer_SOURCES = \ |
111 |
|
src/gcjappletviewer.c |
112 |
|
|
113 |
|
gcjappletviewer_CFLAGS = \ |
114 |
|
-DGCJAPPLETVIEWER_CLASSPATH="\"$(datadir)/java/gcjappletviewer.jar\"" \ |
115 |
|
-Wall $(GLIB_CFLAGS) |
116 |
|
gcjappletviewer_LDFLAGS = $(GLIB_LIBS) -lgcj |
117 |
|
gcjappletviewer_DEPENDENCIES = gcjappletviewer.jar |
118 |
|
|
119 |
|
else # ! BUILD_NATIVE_VIEWER |
120 |
|
|
121 |
|
bin_SCRIPTS = gcjappletviewer |
122 |
|
bin_PROGRAMS = |
123 |
|
|
124 |
|
endif # ! BUILD_NATIVE_VIEWER |
125 |
|
|
126 |
|
lib_LTLIBRARIES = libgcjwebplugin.la |
127 |
|
|
128 |
|
libgcjwebplugin_la_SOURCES = src/gcjwebplugin.cc |
129 |
|
|
130 |
|
libgcjwebplugin_la_CFLAGS = $(MOZILLA_CFLAGS) $(GLIB_CFLAGS) $(LIBGCJ_CFLAGS) |
131 |
|
libgcjwebplugin_la_CXXFLAGS = $(MOZILLA_CFLAGS) $(GLIB_CFLAGS) $(LIBGCJ_CFLAGS) |
132 |
|
|
133 |
|
libgcjwebplugin_la_LDFLAGS = -avoid-version \ |
134 |
|
$(GLIB_LIBS) \ |
135 |
|
-lstdc++ |
136 |
|
|
137 |
|
install-libLTLIBRARIES: $(lib_LTLIBRARIES) |
138 |
|
$(INSTALL) -d -m0755 $(DESTDIR)@PLUGIN_DIR@ |
139 |
|
$(INSTALL) .libs/libgcjwebplugin.so $(DESTDIR)@PLUGIN_DIR@ |
140 |
|
|
141 |
|
uninstall-libLTLIBRARIES: |
142 |
|
rm -f $(DESTDIR)@PLUGIN_DIR@/libgcjwebplugin.so |
143 |
|
|
144 |
|
check_PROGRAMS = test |
145 |
|
|
146 |
|
test_SOURCES = src/test.cc |
147 |
|
test_CXXFLAGS = $(MOZILLA_CFLAGS) |
148 |
|
test_LDFLAGS = -lgcjwebplugin |
149 |
|
|
150 |
|
MESSAGE_BUNDLE_SRCS = \ |
151 |
|
$(srcdir)/src/gnu/getopt/MessagesBundle.properties \ |
152 |
|
$(srcdir)/src/gnu/getopt/MessagesBundle_cs.properties \ |
153 |
|
$(srcdir)/src/gnu/getopt/MessagesBundle_de.properties \ |
154 |
|
$(srcdir)/src/gnu/getopt/MessagesBundle_fr.properties \ |
155 |
|
$(srcdir)/src/gnu/getopt/MessagesBundle_hu.properties \ |
156 |
|
$(srcdir)/src/gnu/getopt/MessagesBundle_ja.properties \ |
157 |
|
$(srcdir)/src/gnu/getopt/MessagesBundle_nl.properties \ |
158 |
|
$(srcdir)/src/gnu/getopt/MessagesBundle_no.properties \ |
159 |
|
$(srcdir)/src/gnu/gcjwebplugin/locale/MessagesBundle.properties \ |
160 |
|
$(srcdir)/src/gnu/gcjwebplugin/locale/MessagesBundle_de.properties |
161 |
|
|
162 |
|
MESSAGE_BUNDLE_JAR_ARGS = \ |
163 |
|
-C $(srcdir)/src gnu/getopt/MessagesBundle.properties \ |
164 |
|
-C $(srcdir)/src gnu/getopt/MessagesBundle_cs.properties \ |
165 |
|
-C $(srcdir)/src gnu/getopt/MessagesBundle_de.properties \ |
166 |
|
-C $(srcdir)/src gnu/getopt/MessagesBundle_fr.properties \ |
167 |
|
-C $(srcdir)/src gnu/getopt/MessagesBundle_hu.properties \ |
168 |
|
-C $(srcdir)/src gnu/getopt/MessagesBundle_ja.properties \ |
169 |
|
-C $(srcdir)/src gnu/getopt/MessagesBundle_nl.properties \ |
170 |
|
-C $(srcdir)/src gnu/gcjwebplugin/locale/MessagesBundle.properties \ |
171 |
|
-C $(srcdir)/src gnu/gcjwebplugin/locale/MessagesBundle_de.properties |
172 |
|
|
173 |
|
gcjappletviewer_jar_source_files = \ |
174 |
|
$(gcjwebplugin_java_source_files) \ |
175 |
|
$(getopt_java_source_files) |
176 |
|
|
177 |
|
nodist_gcjappletviewer_jar_source_files = \ |
178 |
|
$(gcjwebplugin_built_java_source_files) |
179 |
|
|
180 |
|
gcjappletviewer_jar_class_files = $(gcjappletviewer_jar_source_files:.java=.class) |
181 |
|
|
182 |
|
$(gcjappletviewer_jar_class_files): %.class: %.java |
183 |
|
$(JAVAC) -classpath $(srcdir)/src:$(top_builddir)/src -d src $< |
184 |
|
|
185 |
|
gcjappletviewer.jar: $(gcjappletviewer_jar_class_files) $(MESSAGE_BUNDLE_SRCS) |
186 |
|
$(JAR) -cmf $(srcdir)/src/manifest.txt $@ \ |
187 |
|
`find src -name \*.class -print | sed -e 's%^\./%%' -e 's%^src/%%' -e 's/^/ -C src /'` \ |
188 |
|
$(MESSAGE_BUNDLE_JAR_ARGS) |
189 |
|
|
190 |
|
gcjappletviewer_jardir = $(datadir)/java |
191 |
|
gcjappletviewer_jar_DATA = gcjappletviewer.jar |
192 |
|
|
193 |
|
install-data-hook: |
194 |
|
# install versionless jar symlink |
195 |
|
cd $(DESTDIR)$(gcjappletviewer_jardir) && \ |
196 |
|
mv -f gcjappletviewer.jar gcjappletviewer-$(VERSION).jar && \ |
197 |
|
$(LN_S) gcjappletviewer-$(VERSION).jar gcjappletviewer.jar |
198 |
|
|
199 |
|
uninstall-local: |
200 |
|
-rm -f $(DESTDIR)$(gcjappletviewer_jardir)/gcjappletviewer-$(VERSION).jar |
201 |
|
|
202 |
|
MOSTLYCLEANFILES = \ |
203 |
|
testsuite.dir/at-check-line \ |
204 |
|
testsuite.dir/at-status \ |
205 |
|
testsuite.dir/at-stdout \ |
206 |
|
testsuite.dir/at-stder1 \ |
207 |
|
testsuite.dir/at-stderr \ |
208 |
|
testsuite.dir/at-times \ |
209 |
|
testsuite.log |
210 |
|
|
211 |
|
DISTCLEANFILES = \ |
212 |
|
tests/atconfig \ |
213 |
|
src/gnu/gcjwebplugin/Configuration.java |
214 |
|
|
215 |
|
CLEANFILES = \ |
216 |
|
$(gcjappletviewer_jar_class_files) \ |
217 |
|
src/gnu/gcjwebplugin/AppTag.class \ |
218 |
|
src/gnu/gcjwebplugin/ConsoleDialog\$$1.class \ |
219 |
|
src/gnu/gcjwebplugin/ConsoleDialog\$$InternalOutputStream.class \ |
220 |
|
src/gnu/gcjwebplugin/Configuration.class \ |
221 |
|
src/gnu/gcjwebplugin/EmbedTag.class \ |
222 |
|
src/gnu/gcjwebplugin/ObjectTag.class \ |
223 |
|
src/gnu/gcjwebplugin/StandaloneAppletWindow\$$1.class \ |
224 |
|
src/gnu/gcjwebplugin/StandaloneAppletWindow\$$2.class \ |
225 |
|
gcjappletviewer.jar |
226 |
|
|
227 |
|
EXTRA_DIST = \ |
228 |
|
testsuite.at \ |
229 |
|
testsuite \ |
230 |
|
$(TESTFILES_A) \ |
231 |
|
$(TESTFILES_J) \ |
232 |
|
$(TESTFILES_C) \ |
233 |
|
$(TESTFILES_H) \ |
234 |
|
tests/atconfig.in \ |
235 |
|
tests/atlocal.in \ |
236 |
|
package.m4 \ |
237 |
|
BUGS \ |
238 |
|
HACKING \ |
239 |
|
LICENSE \ |
240 |
|
$(gcjwebplugin_java_source_files) \ |
241 |
|
$(getopt_java_source_files) \ |
242 |
|
src/gcjappletviewer.1 \ |
243 |
|
src/gnu/gcjwebplugin/Configuration.java.in \ |
244 |
|
src/gnu/gcjwebplugin/oji/GCJJVMConsole.h \ |
245 |
|
src/gnu/gcjwebplugin/oji/GCJJVMPrefsWindow.h \ |
246 |
|
src/gnu/gcjwebplugin/oji/GCJPluginFactory.h \ |
247 |
|
src/gnu/gcjwebplugin/oji/GCJPluginInstance.h \ |
248 |
|
src/gnu/gcjwebplugin/oji/GCJSecureEnv.h \ |
249 |
|
src/gnu/gcjwebplugin/oji/oji.h \ |
250 |
|
src/manifest.txt \ |
251 |
|
src/pluginDebug.h \ |
252 |
|
src/pluginMeta.h \ |
253 |
|
src/gnu/getopt/MessagesBundle.properties \ |
254 |
|
src/gnu/getopt/MessagesBundle_cs.properties \ |
255 |
|
src/gnu/getopt/MessagesBundle_de.properties \ |
256 |
|
src/gnu/getopt/MessagesBundle_fr.properties \ |
257 |
|
src/gnu/getopt/MessagesBundle_hu.properties \ |
258 |
|
src/gnu/getopt/MessagesBundle_ja.properties \ |
259 |
|
src/gnu/getopt/MessagesBundle_nl.properties \ |
260 |
|
src/gnu/getopt/MessagesBundle_no.properties \ |
261 |
|
src/gnu/gcjwebplugin/locale/MessagesBundle.properties \ |
262 |
|
src/gnu/gcjwebplugin/locale/MessagesBundle_de.properties \ |
263 |
|
include/classpath/jni.h \ |
264 |
|
include/classpath/jni_md.h \ |
265 |
|
include/mozilla/obsolete/protypes.h \ |
266 |
|
include/mozilla/jri.h \ |
267 |
|
include/mozilla/jri_md.h \ |
268 |
|
include/mozilla/jritypes.h \ |
269 |
|
include/mozilla/npapi.h \ |
270 |
|
include/mozilla/npupp.h \ |
271 |
|
include/mozilla/nsDebug.h \ |
272 |
|
include/mozilla/nsError.h \ |
273 |
|
include/mozilla/nsIClassInfo.h \ |
274 |
|
include/mozilla/nsID.h \ |
275 |
|
include/mozilla/nsIInputStream.h \ |
276 |
|
include/mozilla/nsIPluginInstance.h \ |
277 |
|
include/mozilla/nsIPluginInstancePeer.h \ |
278 |
|
include/mozilla/nsIPluginStreamInfo.h \ |
279 |
|
include/mozilla/nsIPluginStreamListener.h \ |
280 |
|
include/mozilla/nsIPluginTagInfo.h \ |
281 |
|
include/mozilla/nsIPluginTagInfo2.h \ |
282 |
|
include/mozilla/nsIProgrammingLanguage.h \ |
283 |
|
include/mozilla/nsISupports.h \ |
284 |
|
include/mozilla/nsISupportsBase.h \ |
285 |
|
include/mozilla/nsISupportsImpl.h \ |
286 |
|
include/mozilla/nsISupportsUtils.h \ |
287 |
|
include/mozilla/nsTraceRefcnt.h \ |
288 |
|
include/mozilla/nscore.h \ |
289 |
|
include/mozilla/nsplugindefs.h \ |
290 |
|
include/mozilla/nspluginroot.h \ |
291 |
|
include/mozilla/nsrootidl.h \ |
292 |
|
include/mozilla/pratom.h \ |
293 |
|
include/mozilla/prcpucfg.h \ |
294 |
|
include/mozilla/prinrval.h \ |
295 |
|
include/mozilla/prlock.h \ |
296 |
|
include/mozilla/prlong.h \ |
297 |
|
include/mozilla/prthread.h \ |
298 |
|
include/mozilla/prtime.h \ |
299 |
|
include/mozilla/prtypes.h \ |
300 |
|
include/mozilla/xpcom-config.h |