\n is not special in single quoted strings + update SH
[nedit-bw.git] / makefile_bertw.patch
blob34bc89e39478590a0c61d39058423a56991fd21c
1 ---
3 makefiles/Makefile.bertw | 60 +++++++++++++++++++++++++++++++++++++++++++++++
4 1 files changed, 60 insertions(+)
6 diff --quilt /dev/null new/makefiles/Makefile.bertw
7 --- /dev/null
8 +++ new/makefiles/Makefile.bertw
9 @@ -0,0 +1,60 @@
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
30 +ifdef DEBUG
31 + CFLAGS += -O0 -g -DDEBUG
32 + ifdef DEBUG_MACRO
33 + ifndef DEBUG_NO_STACK
34 + CFLAGS += -DDEBUG_STACK
35 + endif
36 + ifndef DEBUG_NO_ASM
37 + CFLAGS += -DDEBUG_ASSEMBLY
38 + endif
39 + endif
40 +else
41 + CFLAGS += -O3
42 +endif
44 +CFLAGS += -W -Wall -Wno-unused -Wno-sign-compare -Wno-strict-aliasing
45 +CFLAGS += -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES -DBUILD_UNTESTED_NEDIT
47 +ifdef WERROR
48 + CFLAGS += -Werror
49 +endif
51 +ARFLAGS=-urs
53 +ifeq ($(HOSTNAME),saturnV)
54 + CFLAGS += -I/home/bertw/opt/openmotif-2.3.0/include
55 + LIBS += -Wl,-R,/home/bertw/opt/openmotif-2.3.0/lib64
56 + LIBS += -L/home/bertw/opt/openmotif-2.3.0/lib64
57 + LIBS += -L/usr/X11R6/lib64
58 + LIBS += -lXm -lXmu -lXp -lXext -lXt -lSM -lICE -lX11 -lm
59 +endif
61 +ifeq ($(HOSTNAME),phoenix)
62 + LIBS=-L/usr/X11R6/lib -lXm -lXt -lX11 -lm
63 +endif
65 +CFLAGS += -I/usr/X11R6/include
67 +include Makefile.common
69 +verify_config: check_tif_rule