push up read_from_pipes.patch
[nedit-bw.git] / makefile_bertw.patch
blob1ca8b4df4f64e7bbab7df996f19824cc378eb2cd
1 ---
3 makefiles/Makefile.bertw | 51 +++++++++++++++++++++++++++++++++++++++++++++++
4 1 files changed, 51 insertions(+)
6 diff --quilt /dev/null new/makefiles/Makefile.bertw
7 --- /dev/null
8 +++ new/makefiles/Makefile.bertw
9 @@ -0,0 +1,51 @@
10 +# $Id: Makefile.linux,v 1.11 2003/05/20 00:27:56 n8gray Exp $
11 +CC=gcc
12 +AR=ar
14 +# For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS
15 +# If using a Motif 2.1 compatible library (LessTif, OM) add
16 +# a '-lXp' in front of the -lXext in LIBS. You also drop the
17 +# -lXpm from that list.
18 +# Ensure that the Motif/LessTif headers and libs are found!
19 +# e.g. you may have to add something like
20 +# -I/usr/lesstif/include to CFLAGS and
21 +# -L/usr/lesstif/lib to LIBS
23 +# To evaluate an alternative layout for the Replace/Find dialog, add
24 +# -DREPLACE_SCOPE to the CFLAGS. See the README file for more information.
26 +# To test if the Motif library exports the runtime version
27 +# add -DHAVE__XMVERSIONSTRING to CFLAGS
29 +CFLAGS += -W -Wall -Wno-unused -Wno-sign-compare -Wno-strict-aliasing
30 +CFLAGS += -I/home/bertw/opt/openmotif-2.3.0/include -I/usr/X11R6/include
31 +CFLAGS += -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES -DBUILD_UNTESTED_NEDIT
33 +ifdef DEBUG
34 + CFLAGS += -O0 -g -DDEBUG
35 + ifdef DEBUG_MACRO
36 + ifndef DEBUG_NO_STACK
37 + CFLAGS += -DDEBUG_STACK
38 + endif
39 + ifndef DEBUG_NO_ASM
40 + CFLAGS += -DDEBUG_ASSEMBLY
41 + endif
42 + endif
43 +else
44 + CFLAGS += -O3
45 +endif
47 +ifdef WERROR
48 + CFLAGS += -Werror
49 +endif
51 +ARFLAGS=-urs
53 +LIBS += -Wl,-R,/home/bertw/opt/openmotif-2.3.0/lib64
54 +LIBS += -L/home/bertw/opt/openmotif-2.3.0/lib64
55 +LIBS += -L/usr/X11R6/lib64
56 +LIBS += -lXm -lXmu -lXp -lXext -lXt -lSM -lICE -lX11 -lm
58 +include Makefile.common
60 +verify_config: check_tif_rule