100 |
|
|
101 |
# Things that a user might actually run, |
# Things that a user might actually run, |
102 |
# which should be installed in bindir. |
# which should be installed in bindir. |
103 |
INSTALLABLES = etags ctags emacsclient b2m ebrowse |
INSTALLABLES = etags@EXEEXT@ ctags@EXEEXT@ emacsclient@EXEEXT@ b2m@EXEEXT@ ebrowse@EXEEXT@ |
104 |
INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog |
INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog |
105 |
|
|
106 |
# Things that Emacs runs internally, or during the build process, |
# Things that Emacs runs internally, or during the build process, |
107 |
# which should not be installed in bindir. |
# which should not be installed in bindir. |
108 |
UTILITIES= profile digest-doc sorted-doc movemail cvtmail fakemail \ |
UTILITIES= profile@EXEEXT@ digest-doc@EXEEXT@ sorted-doc@EXEEXT@ movemail@EXEEXT@ cvtmail@EXEEXT@ fakemail@EXEEXT@ \ |
109 |
yow hexl update-game-score |
yow@EXEEXT@ hexl@EXEEXT@ update-game-score@EXEEXT@ |
110 |
|
|
111 |
DONT_INSTALL= test-distrib make-docfile |
DONT_INSTALL= test-distrib@EXEEXT@ make-docfile@EXEEXT@ |
112 |
|
|
113 |
# Like UTILITIES, but they're not system-dependent, and should not be |
# Like UTILITIES, but they're not system-dependent, and should not be |
114 |
# deleted by the distclean target. |
# deleted by the distclean target. |
286 |
maybe-blessmail: BLESSMAIL |
maybe-blessmail: BLESSMAIL |
287 |
#ifdef MOVEMAIL_NEEDS_BLESSING |
#ifdef MOVEMAIL_NEEDS_BLESSING |
288 |
/* Don\'t charge ahead and do it! Let the installer decide. |
/* Don\'t charge ahead and do it! Let the installer decide. |
289 |
./blessmail ${archlibdir}/movemail */ |
./blessmail ${archlibdir}/movemail@EXEEXT@ */ |
290 |
@if [ `wc -l <blessmail` != 2 ] ; then \ |
@if [ `wc -l <blessmail` != 2 ] ; then \ |
291 |
dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ |
dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ |
292 |
echo Assuming $$dir is really the mail spool directory, you should; \ |
echo Assuming $$dir is really the mail spool directory, you should; \ |
293 |
echo run lib-src/blessmail ${archlibdir}/movemail; \ |
echo run lib-src/blessmail ${archlibdir}/movemail@EXEEXT@; \ |
294 |
echo as root, to give movemail appropriate permissions.; \ |
echo as root, to give movemail@EXEEXT@ appropriate permissions.; \ |
295 |
echo Do that after running make install.; \ |
echo Do that after running make install.; \ |
296 |
fi |
fi |
297 |
#endif |
#endif |
372 |
@echo "We don't have any tests for GNU Emacs yet." |
@echo "We don't have any tests for GNU Emacs yet." |
373 |
|
|
374 |
tags: TAGS |
tags: TAGS |
375 |
TAGS: etags |
TAGS: etags@EXEEXT@ |
376 |
etags *.[ch] |
etags *.[ch] |
377 |
|
|
378 |
/* This verifies that the non-ASCII characters in the file \`testfile\' |
/* This verifies that the non-ASCII characters in the file \`testfile\' |
379 |
have not been clobbered by whatever means were used to copy and |
have not been clobbered by whatever means were used to copy and |
380 |
distribute Emacs. If they were clobbered, all the .elc files were |
distribute Emacs. If they were clobbered, all the .elc files were |
381 |
clobbered too. */ |
clobbered too. */ |
382 |
test-distrib: ${srcdir}/test-distrib.c |
test-distrib@EXEEXT@: ${srcdir}/test-distrib.c |
383 |
$(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c |
$(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c |
384 |
./test-distrib ${srcdir}/testfile |
./test-distrib ${srcdir}/testfile |
385 |
|
|
403 |
regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h |
regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h |
404 |
${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c |
${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c |
405 |
|
|
406 |
etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h |
etags@EXEEXT@: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h |
407 |
$(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags |
$(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags |
408 |
|
|
409 |
ebrowse: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h |
ebrowse@EXEEXT@: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h |
410 |
$(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse |
$(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse |
411 |
|
|
412 |
/* We depend on etags to assure that parallel makes don\'t write two |
/* We depend on etags to assure that parallel makes don\'t write two |
413 |
etags.o files on top of each other. */ |
etags.o files on top of each other. */ |
414 |
ctags: etags |
ctags@EXEEXT@: etags@EXEEXT@ |
415 |
$(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags |
$(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags |
416 |
|
|
417 |
profile: ${srcdir}/profile.c ../src/config.h |
profile@EXEEXT@: ${srcdir}/profile.c ../src/config.h |
418 |
$(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile |
$(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile |
419 |
|
|
420 |
make-docfile: ${srcdir}/make-docfile.c ../src/config.h |
make-docfile@EXEEXT@: ${srcdir}/make-docfile.c ../src/config.h |
421 |
$(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile |
$(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile |
422 |
|
|
423 |
digest-doc: ${srcdir}/digest-doc.c |
digest-doc@EXEEXT@: ${srcdir}/digest-doc.c |
424 |
$(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc |
$(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc |
425 |
|
|
426 |
sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA} |
sorted-doc@EXEEXT@: ${srcdir}/sorted-doc.c ${ALLOCA} |
427 |
$(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc |
$(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc |
428 |
|
|
429 |
b2m: ${srcdir}/b2m.c ../src/config.h $(GETOPTDEPS) |
b2m@EXEEXT@: ${srcdir}/b2m.c ../src/config.h $(GETOPTDEPS) |
430 |
$(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c -DVERSION="\"${version}\"" \ |
$(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c -DVERSION="\"${version}\"" \ |
431 |
$(GETOPTOBJS) $(LOADLIBES) -o b2m |
$(GETOPTOBJS) $(LOADLIBES) -o b2m |
432 |
|
|
433 |
movemail: movemail.o pop.o $(GETOPTDEPS) |
movemail@EXEEXT@: movemail.o pop.o $(GETOPTDEPS) |
434 |
$(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MAIL) $(LIBS_MOVE) -o movemail |
$(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MAIL) $(LIBS_MOVE) -o movemail |
435 |
|
|
436 |
movemail.o: ${srcdir}/movemail.c ../src/config.h |
movemail.o: ${srcdir}/movemail.c ../src/config.h |
439 |
pop.o: ${srcdir}/pop.c ../src/config.h |
pop.o: ${srcdir}/pop.c ../src/config.h |
440 |
$(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c |
$(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c |
441 |
|
|
442 |
cvtmail: ${srcdir}/cvtmail.c |
cvtmail@EXEEXT@: ${srcdir}/cvtmail.c |
443 |
$(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail |
$(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail |
444 |
|
|
445 |
fakemail: ${srcdir}/fakemail.c ../src/config.h |
fakemail@EXEEXT@: ${srcdir}/fakemail.c ../src/config.h |
446 |
$(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail |
$(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail |
447 |
|
|
448 |
yow: ${srcdir}/yow.c ../src/epaths.h |
yow@EXEEXT@: ${srcdir}/yow.c ../src/epaths.h |
449 |
$(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow |
$(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow |
450 |
|
|
451 |
emacsclient: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS) |
emacsclient@EXEEXT@: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS) |
452 |
$(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \ |
$(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \ |
453 |
-DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \ |
-DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \ |
454 |
$(LOADLIBES) -o emacsclient |
$(LOADLIBES) -o emacsclient |
455 |
|
|
456 |
hexl: ${srcdir}/hexl.c ../src/config.h |
hexl@EXEEXT@: ${srcdir}/hexl.c ../src/config.h |
457 |
$(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl |
$(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl |
458 |
|
|
459 |
update-game-score: ${srcdir}/update-game-score.c ../src/config.h |
update-game-score@EXEEXT@: ${srcdir}/update-game-score.c ../src/config.h |
460 |
$(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c \ |
$(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c \ |
461 |
-DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \ |
-DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \ |
462 |
$(LOADLIBES) -o update-game-score |
$(LOADLIBES) -o update-game-score |
463 |
|
|
464 |
/* These are NOT included in INSTALLABLES or UTILITIES. |
/* These are NOT included in INSTALLABLES or UTILITIES. |
465 |
See ../src/Makefile.in. */ |
See ../src/Makefile.in. */ |
466 |
emacstool: ${srcdir}/emacstool.c |
emacstool@EXEEXT@: ${srcdir}/emacstool.c |
467 |
$(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \ |
$(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \ |
468 |
-lsuntool -lsunwindow -lpixrect $(LOADLIBES) |
-lsuntool -lsunwindow -lpixrect $(LOADLIBES) |
469 |
|
|
470 |
/* For SUN Japanese Language Environment. */ |
/* For SUN Japanese Language Environment. */ |
471 |
nemacstool: ${srcdir}/emacstool.c |
nemacstool@EXEEXT@: ${srcdir}/emacstool.c |
472 |
$(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
$(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
473 |
-lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES) |
-lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES) |
474 |
|
|
475 |
xvetool: ${srcdir}/emacstool.c |
xvetool@EXEEXT@: ${srcdir}/emacstool.c |
476 |
$(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
$(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
477 |
-lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
-lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
478 |
$(LOADLIBES) |
$(LOADLIBES) |
479 |
|
|
480 |
xveterm: ${srcdir}/emacstool.c |
xveterm@EXEEXT@: ${srcdir}/emacstool.c |
481 |
$(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
$(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \ |
482 |
-lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
-lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \ |
483 |
$(LOADLIBES) |
$(LOADLIBES) |