rms@PREP.AI.MIT.EDU (Richard M. Stallman) (01/06/87)
For making Emacs 18.35 on a Sun, you need to change src/m-sun2.h and src/ymakefile. In m-sun2.h, change the definition of OTHER_FILES (at the very end) to /* Arrange to compile emacstool. */ #define OTHER_FILES ${etcdir}/emacstool In ymakefile, install this diff: *** ymakefile.~62~ Sat Jan 3 21:15:16 1987 --- ymakefile Tue Jan 6 09:45:35 1987 *************** *** 197,203 /* Construct full set of libraries to be linked. */ LIBES = LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP $(LIBX) LIBS_DEBUG LIB_STANDARD ! all: xemacs others #ifdef OTHER_FILES others: OTHER_FILES --- 197,203 ----- /* Construct full set of libraries to be linked. */ LIBES = LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP $(LIBX) LIBS_DEBUG LIB_STANDARD ! /* Enable recompilation of certain other files depending on system type. */ #ifndef OTHER_FILES #define OTHER_FILES *************** *** 199,208 all: xemacs others ! #ifdef OTHER_FILES ! others: OTHER_FILES ! #else ! others: #endif xemacs: temacs ${etcdir}DOC ${lisp} --- 199,206 ----- /* Enable recompilation of certain other files depending on system type. */ ! #ifndef OTHER_FILES ! #define OTHER_FILES #endif all: xemacs OTHER_FILES *************** *** 205,210 others: #endif xemacs: temacs ${etcdir}DOC ${lisp} #ifdef CANNOT_DUMP mv temacs xemacs --- 203,210 ----- #define OTHER_FILES #endif + all: xemacs OTHER_FILES + xemacs: temacs ${etcdir}DOC ${lisp} #ifdef CANNOT_DUMP mv temacs xemacs *************** *** 347,349 fns.o : fns.c commands.h config.h print.o : print.c process.h window.h buffer.h config.h lread.o : lread.c buffer.h paths.h config.h --- 347,355 ----- fns.o : fns.c commands.h config.h print.o : print.c process.h window.h buffer.h config.h lread.o : lread.c buffer.h paths.h config.h + + /* System-specific programs to be made. + OTHER_FILES selects which of these should actually be made. */ + + ${etcdir}/emacstool: ${etcdir}/emacstool.c \ + cd ${etcdir}; cc emacstool.c -o emacstool -g -lsuntool -lsunwindow -lpixrect