1 # $Id: Makefile.macosx,v 1.4 2003/05/20 00:27:56 n8gray Exp $
2 # Makefile for MacOS X, using Tenon's Xtools
3 # Contributed from hopperj@macconnect.com
6 # For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS\\
8 # To evaluate an alternative layout for the Replace/Find dialog, add
9 # -DREPLACE_SCOPE to the CFLAGS. See the README file for more information.
11 # To test if the Motif library exports the runtime version
12 # add -DHAVE__XMVERSIONSTRING to CFLAGS
14 CFLAGS=-O -no-cpp-precomp -DNO_XMIM -I${PREFIX}/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM
15 LIBS= ${MOTIFLIB} -bind_at_load -L/usr/X11R6/lib /usr/X11R6/lib/libXm.2.dylib /usr/X11R6/lib/libXp.6.dylib -lm -lXpm \
16 -lXext -lXt -lSM -lICE -lX11
18 # That would be an alternative set of flags using XFree86 with LessTif:
20 #LIBS=-flat-namespace -force_flat_namespace -L/usr/local/lib\
21 # -L/usr/X11R6/lib -lm -lXm -lXt -lXpm -lXext -lSM -lICE -lX11
27 include Makefile.common