(obj): Use XMENU_OBJ, not a literal xmenu.o.
+2005-09-17 Eli Zaretskii <eliz@gnu.org>
+
+ * Makefile.in (XMENU_OBJ) [!HAVE_CARBON]: Reinstate variable.
+ (obj): Use XMENU_OBJ, not a literal xmenu.o.
+
2005-09-16 Romain Francoise <romain@orebokech.com>
* fileio.c (syms_of_fileio) <write-region-inhibit-fsync>: Doc fix.
#define LIB_X11_LIB -lX11
#endif
+/* xmenu.c should not be compiled on OSX. */
+#ifndef HAVE_CARBON
+XMENU_OBJ = xmenu.o
+#endif
+
#ifdef HAVE_X_WINDOWS
XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o
/* lastfile must follow all files
whose initialized data areas should be dumped as pure by dump-emacs. */
-obj= dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o \
+obj= dispnew.o frame.o scroll.o xdisp.o $(XMENU_OBJ) window.o \
charset.o coding.o category.o ccl.o \
cm.o term.o xfaces.o $(XOBJ) $(GTK_OBJ)\
emacs.o keyboard.o macros.o keymap.o sysdep.o \