comparison lib-src/Makefile.in.in @ 80:1ce6082ce73f r20-0b90

Import from CVS: tag r20-0b90
author cvs
date Mon, 13 Aug 2007 09:06:37 +0200
parents c7528f8e288d
children 0d2f883870bc
comparison
equal deleted inserted replaced
79:5b0a5bbffab6 80:1ce6082ce73f
301 @echo 301 @echo
302 @echo "Installing utilities run internally by XEmacs." 302 @echo "Installing utilities run internally by XEmacs."
303 ./make-path ${archlibdir} 303 ./make-path ${archlibdir}
304 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ 304 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
305 for file in ${UTILITIES}; do \ 305 for file in ${UTILITIES}; do \
306 (cd ..; $(INSTALL_PROGRAM) lib-src/$$file ${archlibdir}/$$file) ; \ 306 (cd .. && $(INSTALL_PROGRAM) lib-src/$$file ${archlibdir}/$$file) ; \
307 done ; \ 307 done ; \
308 fi 308 fi
309 if [ `(cd ${archlibdir} && /bin/pwd)` \ 309 if [ `(cd ${archlibdir} && /bin/pwd)` \
310 != `(cd ${srcdir} && /bin/pwd)` ]; then \ 310 != `(cd ${srcdir} && /bin/pwd)` ]; then \
311 for file in ${SCRIPTS}; do \ 311 for file in ${SCRIPTS}; do \
312 (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \ 312 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \
313 done ; \ 313 done ; \
314 fi 314 fi
315 315
316 /* We do not need to install "wakeup" explicitly, because it will be 316 /* We do not need to install "wakeup" explicitly, because it will be
317 copied when this whole directory is copied. */ 317 copied when this whole directory is copied. */
318 install: ${archlibdir} 318 install: ${archlibdir}
319 @echo 319 @echo
320 @echo "Installing utilities for users to run." 320 @echo "Installing utilities for users to run."
321 for file in ${INSTALLABLES} ; do \ 321 for file in ${INSTALLABLES} ; do \
322 (cd ..; $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \ 322 (cd .. && $(INSTALL_PROGRAM) lib-src/$${file} ${bindir}/$${file}) ; \
323 done 323 done
324 for file in ${INSTALLABLE_SCRIPTS} ; do \ 324 for file in ${INSTALLABLE_SCRIPTS} ; do \
325 (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \ 325 (cd .. && $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file}) ; \
326 done 326 done
327 327
328 uninstall: 328 uninstall:
329 (cd ${bindir}; \ 329 (cd ${bindir} && \
330 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}) 330 rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS})
331 (cd ${archlibdir}; \ 331 (cd ${archlibdir} && \
332 rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) 332 rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
333 333
334 mostlyclean: 334 mostlyclean:
335 -rm -f core *.o 335 -rm -f core *.o
336 336
381 $(CC) -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c 381 $(CC) -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c
382 382
383 etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXDEPS) ../src/config.h 383 etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXDEPS) ../src/config.h
384 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXOBJ) $(LOADLIBES) -o etags 384 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXOBJ) $(LOADLIBES) -o etags
385 385
386 /* We depend on etags to assure that parallel makes don't write two 386 /* We depend on etags to assure that parallel makes do not write two
387 etags.o files on top of each other. */ 387 etags.o files on top of each other. */
388 ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags 388 ctags: ${srcdir}/etags.c $(GETOPTDEPS) etags
389 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags 389 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o ctags
390 390
391 wakeup: ${srcdir}/wakeup.c 391 wakeup: ${srcdir}/wakeup.c
431 $(CC) ${CPP_CFLAGS} ${srcdir}/make-msgfile.c $(LOADLIBES) -o make-msgfile 431 $(CC) ${CPP_CFLAGS} ${srcdir}/make-msgfile.c $(LOADLIBES) -o make-msgfile
432 432
433 make-po: ${srcdir}/make-po.c 433 make-po: ${srcdir}/make-po.c
434 $(CC) ${CPP_CFLAGS} ${srcdir}/make-po.c $(LOADLIBES) -o make-po 434 $(CC) ${CPP_CFLAGS} ${srcdir}/make-po.c $(LOADLIBES) -o make-po
435 435
436 /* Why oh why doesn't HP include half of the standard X distribution? */ 436 /* Why oh why does HP not include half of the standard X distribution? */
437 437
438 #if defined (HAVE_XAUTH) 438 #if defined (HAVE_XAUTH)
439 gnuslib.o: ${srcdir}/gnuslib.c ${srcdir}/gnuserv.h ../src/config.h 439 gnuslib.o: ${srcdir}/gnuslib.c ${srcdir}/gnuserv.h ../src/config.h
440 $(CC) -c ${CPP_CFLAGS} ${C_SWITCH_X} ${srcdir}/gnuslib.c 440 $(CC) -c ${CPP_CFLAGS} ${C_SWITCH_X} ${srcdir}/gnuslib.c
441 441