# 
# K.Banse	ESO - Garching		050611
# make options for 64bit Linux on AMD/Intel 
# 
# 
# 110525	last modif
#  

CC=gcc
LDCC=gcc


F_OPT=-O -fPIC -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g



SYS=-DLinuxAMD64 -DGCC


SLIB=-Wl,-rpath $(MIDASHOME)/$(MIDVERS)/lib -ltirpc
SH_OPT=-fPIC
SH_CMD=$(MIDASHOME)/$(MIDVERS)/local/make_shared
GUI_OPT=-DPATH_MAX=1024 -Ddg88

# for readline library
EDITFLAGS=-DVOID_SIGHANDLER -DHAVE_ALLOCA -DHAVE_ALLOCA_H -DUSG -DUSGr3 -DHAVE_GETPW_DECLS -DHAVE_DIRENT_H -DHAVE_STRING_H -DLinux -DHAVE_UNISTD_H -DHAVE_STDLIB_H


# To link with static Motif libraries
# X_LIBS=-Wl,-Bstatic -lXm -lXext -lXp -Wl,-Bdynamic -lXt -lX11

# 
DEBUG=-g
VARARGS=-DNOVARARGS
C_OPT=-fPIC -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g
K_OPT=-fPIC -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g
INSTALL_FLAG=auto
F77=gfortran
LD77_CMD=gfortran
E_OPT=-Z
STRIP=echo
EDITSWITCH=-DEdit_dummy
EDITLIBS=-lreadline -lncurses
UIMX=uimxR5
