home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sources / misc / 4162 / xvertext.2.0 / Imakefile < prev    next >
Encoding:
Makefile  |  1992-12-12  |  2.3 KB  |  79 lines

  1. #############################################################################
  2.  
  3. # Which compiler to use? 
  4.  
  5. # cc:
  6.              CC = cc
  7.          FFLAGS = -O 
  8.  
  9. # gcc:
  10. #            CC = gcc
  11. #        FFLAGS = -traditional -O2
  12.  
  13. #############################################################################
  14.  
  15. # If your Xlib is Release 3, uncomment this:
  16.  
  17. #      RDEFINES = -DX11R3
  18.  
  19. #############################################################################
  20.  
  21. # This is where the library and header files will go, if you use
  22. #  `make install.lib' to install them. Change as required:
  23.  
  24.       THELIBDIR = ./lib
  25.       THEINCDIR = ./include
  26.  
  27. #############################################################################
  28.  
  29. # This is where the manual pages will go:
  30. # (you'll want something ending in man/man3 since the manual page
  31. #  for `foo' will be installed as `foo.3')
  32.  
  33.       THEMANDIR = ./man/man3
  34.  
  35. #############################################################################
  36.  
  37. # OK, that should do it. 
  38.  
  39. #############################################################################
  40.  
  41.            OBJS = example.o rotated.o
  42.         DEPLIBS = $(USRLIBDIR)/libX11.a
  43. LOCAL_LIBRARIES = -lX11
  44.          CFLAGS = $(FFLAGS) $(RDEFINES)
  45. ComplexProgramTarget(example)
  46.  
  47. lib: rotated.o
  48.  $(RM) libXrot.a
  49.  $(AR) libXrot.a rotated.o
  50.  ranlib libXrot.a
  51.  
  52. install-lib: rotated.o
  53.  $(RM) libXrot.a
  54.  $(AR) libXrot.a rotated.o
  55.  ranlib libXrot.a
  56.  @if [ -d $(THELIBDIR) ]; then set +x; \
  57.  else (set -x; $(MKDIRHIER) $(THELIBDIR)); fi
  58.  $(INSTALL) -c libXrot.a $(THELIBDIR)
  59.  @if [ -d $(THEINCDIR) ]; then set +x; \
  60.  else (set -x; $(MKDIRHIER) $(THEINCDIR)); fi
  61.  $(INSTALL) -c rotated.h $(THEINCDIR)
  62.  
  63. install-man:
  64.  @if [ -d $(THEMANDIR) ]; then set +x; \
  65.  else (set -x; $(MKDIRHIER) $(THEMANDIR)); fi
  66.  $(CP) man/XRotDrawAlignedString.3 $(THEMANDIR)/XRotDrawAlignedImageString.3
  67.  $(CP) man/XRotDrawAlignedString.3 $(THEMANDIR)/XRotDrawAlignedString.3
  68.  $(CP) man/XRotDrawString.3 $(THEMANDIR)/XRotDrawString.3
  69.  $(CP) man/XRotDrawString.3 $(THEMANDIR)/XRotDrawImageString.3
  70.  $(CP) man/XRotLoadFont.3 $(THEMANDIR)/XRotLoadFont.3
  71.  $(CP) man/XRotLoadFont.3 $(THEMANDIR)/XRotUnloadFont.3
  72.  $(CP) man/XRotLoadFont.3 $(THEMANDIR)/XRotVersion.3
  73.  $(CP) man/XRotLoadFont.3 $(THEMANDIR)/XRotTextWidth.3
  74.  $(CP) man/xvertext.3 $(THEMANDIR)/xvertext.3
  75.  
  76. $(OBJS): rotated.h
  77.  
  78.  
  79.