summaryrefslogtreecommitdiff
path: root/src/s/bsdos4.h
blob: 6c3e498deb8e3daa5dc00f574b3745d1828f56fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* s/ file for BSDI BSD/OS 4.0 system.  */

#include "bsdos3.h"

/* BSD/OS 4.1 and later have ncurses */
#ifdef	HAVE_LIBNCURSES
#define	TERMINFO
#define	LIBS_TERMCAP -lncurses
#endif	/* HAVE_LIBNCURSES */

/* copied from freebsd.h */
#ifdef __ELF__

#define LD_SWITCH_SYSTEM
#undef START_FILES
#define START_FILES \
	pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o
#define UNEXEC unexelf.o
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
#undef LIB_GCC
#define LIB_GCC

#endif /* not __ELF__ */