| 1 |
# |
| 2 |
# 061005 last modif |
| 3 |
# |
| 4 |
# If your C compiler does not support options "+z" and "-O" you will have to |
| 5 |
# remove these options and entries starting with "SH_" to avoid "Warning" msgs. |
| 6 |
|
| 7 |
# C_ANSI=-Aa ANSI flag for the standard HP C compiler |
| 8 |
C_ANSI=-Aa |
| 9 |
SH_CMD=ld -b |
| 10 |
SH_OPT=+z |
| 11 |
SH_EXT=sl |
| 12 |
|
| 13 |
C_OPT=-O |
| 14 |
F_OPT=+O3 -K +z +Z |
| 15 |
|
| 16 |
# LDCC needs -Wl,+s if we want the dinamic loader to use SHLIB_PATH variable. |
| 17 |
# and this is needed if MIDAS shared libraries are copied to another location. |
| 18 |
LDCC=cc -Wl,+s,+vnocompatwarnings |
| 19 |
LD77_CMD=fort77 -Wl,+s,+vnocompatwarnings |
| 20 |
# |
| 21 |
# Previous releases of HP-UX required the library /usr/lib/libPW.a for Motif. |
| 22 |
GUI_OPT=-D_NO_PROTO -Wp,-H512000 -DSYSV |
| 23 |
EDITFLAGS=-DVOID_SIGHANDLER -DHAVE_ALLOCA -DUSG -DHAVE_DIRENT -DHAVE_DIRENT_H -DHAVE_STRING_H -DHAVE_UNISTD_H -DHAVE_STDLIB_H |
| 24 |
# There is a conflict on HP-10.0 between the shared library "curses" and the |
| 25 |
# function "select()" (used with sockets), "termcap" is used instead. |
| 26 |
EDITLIBS=-lreadline -ltermcap |
| 27 |
# |
| 28 |
# On HP-UX 11.0 libnsl.a required for 'xdr' definitions (on HP-UX 10.20 in libc.a) |
| 29 |
VARARGS=-DVARARGS |
| 30 |
SLIB=-lnsl -lm |
| 31 |
UIMX=uimxR5 |
| 32 |
|