home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 7 / FreshFishVol7.bin / bbs / gnu / aplusplus-1.01-src.lha / GNU / src / amiga / APlusPlus-1.01 / GNUC++ / APPLibrary / Makefile < prev    next >
Makefile  |  1994-07-07  |  4KB  |  111 lines

  1. # Makefile for the A++ Library, Copyright (C) by Armin Vogt
  2. #
  3. # This version hacked beyond belief by Fred Fish for GNU C++ and GNU make.
  4. # FIXME:  Add targets for "clean", "install", etc.
  5. #
  6. # $Id: makefile,v 1.3 1994/05/09 21:25:32 Armin_Vogt Exp Armin_Vogt $
  7.  
  8. VPATH =        ../../libsource
  9. INCDIR =    ../../include
  10.  
  11. CC =        gcc
  12. CFLAGS =    -O2
  13. AR =        ar
  14. RANLIB =    ranlib
  15.  
  16. LIBRARYFILE =    libaplusplus.a
  17.  
  18. OBJS =        APPMain.o List.o PriorityList.o ObjectList.o \
  19.         SignalResponder.o MessageC.o TimedMsgPort.o TimerC.o \
  20.         AttrList.o taglist.o IntuiObject.o ITransponder.o \
  21.         GraphicObject.o ScreenC.o WindowCV.o GWindow.o GBorder.o \
  22.         GadgetCV.o IntuiMessageC.o StdGadget.o BoopsiGadget.o \
  23.         GT_Gadget.o GT_Scroller.o GT_Listview.o GT_String.o \
  24.         FontC.o DrawArea.o AutoDrawArea.o Canvas.o TextView.o \
  25.         RawKeyDecoder.o MapArray.o LvObject.o
  26.         
  27.  
  28. .SUFFIXES:    .o .c .cxx
  29.  
  30. .cxx.o:
  31.         $(CC) -c -I$(INCDIR) $(CFLAGS) $<
  32.  
  33. # The default thing to do is to build the library, or rebuild any objects
  34. # in the library that are out of date.  The library is built and tested
  35. # locally before being installed in the gnu:libs directory.
  36. #
  37. # FIXME:  Arrange to build the other "flavors" of the library, such as
  38. # base relative, 68020+, etc.
  39.  
  40. all :        $(LIBRARYFILE)
  41.  
  42. $(LIBRARYFILE):    $(OBJS)
  43.         $(AR) crv $(LIBRARYFILE) $?
  44.         $(RANLIB) $(LIBRARYFILE)
  45.  
  46. APPMain.o:    APPMain.cxx 
  47.  
  48. AttrList.o:    AttrList.cxx $(INCDIR)/APlusPlus/utility/AttrList.h
  49.  
  50. AutoDrawArea.o:    AutoDrawArea.cxx $(INCDIR)/APlusPlus/graphics/AutoDrawArea.h
  51.  
  52. BoopsiGadget.o:    BoopsiGadget.cxx $(INCDIR)/APlusPlus/intuition/BoopsiGadget.h
  53.  
  54. Canvas.o:    Canvas.cxx $(INCDIR)/APlusPlus/graphics/Canvas.h
  55.  
  56. DrawArea.o:    DrawArea.cxx $(INCDIR)/APlusPlus/graphics/DrawArea.h
  57.  
  58. FontC.o:    FontC.cxx $(INCDIR)/APlusPlus/graphics/FontC.h
  59.  
  60. GadgetCV.o:    GadgetCV.cxx $(INCDIR)/APlusPlus/intuition/GadgetCV.h
  61.  
  62. GBorder.o:    GBorder.cxx $(INCDIR)/APlusPlus/graphics/GBorder.h
  63.  
  64. GraphicObject.o: GraphicObject.cxx $(INCDIR)/APlusPlus/graphics/GraphicObject.h
  65.  
  66. GT_Gadget.o:    GT_Gadget.cxx $(INCDIR)/APlusPlus/intuition/GT_Gadget.h
  67.  
  68. GT_Scroller.o:    GT_Scroller.cxx $(INCDIR)/APlusPlus/intuition/GT_Gadgets/GT_Scroller.h
  69.  
  70. GT_String.o:    GT_String.cxx $(INCDIR)/APlusPlus/intuition/GT_Gadgets/GT_String.h
  71.  
  72. GWindow.o:    GWindow.cxx $(INCDIR)/APlusPlus/intuition/GWindow.h
  73.  
  74. IntuiObject.o:    IntuiObject.cxx $(INCDIR)/APlusPlus/intuition/IntuiObject.h
  75.  
  76. ITransponder.o:    ITransponder.cxx $(INCDIR)/APlusPlus/intuition/ITransponder.h
  77.  
  78. List.o:        List.cxx $(INCDIR)/APlusPlus/exec/List.h
  79.  
  80. LvObject.o:    LvObject.cxx $(INCDIR)/APlusPlus/exec/LvObject.h
  81.  
  82. MapArray.o:    MapArray.cxx $(INCDIR)/APlusPlus/environment/MapArray.h
  83.  
  84. MessageC.o:    MessageC.cxx $(INCDIR)/APlusPlus/exec/MessageC.h
  85.  
  86. ObjectList.o:    ObjectList.cxx $(INCDIR)/APlusPlus/exec/ObjectList.h
  87.  
  88. PriorityList.o:    PriorityList.cxx $(INCDIR)/APlusPlus/exec/PriorityList.h
  89.  
  90. RawKeyDecoder.o: RawKeyDecoder.cxx $(INCDIR)/APlusPlus/intuition/RawKeyDecoder.h
  91.  
  92. ScreenC.o:    ScreenC.cxx $(INCDIR)/APlusPlus/intuition/ScreenC.h
  93.  
  94. SignalResponder.o: SignalResponder.cxx $(INCDIR)/APlusPlus/exec/SignalResponder.h
  95.  
  96. StdGadget.o:    StdGadget.cxx $(INCDIR)/APlusPlus/intuition/StdGadget.h
  97.  
  98. taglist.o:    taglist.cxx 
  99.  
  100. WindowCV.o:    WindowCV.cxx $(INCDIR)/APlusPlus/intuition/WindowCV.h
  101.  
  102. GT_Listview.o:    GT_Listview.cxx $(INCDIR)/APlusPlus/intuition/GT_Gadgets/GT_Listview.h
  103.  
  104. IntuiMessageC.o: IntuiMessageC.cxx $(INCDIR)/APlusPlus/intuition/IntuiMessageC.h
  105.  
  106. TextView.o:    TextView.cxx $(INCDIR)/APlusPlus/graphics/TextView.h
  107.  
  108. TimedMsgPort.o:    TimedMsgPort.cxx $(INCDIR)/APlusPlus/exec/TimedMsgPort.h
  109.  
  110. TimerC.o:    TimerC.cxx $(INCDIR)/APlusPlus/devices/TimerC.h
  111.