| 1 |
# |
| 2 |
# make options for Cygwin based Linux environment on top of Windows |
| 3 |
# K. Banse ESO - Garching |
| 4 |
# |
| 5 |
#.VERSION |
| 6 |
# 050512 last modif |
| 7 |
|
| 8 |
F77=g77 |
| 9 |
LD77_CMD=g77 |
| 10 |
|
| 11 |
|
| 12 |
C_OPT=-O |
| 13 |
F_OPT=-O |
| 14 |
# |
| 15 |
SYS=-DCygwin -DNO_TAPE_REMOTE |
| 16 |
|
| 17 |
# in midas/version/system/ftoc the /bin/bash in cygwin has problems with |
| 18 |
# shell script named: ftoc_vmr because there's also a ftoc_vmr.exe |
| 19 |
# in that directory, and in "good" windows manner the shell tries to execute |
| 20 |
# this ftoc_vmr.exe when it sees: $ ftoc_vmr ... yacc!! |
| 21 |
# but we changed ftoc_vmr.exe to ftoc_vmrcf.exe in the makefile, |
| 22 |
# so no need anymore for the change in the next line ... |
| 23 |
|
| 24 |
# FTOCVMR = $(MIDASHOME)/$(MIDVERS)/system/exec/ftoc-vmr |
| 25 |
|
| 26 |
|
| 27 |
SLIB=-Wl,-rpath $(MIDASHOME)/$(MIDVERS)/lib |
| 28 |
# SH_OPT=-fPIC |
| 29 |
SH_CMD=$(MIDASHOME)/$(MIDVERS)/local/make_shared |
| 30 |
|
| 31 |
# GUI_OPT=-DPATH_MAX=1024 -Ddg88 |
| 32 |
GUI_OPT=-DBSD_COMP -DUSE_SYSV_TERMIO -DCygwin |
| 33 |
|
| 34 |
# for readline library |
| 35 |
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 -DHAVE_STRCASECMP |
| 36 |
|
| 37 |
EDITLIBS=-lreadline -lncurses |
| 38 |
|
| 39 |
# |