home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
kaffe-0.5p4-src.tgz
/
tar.out
/
contrib
/
kaffe
/
lib
/
native
/
Makefile.in
Wrap
Makefile
|
1996-10-03
|
3KB
|
108 lines
# Native support for standard Java libraries
#
# Copyright (c) 1996 Systems Architecture Research Centre,
# City University, London, UK.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
@VPATHOPT@= @srcdir@/java.io@VPATHSEP@@srcdir@/java.lang@VPATHSEP@@srcdir@/java.util@VPATHSEP@@srcdir@/java.io.stubs@VPATHSEP@@srcdir@/java.lang.stubs@VPATHSEP@@srcdir@/java.util.stubs
srcdir= @srcdir@
prefix= @prefix@
exec_prefix= @exec_prefix@
libdir= @libdir@
CC= @CC@
AR= @AR@
AR_FLAGS= cr
RANLIB= @RANLIB@
CFLAGS= @CFLAGS@ -I$(srcdir) -I../support -I$(srcdir)/../support -I../../config -I$(srcdir)/../../config
INSTALL= @INSTALL@
INSTALL_DATA= @INSTALL_DATA@
LN= @LN_S@
PIC= @PIC@
LDFLAGS= @LIBSHARE@
LDTAIL= @LDTAIL@
KVER= @KVER@
OBJEXT= @OBJEXT@
LIBEXT= @LIBEXT@
LIBNAME= libkaffe_native
LIB= $(LIBNAME)$(LIBEXT).$(KVER)
LLIB= $(LIBNAME)$(LIBEXT)
OBJECT.IO= FileDescriptorStub$(OBJEXT) \
FileDescriptor$(OBJEXT) \
FileInputStreamStub$(OBJEXT) \
FileInputStream$(OBJEXT) \
FileOutputStreamStub$(OBJEXT) \
FileOutputStream$(OBJEXT) \
FileStub$(OBJEXT) \
File$(OBJEXT) \
RandomAccessFileStub$(OBJEXT) \
RandomAccessFile$(OBJEXT)
OBJECT.LANG= ClassLoaderStub$(OBJEXT) \
ClassLoader$(OBJEXT) \
ClassStub$(OBJEXT) \
Class$(OBJEXT) \
CompilerStub$(OBJEXT) \
Compiler$(OBJEXT) \
DoubleStub$(OBJEXT) \
Double$(OBJEXT) \
FloatStub$(OBJEXT) \
Float$(OBJEXT) \
MathStub$(OBJEXT) \
Math$(OBJEXT) \
ObjectStub$(OBJEXT) \
Object$(OBJEXT) \
ProcessReaperStub$(OBJEXT) \
ProcessReaper$(OBJEXT) \
RuntimeStub$(OBJEXT) \
Runtime$(OBJEXT) \
SecurityManagerStub$(OBJEXT) \
SecurityManager$(OBJEXT) \
SystemStub$(OBJEXT) \
System$(OBJEXT) \
ThreadStub$(OBJEXT) \
Thread$(OBJEXT) \
ThrowableStub$(OBJEXT) \
Throwable$(OBJEXT) \
UNIXProcessStub$(OBJEXT) \
UNIXProcess$(OBJEXT)
OBJECT.UTIL= DateStub$(OBJEXT) \
Date$(OBJEXT)
OBJECTS= $(OBJECT.LANG) $(OBJECT.IO) $(OBJECT.UTIL)
all: $(LLIB)
$(LLIB): $(LIB)
rm -f $(LLIB)
$(LN) $(LIB) $(LLIB)
$(LIB): $(OBJECTS)
if test "$(LIBEXT)" = ".a" ; then \
$(AR) $(AR_FLAGS) $(LIB) $(OBJECTS); \
$(RANLIB) $(LIB); \
else \
$(LD) $(LDFLAGS) -o $(LIB) $(OBJECTS) $(LDTAIL); \
fi
.c$(OBJEXT):
$(CC) $(CFLAGS) -c $(PIC) $<
clean:
rm -f $(LLIB) $(LIB) $(OBJECTS)
distclean: clean
rm -f Makefile
install:
test -d $(libdir) || mkdir -p $(libdir)
$(INSTALL_DATA) $(LIB) $(libdir)/$(LIB)
rm -f $(libdir)/$(LLIB)
$(LN) $(LIB) $(libdir)/$(LLIB)