2 # @(#) Makefile.sol 1.47 4/16/97
4 # GROMACS - Groningen Machine for Chemical Simulation
5 # Copyright (c) 1990, 1991, 1992, Groningen University
7 # Makefile for gromacs on sparc processor
9 # See README file for info
11 SYSDEFS = -DHAVE_IDENT -DHAVE_STRDUP -DHAVE_STRCASECMP
18 # DO NOT PUT OPTIMIZATION HIGHER FOR SparcStation 5, it will produce
19 # erroneous results! -xO2 is safe.
20 CFLAGS = -v -xO2 -xunroll=3 -Xa -K PIC
21 #CFLAGS = -v -g -Xa -K PIC
25 # Generic linking stuff
26 LDFLAGS = -L$(LIBDIR) -L/usr1/local/lib
27 LD = $(CC) $(LDFLAGS) -z nodefs
28 FLD = $(F77) $(LDFLAGS)
29 CCLD = $(CCC) $(LDFLAGS) -z nodefs
31 XLIBS = -lsocket -lX11
32 SYSLIBS = $(LINKLIB) -lm -lnsl
34 SHAREIT = (cd $(LIBDIR); ar x $(LIB); cc $(LDFLAGS) -o $(SOLIB) -G *.o; $(RM) *.o)
36 X11INC = -I/usr1/local/include
39 # USER MODIFIABLE SECTION
41 # If you want to use fortran innerloops set this to yes
42 # For most machines this will improve the performance quite a bit
43 # because C-compilers are not as good as Fortran compilers
45 SYSDEFS += -DF77UNDERSCORE
47 # If you want to run in *** P A R A L L E L ***
48 # please select either PVM or MPI, check with your local hacker
49 # to see what's installed at your site. If you have neither,
50 # set both to no. If you select both, something will break!!!
55 # If you want to use compressed data files set this to yes
56 # This uses the xdr libraries of your UNIX system, which is virtually
57 # Allways present, because it is necessary for NFS (network file system)
62 # Set this on if you have Open GL and the Viewkit library
63 # (standard with SGI, available for money elsewhere)
64 # This is used in the Open GL trajectory viewer.
67 # Note that these variables are also used in Makefile.std
68 # If something does not work, please check out the link command line
69 # in that file (e.g. for PVM)