home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / fltk.zip / fltkos2.zip / fltkos2 / makeinclude < prev    next >
Text File  |  2001-07-15  |  2KB  |  98 lines

  1. #
  2. # "$Id: makeinclude.os2pm,v 1.1.2.4 2001/05/06 13:32:48 easysw Exp $"
  3. #
  4. # Make include file for the Fast Light Tool Kit (FLTK).
  5. # Generated automatically from makeinclude.in by configure.
  6. #
  7. # Copyright 1998-2001 by Bill Spitzak and others.
  8. #
  9. # This library is free software; you can redistribute it and/or
  10. # modify it under the terms of the GNU Library General Public
  11. # License as published by the Free Software Foundation; either
  12. # version 2 of the License, or (at your option) any later version.
  13. #
  14. # This library is distributed in the hope that it will be useful,
  15. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  17. # Library General Public License for more details.
  18. #
  19. # You should have received a copy of the GNU Library General Public
  20. # License along with this library; if not, write to the Free Software
  21. # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  22. # USA.
  23. #
  24. # Please report all bugs and problems to "fltk-bugs@fltk.org".
  25. #
  26.  
  27. prefix        =/usr/local
  28. exec_prefix    =${prefix}
  29. bindir        =${exec_prefix}/bin
  30. datadir        =${prefix}/share
  31. includedir    =${prefix}/include
  32. libdir        =${exec_prefix}/lib
  33. mandir        =${prefix}/man
  34. srcdir        =.
  35.  
  36. # programs we use...
  37. HTMLDOC        =e:/XFree86/bin/htmldoc.exe
  38. NROFF        =e:/usr/local/bin/nroff
  39.  
  40. # compiler names:
  41. CXX        =gcc.exe
  42. CC        =gcc.exe
  43. MAKEDEPEND    =$(CXX) -M
  44.  
  45. # flags for C++ compiler:
  46. CFLAGS        =-Zmt -g -DOS2PM -D__DEBUG__
  47. CXXFLAGS    =-Zmt -g -DOS2PM -D__DEBUG__
  48. LDFLAGS        =-s -Zexe -Zmt
  49.  
  50. # program to make the archive:
  51. LIBNAME        =libfltk.a
  52. LIBCOMMAND    =ar cr
  53. RANLIB        =ar s
  54. DSONAME        =
  55. DSOCOMMAND    =echo
  56.  
  57. # libraries to link with:
  58. LDLIBS        =
  59. GLDLIBS        =
  60.  
  61. # Man page extensions...
  62. CAT1EXT        =1
  63. CAT3EXT        =3
  64.  
  65. # Be quiet when building...
  66. .SILENT:
  67.  
  68. # Build commands and filename extensions...
  69. .SUFFIXES:    .0 .1 .3 .c .cxx .h .fl .man .o .z
  70.  
  71. .cxx:
  72.     echo Compiling and linking $@...
  73.     $(CXX) -I.. -L../lib $(CXXFLAGS) $< -lfltk $(LDLIBS) -o $@
  74.  
  75. .c.o:
  76.     echo Compiling $@...
  77.     $(CC) -I.. $(CFLAGS) -c $<
  78.  
  79. .cxx.o:
  80.     echo Compiling $@...
  81.     $(CXX) -I.. $(CXXFLAGS) -c $<
  82.  
  83. .man.0 .man.1 .man.3:
  84.     echo Formatting $<...
  85.     rm -f $@
  86.     $(NROFF) -man $< >$@
  87.  
  88. .man.z:
  89.     echo Formatting $<...
  90.     rm -f $@ t.z
  91.     $(NROFF) -man $< >t
  92.     pack -f t
  93.     mv t.z $@
  94.  
  95. #
  96. # End of "$Id: makeinclude.os2pm,v 1.1.2.4 2001/05/06 13:32:48 easysw Exp $".
  97. #
  98.