# 
# 061005        last modif
# 
# 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

C_OPT=-O
F_OPT=+O3 -K +z +Z

# 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
#
# 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_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
#
# On HP-UX 11.0 libnsl.a required for 'xdr' definitions (on HP-UX 10.20 in libc.a)
VARARGS=-DVARARGS
SLIB=-lnsl -lm
UIMX=uimxR5

