1 # $Id: Makefile.solaris,v 1.10 2003/11/22 13:03:39 edg 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 # To test if the Motif library exports the runtime version
19 # add -DHAVE__XMVERSIONSTRING to CFLAGS
21 #CFLAGS=-g -I/usr/openwin/include -I/usr/dt/include \
22 -DUSE_DIRENT -DROWCOLPATCH -DNO_XMIM
23 CFLAGS=-O -I/usr/openwin/include -I/opt/SUNWmotif/include -DUSE_DIRENT
25 LIBS= -L/usr/lib -L/usr/openwin/lib -L/usr/dt/lib -lm -lXm -lXt -lX11 \
26 -lsocket -lnsl -R /usr/openwin/lib -R /usr/dt/lib -R /usr/ucblib
27 #LIBS= -L/usr/openwin/lib -L/opt/SUNWmotif/lib -lm -lXm \
28 # -lXt -lX11 -lgen -R /usr/openwin/lib
30 include Makefile.common