comparison lib-src/Makefile.in @ 9496:6becf5fe3d5d

remove make-path
author David J. MacKenzie <djm@gnu.org>
date Wed, 12 Oct 1994 23:28:43 +0000
parents a6d5f1c10986
children 398625d049db
comparison
equal deleted inserted replaced
9495:5825378d775b 9496:6becf5fe3d5d
59 # this makefile is not identical to what was specified with --srcdir, 59 # this makefile is not identical to what was specified with --srcdir,
60 # since the variable here has `/lib-src' added at the end. 60 # since the variable here has `/lib-src' added at the end.
61 srcdir=@srcdir@ 61 srcdir=@srcdir@
62 VPATH=@srcdir@ 62 VPATH=@srcdir@
63 63
64 # The top-level source directory, also set by configure.
65 top_srcdir=@top_srcdir@
66
64 # ==================== Emacs-specific directories ==================== 67 # ==================== Emacs-specific directories ====================
65 68
66 # These variables hold the values Emacs will actually use. They are 69 # These variables hold the values Emacs will actually use. They are
67 # based on the values of the standard Make variables above. 70 # based on the values of the standard Make variables above.
68 71
90 # Things that Emacs runs internally, or during the build process, 93 # Things that Emacs runs internally, or during the build process,
91 # which should not be installed in bindir. 94 # which should not be installed in bindir.
92 UTILITIES= wakeup profile digest-doc \ 95 UTILITIES= wakeup profile digest-doc \
93 sorted-doc movemail cvtmail fakemail yow emacsserver hexl timer 96 sorted-doc movemail cvtmail fakemail yow emacsserver hexl timer
94 97
95 DONT_INSTALL= test-distrib make-docfile make-path 98 DONT_INSTALL= test-distrib make-docfile
96 99
97 # Like UTILITIES, but they're not system-dependent, and should not be 100 # Like UTILITIES, but they're not system-dependent, and should not be
98 # deleted by the distclean target. 101 # deleted by the distclean target.
99 SCRIPTS= rcs2log vcdiff 102 SCRIPTS= rcs2log vcdiff
100 103
218 /* Install the internal utilities. Until they are installed, we can 221 /* Install the internal utilities. Until they are installed, we can
219 just run them directly from lib-src. */ 222 just run them directly from lib-src. */
220 ${archlibdir}: all 223 ${archlibdir}: all
221 @echo 224 @echo
222 @echo "Installing utilities run internally by Emacs." 225 @echo "Installing utilities run internally by Emacs."
223 ./make-path ${archlibdir} 226 $(top_srcdir)/mkinstalldirs ${archlibdir}
224 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ 227 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
225 for file in ${UTILITIES}; do \ 228 for file in ${UTILITIES}; do \
226 (cd ..; $(INSTALL_PROGRAM) lib-src/$$file ${archlibdir}/$$file) ; \ 229 (cd ..; $(INSTALL_PROGRAM) lib-src/$$file ${archlibdir}/$$file) ; \
227 done ; \ 230 done ; \
228 fi 231 fi
359 timer.o: ${srcdir}/timer.c ../src/config.h 362 timer.o: ${srcdir}/timer.c ../src/config.h
360 $(CC) -c $(CPP_CFLAGS) ${srcdir}/timer.c 363 $(CC) -c $(CPP_CFLAGS) ${srcdir}/timer.c
361 timer: ${TIMEROBJS} 364 timer: ${TIMEROBJS}
362 $(CC) $(LINK_CFLAGS) ${TIMEROBJS} $(LOADLIBES) -o timer 365 $(CC) $(LINK_CFLAGS) ${TIMEROBJS} $(LOADLIBES) -o timer
363 366
364 make-path: ${srcdir}/make-path.c ../src/config.h
365 $(CC) $(ALL_CFLAGS) ${srcdir}/make-path.c -o make-path
366
367 /* These are NOT included in INSTALLABLES or UTILITIES. 367 /* These are NOT included in INSTALLABLES or UTILITIES.
368 See ../src/Makefile.in.in. */ 368 See ../src/Makefile.in.in. */
369 emacstool: ${srcdir}/emacstool.c 369 emacstool: ${srcdir}/emacstool.c
370 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \ 370 $(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \
371 -lsuntool -lsunwindow -lpixrect $(LOADLIBES) 371 -lsuntool -lsunwindow -lpixrect $(LOADLIBES)