home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / s / stex2-18.zip / SeeTeX / Iptex / Imakefile < prev    next >
Makefile  |  1991-02-21  |  864b  |  36 lines

  1. #include "../Imake.Config"
  2.  
  3.          BINDIR = $(TEX_BINDIR)
  4.          MANDIR = $(TEX_MANDIR)
  5.  
  6.           FILES    = Imakefile iptex.man iptex.proto iptex.man $(SRCS) \
  7.           imPcodes.h imagen.h
  8.  
  9.        INCLUDES = -I$(LIBTEXROOT)
  10.  
  11. LOCAL_LIBRARIES = $(LIBTEX)
  12.         DEPLIBS = $(DEPLIBTEX) 
  13.         SYSLIBS = -lm
  14.  
  15.            SRCS    = imagen1.c imagen1-special.c
  16.            OBJS    = imagen1.o imagen1-special.o
  17.  
  18. all: imagen1 iptex.script
  19.  
  20. iptex.script: iptex.proto Imakefile Makefile
  21.     sed -e 's|=BIN|=$(BINDIR)|' -e 's|=IPRBIN|=$(IPRBIN)|' < iptex.proto > iptex.script
  22.  
  23. NormalProgramTarget(imagen1,$(OBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),$(SYSLIBS))
  24. InstallProgram(imagen1, $(BINDIR))
  25. InstallScript(iptex,$(BINDIR))
  26. InstallManPage(iptex,$(MANDIR))
  27. DependTarget()
  28. TagsTarget()
  29.  
  30. tar:
  31.     cd ../..;\
  32.     for file in $(FILES); \
  33.     do \
  34.       tar rf $(TARFILE) $(PRODUCT)/Iptex/$$file; \
  35.     done
  36.