home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / kaffe-0.5p4-src.tgz / tar.out / contrib / kaffe / win32 / OLD-WIN32 / lib / native / Makefile < prev   
Makefile  |  1996-09-28  |  2KB  |  94 lines

  1. # Native support for standard Java libraries
  2. #
  3. # Copyright (c) 1996 Systems Architecture Research Centre,
  4. #           City University, London, UK.
  5. #
  6. # See the file "license.terms" for information on usage and redistribution
  7. # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  8. #
  9. # Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
  10.  
  11. .path.c=    ..\..\..\lib\native\java.io;..\..\..\lib\native\java.lang;..\..\..\lib\native\java.util;..\..\..\lib\native\java.io.stubs;..\..\..\lib\native\java.lang.stubs;..\..\..\lib\native\java.util.stubs
  12. srcdir=        ..\..\..\lib\native
  13. prefix=
  14. exec_prefix=
  15. libdir=        c:\kaffe\lib
  16. CC=        bcc32 -v -y
  17. CFLAGS=        @includes.rsp -tWD
  18. INSTALL=
  19. INSTALL_DATA=    copy
  20. LN=
  21. PIC=
  22. LDFLAGS=
  23. LDTAIL=
  24. KVER=        0.4
  25. OBJEXT=        .obj
  26. LIBEXT=        .dll
  27.  
  28. LIBNAME=    kaffe_native
  29. LIB=        lib$(LIBNAME)$(LIBEXT)
  30. LLIB=        lib$(LIBNAME)$(LIBEXT)
  31.  
  32. OBJECT.IO=    FileDescriptorStub$(OBJEXT) \
  33.         FileDescriptor$(OBJEXT) \
  34.         FileInputStreamStub$(OBJEXT) \
  35.         FileInputStream$(OBJEXT) \
  36.         FileOutputStreamStub$(OBJEXT) \
  37.         FileOutputStream$(OBJEXT) \
  38.         FileStub$(OBJEXT) \
  39.         File$(OBJEXT) \
  40.         RandomAccessFileStub$(OBJEXT) \
  41.         RandomAccessFile$(OBJEXT)
  42.  
  43. OBJECT.LANG=    ClassLoaderStub$(OBJEXT) \
  44.         ClassLoader$(OBJEXT) \
  45.         ClassStub$(OBJEXT) \
  46.         Class$(OBJEXT) \
  47.         CompilerStub$(OBJEXT) \
  48.         Compiler$(OBJEXT) \
  49.         DoubleStub$(OBJEXT) \
  50.         Double$(OBJEXT) \
  51.         FloatStub$(OBJEXT) \
  52.         Float$(OBJEXT) \
  53.         MathStub$(OBJEXT) \
  54.         Math$(OBJEXT) \
  55.         ObjectStub$(OBJEXT) \
  56.         Object$(OBJEXT) \
  57.         ProcessReaperStub$(OBJEXT) \
  58.         ProcessReaper$(OBJEXT) \
  59.         RuntimeStub$(OBJEXT) \
  60.         Runtime$(OBJEXT) \
  61.         SecurityManagerStub$(OBJEXT) \
  62.         SecurityManager$(OBJEXT) \
  63.         SystemStub$(OBJEXT) \
  64.         System$(OBJEXT) \
  65.         ThreadStub$(OBJEXT) \
  66.         Thread$(OBJEXT) \
  67.         ThrowableStub$(OBJEXT) \
  68.         Throwable$(OBJEXT) \
  69.         UNIXProcessStub$(OBJEXT) \
  70.         UNIXProcess$(OBJEXT)
  71.  
  72. OBJECT.UTIL=    DateStub$(OBJEXT) \
  73.         Date$(OBJEXT)
  74.  
  75. OBJECTS=    $(OBJECT.LANG) $(OBJECT.IO) $(OBJECT.UTIL)
  76.  
  77. all:        $(LIB)
  78.  
  79. $(LIB):        $(OBJECTS)
  80.         tlink32 -Tpd -v c0d32 @listobj.rsp,$(LIB),NUL,cw32 import32 ..\..\kaffevm\libkaffe_vm,lib$(LIBNAME).def,
  81.  
  82. .c$(OBJEXT):
  83.         $(CC) $(CFLAGS) -c $(PIC) $<
  84.  
  85. clean:
  86.         del *.obj
  87.         del *.dll
  88.  
  89. distclean:    clean
  90.         rm -f Makefile
  91.  
  92. install:
  93.         $(INSTALL_DATA) $(LIB) $(libdir)\$(LIB)
  94.