home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / unixtex-6.1b-src.tgz / tar.out / contrib / unixtex / make / rdepend.make < prev    next >
Text File  |  1996-09-28  |  715b  |  16 lines

  1. # rdepend.make -- rules for remaking the dependencies.
  2. # Have to use -M, not -MM, since we use <kpathsea/...> instead of
  3. # "kpathsea/..." in the sources.  But that means we have to remove the
  4. # directory prefixes and all the system include files.
  5. # And <kpathsea/paths.h> is generated, not part of the distribution.
  6. depend depend.make:: c-auto.h $(top_srcdir)/../make/rdepend.make
  7.     $(CC) -M $(CPPFLAGS) *.c \
  8.       | sed -e 's,\.\./kpathsea/,$$(kpathsea_srcdir)/,g' \
  9.             -e 's,$$(kpathsea_srcdir)/paths.h,paths.h,g' \
  10.             -e 's,/usr[^ ]* ,,g' \
  11.             -e 's,/usr[^ ]*$$,,g' \
  12.             -e 's,dvi2xx.o,dvilj.o dvilj2p.o dvilj4.o dvilj4l.o,' \
  13.       | grep -v '^ *\\$$' \
  14.       >depend.make
  15. # End of rdepend.make.
  16.