1 # $Id: Makefile.solaris,v 1.7 2002/01/05 02:09:06 edel Exp $
3 # You may have to select the ANSI C compiler here
5 #CC=/opt/SUNWspro/bin/cc
9 # For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS
10 # For Solaris 2.4, add -DDONT_USE_GLOB
11 # On older Solaris systems, Motif may be in /opt/SUNWmotif or even in
12 # /usr/local. Some Solaris versions require explicit -I/usr/include
13 # as the first include directory.
15 # To evaluate an alternative layout for the Replace/Find dialog, add
16 # -DREPLACE_SCOPE to the CFLAGS. See the README file for more information.
18 #CFLAGS=-g -I/usr/openwin/include -I/usr/dt/include \
19 -DUSE_DIRENT -DROWCOLPATCH -DNO_XMIM -DUSE_ACCESS
20 CFLAGS=-O -I/usr/openwin/include -I/opt/SUNWmotif/include -DUSE_DIRENT
22 LIBS= -L/usr/lib -L/usr/openwin/lib -L/usr/dt/lib -lm -lXm -lXt -lX11 \
23 -lsocket -lnsl -R /usr/openwin/lib -R /usr/dt/lib -R /usr/ucblib
24 #LIBS= -L/usr/openwin/lib -L/opt/SUNWmotif/lib -lm -lXm \
25 # -lXt -lX11 -lgen -R /usr/openwin/lib
27 include Makefile.common