1 # $Id: Makefile.aix,v 1.7 2003/05/20 00:27:55 n8gray Exp $
4 # Note that -O is conspicuously absent from CFLAGS below due to an IBM
5 # optimizer bug (which affects only textDisp.c). For improved
6 # performance you can optimize all of the other files by specifically
7 # modifying Makefile.common.
9 # For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS
11 # -DFUNCPROTO=15 is necessary for some AIX compilers (including xlC)
12 # that do not #define __STDC__ when in ANSI mode. This causes the X
13 # headers to skip function prototypes and use char* in place of void*.
14 # This causes a lot of unnecessary casts to avoid warnings. See bug
17 # http://sourceforge.net/bugs/?func=detailbug&bug_id=130164&group_id=11005
21 # To evaluate an alternative layout for the Replace/Find dialog, add
22 # -DREPLACE_SCOPE to the CFLAGS. See the README file for more information.
24 # To test if the Motif library exports the runtime version
25 # add -DHAVE__XMVERSIONSTRING to CFLAGS
27 CFLAGS=-DIBM -DIBM_FWRITE_BUG -DUSE_DIRENT -DFUNCPROTO=15
29 LIBS= -lm -lXm -lXt -lX11 -lPW
31 include Makefile.common