[1684] in java-interest
re: Question about Makefile for native functions
daemon@ATHENA.MIT.EDU (Jeff White)
Thu Sep 14 04:29:20 1995
From: Jeff White <jsw@cs.brown.edu>
Date: Wed, 13 Sep 1995 22:13:40 -0400
To: sid.conklin@nora.stanford.edu
Reply-To: jsw@cs.brown.edu
Cc: java-interest@java.sun.com
Actually, the problem in the makefile is that javah doesn't produce
files (by default) with .stubs extension. So just change the .stubs
to .c in your makefile.
jeff
------------------------------------------------
From: "Sid Conklin" <sid.conklin@nora.stanford.edu>
Date: 13 Sep 1995 13:40:39 -0700
Subject: Question about Makefile for native functions
I'm following your native methods (File) example in alpha3 and can't figure
out the following portion of the make file. The "@ cat..." always fails
because it can't find the /.*stubs files. Further, I can't locate any
*.stubs files inside my java file space. So, what is this supposed to do? Am
I missing some files or have I errored again?
[delete... Makefile text ]
libstubs.c : classheaders $(STUBPREAMBLE)
$(JAVAH) -classpath $(CLASSPATH) -d $(CLASSSTUBDIR)/ \
-stubs $(EXPORTEDCLASSES)
@ cat $(STUBPREAMBLE) $(CLASSSTUBDIR)/*.stubs > $@
Thanks,
Sid Conklin
Stanford University
------------------------------------------------
--------------------------------------------------------------------
| Jeff White jsw@cs.brown.edu http://www.cs.brown.edu/people/jsw/ |
| "So you run and you run to catch up with the sun but it's sinking |
| Racing around to come up behind you again" - pink floyd |
--------------------------------------------------------------------
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com