# mh-dgux386 for GDB-4.17 on a ix86 DG/ux AViiON (Pentium or PPro)
# Modified by Takis Psarogiannakopoulos
# Department of Pure Mathematics, Cambridge University
# e-mail <takis@dpmms.cam.ac.uk>
#
HDEFINES=-DHOST_SYS=DGUX_SYS
# Define -DSYSV -DSVR4 for ix86 DG/ux
SYSV = -DSYSV -DSVR4
# Or make a link ranlib->true in /usr/bin
RANLIB = true
# You must use gcc and not the DG/ux cc !!!
CC=gcc
# Add "-g -mstandard" if you want to have debugging information
CFLAGS = -DDGUX -Dix86 -D_DGUX_SOURCE -D_BSD_TIMEOFDAY_FLAVOR -D_PENTIUM_CHANGE -O2
# I suppose that you have g++
CXX=g++
# GNU C++ debugging is not supported on ix86 DG/ux (DWARF)
# so do not use -g -mstandard
CXXFLAGS=-DDGUX -Dix86 -D_DGUX_SOURCE -D_BSD_TIMEOFDAY_FLAVOR -D_PENTIUM_CHANGE -O2
AR_FLAGS = cr
# We need -lelf for nlist in dg_gdbxtrace.c
X11_EXTRA_LIBS = -lelf -lresolv -lsocket -lnsl

