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 / lib / awt / make.bc.in < prev    next >
Text File  |  1996-09-28  |  2KB  |  85 lines

  1. # Makefile.in for kaffevm - a Java(tm) compatible virtual machine.
  2. # Borland
  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>, May 1996.
  10.  
  11. srcdir=        @srcdir@
  12. prefix=        @prefix@
  13. exec_prefix=    @exec_prefix@
  14. libdir=        @libdir@
  15. INSTALL=    @INSTALL@
  16. INSTALL_DATA=    @INSTALL_DATA@
  17. CC=        @CC@
  18. PIC=        @PIC@
  19. LDFLAGS=    @LIBSHARE@
  20. LDTAIL=        @LDTAIL@
  21. KVER=        @KVER@
  22. OBJEXT=@OBJEXT@
  23. LIBEXT=@LIBEXT@
  24.  
  25. CFLAGS=        @CFLAGS@ -I$(srcdir) -I..\support -I$(srcdir)\..\support \
  26.  -I..\..\config -I$(srcdir)\..\..\config -I..\..\kaffevm
  27.  
  28. LIBNAME=    libkaffe_tawt
  29. LIBX=        $(LIBNAME)$(LIBEXT).$(KVER)
  30. LLIB=        $(LIBNAME)$(LIBEXT)
  31.  
  32. OBJECT=    TinyEventThreadStub$(OBJEXT) \
  33.         TinyEventThread$(OBJEXT) \
  34.         TinyFontMetricsStub$(OBJEXT) \
  35.         TinyFontMetrics$(OBJEXT) \
  36.         TinyGraphicsStub$(OBJEXT) \
  37.         TinyGraphics$(OBJEXT) \
  38.         TinyInputThreadStub$(OBJEXT) \
  39.         TinyInputThread$(OBJEXT) \
  40.         TinyToolkitStub$(OBJEXT) \
  41.         TinyToolkit$(OBJEXT) \
  42.         TinyWindowStub$(OBJEXT) \
  43.         TinyWindow$(OBJEXT)
  44.  
  45. all:        links $(LLIB)
  46.  
  47. .path.c=    $(srcdir)\sun.awt.tiny;$(srcdir)\sun.awt.tiny.stubs
  48.  
  49.  
  50. $(LLIB):        $(OBJECT) $(LIBNAME).def
  51.         tlink32 -Tpd -v c0d32 @&&!
  52. $(OBJECT)
  53. !,$(LLIB),NUL,cw32 import32 ..\..\kaffevm\libkaffe_vm,$(LIBNAME).def,
  54.         implib $(LIBNAME) $(LLIB)
  55.  
  56. .c.obj:
  57.         $(CC) @&&!
  58. $(CFLAGS)
  59. ! -c $(PIC) $<
  60.  
  61. links:        ..\support\jtypes.h $(LIBNAME).def ..\..\config\config.h
  62.  
  63. ..\support\jtypes.h:    ..\..\..\config\i386\win32\bc\jtypes.h
  64.         copy ..\..\..\config\i386\win32\bc\jtypes.h ..\support\jtypes.h
  65.  
  66. $(LIBNAME).def: ..\..\..\config\i386\win32\bc\$(LIBNAME).def
  67.         copy ..\..\..\config\i386\win32\bc\$(LIBNAME).def $(LIBNAME).def
  68.  
  69. ..\..\config\config.h:    ..\..\..\config\i386\win32\bc\config.h
  70.         copy ..\..\..\config\i386\win32\bc\config.h ..\..\config\config.h
  71.  
  72. clean:
  73.         del *.obj
  74.         del *.dll
  75.         del *.lib
  76.  
  77. distclean:    clean
  78.         del ..\support\jtypes.h
  79.         del $(LIBNAME).def
  80.         del ..\..\config\config.h
  81.         del Makefile
  82.  
  83. install:
  84.         $(INSTALL_DATA) $(LIB) $(libdir)\$(LIB)
  85.