patch-src_Makefile_in 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. $OpenBSD: patch-src_Makefile_in,v 1.3 2008/01/01 15:08:43 espie Exp $
  2. --- src/Makefile.in.orig Thu Jan 23 11:34:06 2003
  3. +++ src/Makefile.in Tue Jan 1 15:52:01 2008
  4. @@ -875,6 +875,7 @@ temacs: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-
  5. $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \
  6. -o temacs ${STARTFILES} ${obj} ${otherobj} \
  7. OBJECTS_MACHINE ${LIBES}
  8. + strip temacs
  9. /* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
  10. often contain options that have to do with using Emacs's crt0,
  11. @@ -900,12 +901,8 @@ prefix-args: prefix-args.c $(config_h)
  12. and remake temacs if lwlib gets changed by this. */
  13. stamp-oldxmenu: ${OLDXMENU} ../src/$(OLDXMENU)
  14. touch stamp-oldxmenu
  15. -/* Supply an ordering for parallel make. */
  16. -../src/$(OLDXMENU): ${OLDXMENU}
  17. #ifdef USE_X_TOOLKIT
  18. -$(OLDXMENU): really-lwlib
  19. -
  20. /* Encode the values of these two macros in Make variables,
  21. so we can use $(...) to substitute their values within "...". */
  22. C_SWITCH_MACHINE_1 = C_SWITCH_MACHINE
  23. @@ -914,7 +911,7 @@ C_SWITCH_SITE_1 = C_SWITCH_SITE
  24. C_SWITCH_X_SITE_1 = C_SWITCH_X_SITE
  25. C_SWITCH_X_MACHINE_1 = C_SWITCH_X_MACHINE
  26. C_SWITCH_X_SYSTEM_1 = C_SWITCH_X_SYSTEM
  27. -really-lwlib:
  28. +$(OLDXMENU):
  29. cd ${lwlibdir}; ${MAKE} ${MFLAGS} LWLIB_OPTIONS \
  30. CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}' \
  31. "C_SWITCH_X_SITE=$(C_SWITCH_X_SITE_1)" \
  32. @@ -923,11 +920,7 @@ really-lwlib:
  33. "C_SWITCH_SITE=$(C_SWITCH_SITE_1)" \
  34. "C_SWITCH_MACHINE=$(C_SWITCH_MACHINE_1)" \
  35. "C_SWITCH_SYSTEM=$(C_SWITCH_SYSTEM_1)"
  36. - @true /* make -t should not create really-lwlib. */
  37. -.PHONY: really-lwlib
  38. #else /* not USE_X_TOOLKIT */
  39. -$(OLDXMENU): really-oldXMenu
  40. -
  41. /* Encode the values of these two macros in Make variables,
  42. so we can use $(...) to substitute their values within "...". */
  43. C_SWITCH_MACHINE_1 = C_SWITCH_MACHINE
  44. @@ -936,7 +929,7 @@ C_SWITCH_SITE_1 = C_SWITCH_SITE
  45. C_SWITCH_X_SITE_1 = C_SWITCH_X_SITE
  46. C_SWITCH_X_MACHINE_1 = C_SWITCH_X_MACHINE
  47. C_SWITCH_X_SYSTEM_1 = C_SWITCH_X_SYSTEM
  48. -really-oldXMenu:
  49. +$(OLDXMENU):
  50. cd ${oldXMenudir}; ${MAKE} ${MFLAGS} OLDXMENU_OPTIONS \
  51. CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}' \
  52. "C_SWITCH_X_SITE=$(C_SWITCH_X_SITE_1)" \
  53. @@ -945,8 +938,6 @@ really-oldXMenu:
  54. "C_SWITCH_SITE=$(C_SWITCH_SITE_1)" \
  55. "C_SWITCH_MACHINE=$(C_SWITCH_MACHINE_1)" \
  56. "C_SWITCH_SYSTEM=$(C_SWITCH_SYSTEM_1)"
  57. - @true /* make -t should not create really-oldXMenu. */
  58. -.PHONY: really-oldXMenu
  59. #endif /* not USE_X_TOOLKIT */
  60. #else /* not (HAVE_X_WINDOWS && HAVE_X11 && HAVE_MENUS) */