# If your C compiler does not support options "+z" and "-O" you will have to 
# remove these options and entries starting with "SH_" to avoid "Warning" msgs.

# C_ANSI=-Aa  ANSI flag for the standard HP C compiler
C_ANSI=-Aa
SH_CMD=ld -b
SH_OPT=+z
SH_EXT=sl

# HP-UX Release 10.20 (generating PA 2.0, non-compatible with PA 1.x systems)
C_OPT=-O
F_OPT=+O3 -K

# LDCC needs -Wl,+s if we want the dinamic loader to use SHLIB_PATH variable.
# and this is needed if MIDAS shared libraries are copied to another location.
LDCC=cc -Wl,+s,+vnocompatwarnings
LD77_CMD=fort77 -Wl,+s,+vnocompatwarnings
#
# For X11R5 and Motif1.2 use the following definitions:
#X11INC=-I/usr/include/X11R5
#X11_LIBPATH=-L/usr/lib/X11R5
#XMINC=-I/usr/include/Motif1.2
#MOTIF_LIBPATH=-L/usr/lib/Motif1.2
# 
# Previous releases of HP-UX required the library /usr/lib/libPW.a for Motif.
GUI_OPT=-D_NO_PROTO -Wp,-H512000 -DSYSV
EDITFLAGS=-DVOID_SIGHANDLER -DHAVE_ALLOCA -DUSG -DHAVE_DIRENT -DHAVE_DIRENT_H -DHAVE_STRING_H -DHAVE_VARARGS_H -DHAVE_UNISTD_H -DHAVE_STDLIB_H
# There is a conflict on HP-10.0 between the shared library "curses" and the
# function "select()" (used with sockets), "termcap" is used instead.
EDITLIBS=-lreadline -ltermcap
# 

SLIB=-lm
UIMX=uimxR5


