| 1 |
# $Id: Makefile.solaris,v 1.11 2006/02/05 18:29:22 yooden Exp $ |
| 2 |
# |
| 3 |
# You may have to select the ANSI C compiler here |
| 4 |
#CC=gcc |
| 5 |
#CC=/opt/SUNWspro/bin/cc |
| 6 |
CC=cc |
| 7 |
AR=ar |
| 8 |
|
| 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. |
| 14 |
# |
| 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. |
| 17 |
# |
| 18 |
# To test if the Motif library exports the runtime version |
| 19 |
# add -DHAVE__XMVERSIONSTRING to CFLAGS |
| 20 |
# |
| 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 -DNO_XMIM |
| 24 |
|
| 25 |
ARFLAGS=-urs |
| 26 |
LIBS= -L/usr/lib -L/usr/openwin/lib -L/usr/dt/lib -lm -lXm -lXt -lX11 \ |
| 27 |
-lsocket -lnsl -R /usr/openwin/lib -R /usr/dt/lib -R /usr/ucblib |
| 28 |
#LIBS= -L/usr/openwin/lib -L/opt/SUNWmotif/lib -lm -lXm \ |
| 29 |
# -lXt -lX11 -lgen -R /usr/openwin/lib |
| 30 |
|
| 31 |
include Makefile.common |
| 32 |
|
| 33 |
verify_config: |