3 # GROMACS - Groningen Machine for Chemical Simulation
4 # Copyright (c) 1990, 1991, 1992, Groningen University
6 # Makefile for gromacs on ultrsparc processor
8 # You may have to change the paths in LDFLAGS below!
9 # If you have the performace library from sun, try changing -lm to -lmopt in SYSLIBS
11 SYSDEFS = -DHAVE_IDENT -DHAVE_STRDUP -DHAVE_STRCASECMP -DFINVSQRT -DCINVSQRT
13 # Sun workshop compilers
18 # This is intended for ultrasparc architecture, and allows for semidangerous optimization
20 # if your compiler supports it, you should uncomment xarch and set this to any of
21 # v8, v8plusa, v9 or v9a. Higher is better, but it will only work if your
22 # computers is of the proper architecture.
24 # You could also try using the optimization options that are commented out, but some
25 # sun compilers seem to produce bad code with these.
27 CFLAGS = -KPIC -xO3 #-fast -fsimple=2 -fnonstd -xarch=v8plusa
28 CCFLAGS = -KPIC -xO3 #-fast -fsimple=2 -fnonstd -xarch=v8plusa
29 FFLAGS = -KPIC -xO3 #-fast -fsimple=2 -fnonstd -xarch=v8plusa
31 # Generic linking stuff
32 LDFLAGS = -L$(LIBDIR) -L/usr/lib -L/usr/openwin/lib -xO3 #-fast -fsimple=2 -fnonstd -xarch=v8plusa
33 LD = $(F77) $(LDFLAGS) -z nodefs
34 FLD = $(F77) $(LDFLAGS)
35 CCLD = $(CCC) $(LDFLAGS) -z nodefs
37 XLIBS = -lsocket -lX11
38 SYSLIBS = $(LINKLIB) -lm -lnsl
39 SHAREIT = (cd $(LIBDIR); ar x $(LIB); cc $(LDFLAGS) -o $(SONAME) -G *.o; $(RM) *.o)
41 X11INC = -I/usr/openwin/include
44 # USER MODIFIABLE SECTION
46 # If you want to use fortran innerloops set this to yes
47 # For most machines this will improve the performance quite a bit
48 # because C-compilers are not as good as Fortran compilers
50 SYSDEFS += -DF77UNDERSCORE
52 # If you want to run in *** P A R A L L E L ***
53 # please select either PVM or MPI, check with your local hacker
54 # to see what's installed at your site. If you have neither,
55 # set both to no. If you select both, something will break!!!
60 # If you want to use compressed data files set this to yes
61 # This uses the xdr libraries of your UNIX system, which is virtually
62 # Allways present, because it is necessary for NFS (network file system)
67 # Set this on if you have Open GL and the Viewkit library
68 # (standard with SGI, available for money elsewhere)
69 # This is used in the Open GL trajectory viewer.
72 # Note that these variables are also used in Makefile.std
73 # If something does not work, please check out the link command line
74 # in that file (e.g. for PVM)