home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume24 / psroff3.0 / part18 / makeincl.S < prev    next >
Encoding:
Text File  |  1991-10-09  |  1.0 KB  |  49 lines

  1. #    Copyright 1985, 1986, 1987, 1988, 1989, 1990, 1991 Chris Lewis
  2. #        All Rights Reserved
  3. #
  4. #    See the LICENSE file for a full description of the restrictions
  5. #    under which this software is provided.
  6. #
  7. #    Makefile overrides 2.5 91/03/25
  8. CC    = %%CC%%
  9. CFLAGS    = %%CCFLAGS%% -I../
  10. FONTDIR = %%FONTDIR%%
  11. LIBDIR    = %%LIBDIR%%
  12. LIBFLAGS = %%LIBFLAGS%%
  13. LJF    = %%LJF%%
  14. MANDIR = %%MANDIR%%
  15. MANEXT = %%MANEXT%%
  16. RTMACDIR = %%RTMACDIR%%
  17. PKFONTS    = %%PKFONTS%%
  18. SFP2PK    = %%SFP2PK%%
  19. NEWFONTS = %%NEWFONTS%%
  20. IGNORESH = %%IGNORESH%%
  21. T2DIR = %%T2DIR%%
  22. MAKEDEV = %%MAKEDEV%%
  23.  
  24. #    This override is because apparently a .s suffix on a file will
  25. #    cause make to not select a ".S:" rule when the target is .s
  26. .SUFFIXES:
  27. .SUFFIXES: .o .c .c~ .h .h~ .lib .lib~ .fonts .fonts~ .ps .ps~ .S .S~
  28.  
  29. .lib~.lib:
  30.     $(GET) $(GFLAGS) s.$@
  31.  
  32. .fonts~.fonts:
  33.     $(GET) $(GFLAGS) s.$@
  34.  
  35. .ps~.ps:
  36.     $(GET) $(GFLAGS) s.$@
  37.  
  38. .S~:
  39.     rm -f $@
  40.     $(GET) -p $(GFLAGS) s.$@.S | ../sedscript > $@
  41.     chmod 755 $@
  42. .S:
  43.     rm -f $@
  44.     ../sedscript < $@.S > $@
  45.     chmod 755 $@
  46.  
  47. .S~.S:
  48.     $(GET) $(GFLAGS) s.$@
  49.