aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorAndreas Schwab2002-10-19 13:55:15 +0000
committerAndreas Schwab2002-10-19 13:55:15 +0000
commit67bb79b7f8c5eed1ec4d1c2fc9386c780686675d (patch)
tree9076bbd95099d7817753e3c6b0acd20c1a9d5635 /lib-src
parent42be8f2ecab18c3ba0474a524f1b5e2cd7d2be40 (diff)
downloademacs-67bb79b7f8c5eed1ec4d1c2fc9386c780686675d.tar.gz
emacs-67bb79b7f8c5eed1ec4d1c2fc9386c780686675d.zip
(${archlibdir}): Always create $(gamedir).
(update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in22
1 files changed, 12 insertions, 10 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index f249739d6a9..a883cf50a33 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -150,7 +150,7 @@ MOVE_FLAGS=
150#undef alloca 150#undef alloca
151#endif 151#endif
152 152
153/* Some machines don't find the standard C libraries in the usual place. */ 153/* Some machines don\'t find the standard C libraries in the usual place. */
154#ifndef ORDINARY_LINK 154#ifndef ORDINARY_LINK
155#ifndef LIB_STANDARD_LIBSRC 155#ifndef LIB_STANDARD_LIBSRC
156#define LIB_STANDARD_LIBSRC -lc 156#define LIB_STANDARD_LIBSRC -lc
@@ -251,7 +251,7 @@ CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
251 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} 251 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
252/* This was all of CPP_CFLAGS except -Demacs. 252/* This was all of CPP_CFLAGS except -Demacs.
253 Now that -Demacs has been deleted from CPP_CFLAGS, 253 Now that -Demacs has been deleted from CPP_CFLAGS,
254 this is actually the same as CPP_CFLAGS, but let's not delete it yet. */ 254 this is actually the same as CPP_CFLAGS, but let\'s not delete it yet. */
255BASE_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ 255BASE_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \
256 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} 256 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
257 257
@@ -272,7 +272,7 @@ blessmail:
272 272
273maybe-blessmail: BLESSMAIL 273maybe-blessmail: BLESSMAIL
274#ifdef MOVEMAIL_NEEDS_BLESSING 274#ifdef MOVEMAIL_NEEDS_BLESSING
275/* Don't charge ahead and do it! Let the installer decide. 275/* Don\'t charge ahead and do it! Let the installer decide.
276 ./blessmail ${archlibdir}/movemail */ 276 ./blessmail ${archlibdir}/movemail */
277 @if [ `wc -l <blessmail` != 2 ] ; then \ 277 @if [ `wc -l <blessmail` != 2 ] ; then \
278 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ 278 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \
@@ -294,15 +294,15 @@ ${archlibdir}: all
294 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file ${archlibdir}/$$file ; \ 294 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file ${archlibdir}/$$file ; \
295 done ; \ 295 done ; \
296 fi 296 fi
297 $(top_srcdir)/mkinstalldirs ${gamedir}
298 touch ${gamedir}/snake-scores
299 touch ${gamedir}/tetris-scores
297/* If the following commands fail, that is not a big deal. 300/* If the following commands fail, that is not a big deal.
298 update-game-score will detect at runtime that it is not setuid, 301 update-game-score will detect at runtime that it is not setuid,
299 and handle things accordingly. */ 302 and handle things accordingly. */
300 if test ${gamedir} != no && chown ${gameuser} ${archlibdir}/update-game-score && chmod u+s ${archlibdir}/update-game-score; then \ 303 if chown ${gameuser} ${archlibdir}/update-game-score && chmod u+s ${archlibdir}/update-game-score; then \
301 $(top_srcdir)/mkinstalldirs ${gamedir}; \
302 chown ${gameuser} ${gamedir}; \ 304 chown ${gameuser} ${gamedir}; \
303 chmod u=rwx,g=rwx,o=rx ${gamedir}; \ 305 chmod u=rwx,g=rwx,o=rx ${gamedir}; \
304 touch ${gamedir}/snake-scores; \
305 touch ${gamedir}/tetris-scores; \
306 fi 306 fi
307 if [ `(cd ${archlibdir} && /bin/pwd)` \ 307 if [ `(cd ${archlibdir} && /bin/pwd)` \
308 != `(cd ${srcdir} && /bin/pwd)` ]; then \ 308 != `(cd ${srcdir} && /bin/pwd)` ]; then \
@@ -362,7 +362,7 @@ tags: TAGS
362TAGS: etags 362TAGS: etags
363 etags *.[ch] 363 etags *.[ch]
364 364
365/* This verifies that the non-ASCII characters in the file `testfile' 365/* This verifies that the non-ASCII characters in the file \`testfile\'
366 have not been clobbered by whatever means were used to copy and 366 have not been clobbered by whatever means were used to copy and
367 distribute Emacs. If they were clobbered, all the .elc files were 367 distribute Emacs. If they were clobbered, all the .elc files were
368 clobbered too. */ 368 clobbered too. */
@@ -396,7 +396,7 @@ etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h
396ebrowse: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h 396ebrowse: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h
397 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse 397 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse
398 398
399/* We depend on etags to assure that parallel makes don't write two 399/* We depend on etags to assure that parallel makes don\'t write two
400 etags.o files on top of each other. */ 400 etags.o files on top of each other. */
401ctags: etags 401ctags: etags
402 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags 402 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags
@@ -444,7 +444,9 @@ hexl: ${srcdir}/hexl.c ../src/config.h
444 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl 444 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
445 445
446update-game-score: ${srcdir}/update-game-score.c ../src/config.h 446update-game-score: ${srcdir}/update-game-score.c ../src/config.h
447 $(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c $(LOADLIBES) -o update-game-score 447 $(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c \
448 -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \
449 $(LOADLIBES) -o update-game-score
448 450
449/* These are NOT included in INSTALLABLES or UTILITIES. 451/* These are NOT included in INSTALLABLES or UTILITIES.
450 See ../src/Makefile.in. */ 452 See ../src/Makefile.in. */