view src/s/openbsd.h @ 99577:322d1a27ea4a

Make bootstrap work again: (boot): New variable. (src): Pass $(boot) to sub-Make. Remove src/bootlisp. If src/bootlisp exists after running Make, run Make in `lisp' as well. (clean, mostlyclean): Remove bogus repeated clean in the top-level directory. (info, bootstrap-clean): New targets. (bootstrap): Depend only on bootstrap-clean. Commands modified to be equivalent to top-level Makefile.in. (bootfast, bootstrap-lisp-1, bootstrap-lisp, bootstrap-src) (bootstrap-clean-before, bootstrap-clean-after): Targets deleted. (clean, mostlyclean, distclean, maintainer-clean, extraclean): Don't recurse into lwlib and oldXMenu.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 15 Nov 2008 15:37:10 +0000
parents 8a39f8452a5b
children f1d13e615070 19fdc244bab9
line wrap: on
line source

/* s/ file for openbsd systems.  */

/* Mostly the same as NetBSD.  */
#include "netbsd.h"

/*  This very-badly named symbol is conditionally defined in netbsd.h.
    Better would be either to not need it in the first place, or to choose
    a more descriptive name.  */
#ifndef LD_SWITCH_SYSTEM_tmp
#define LD_SWITCH_SYSTEM_tmp /* empty */
#endif

/*  David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
    is necessary.  Otherwise Emacs dumps core when run -nw.  */
#undef LIBS_TERMCAP

#define TERMINFO
#define LIBS_TERMCAP -lncurses

#undef LD_SWITCH_SYSTEM_TEMACS
#undef LD_SWITCH_SYSTEM
#ifdef __ELF__

  /*  Han Boetes <han@mijncomputer.nl> says this
      is necessary,  otherwise Emacs dumps core on elf systems.  */
#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z

/* The version of gcc on OpenBSD doesn't search /usr/local/lib by
   default.  */
#define LD_SWITCH_X_DEFAULT -L/usr/local/lib

#else
  
#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp
#define LD_SWITCH_X_DEFAULT -L/usr/local/lib

#endif

/* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2
   (do not change this comment) */