final step to context based macro interpreter
[nedit-bw.git] / makefile_bertw.patch
blobe1de386165c5839c792536bb8fd8d2cbddc3345f
1 Subject: my local make target
3 ---
5 makefiles/Makefile.bertw | 66 +++++++++++++++++++++++++++++++++++++++++++++++
6 1 file changed, 66 insertions(+)
8 diff --quilt /dev/null new/makefiles/Makefile.bertw
9 --- /dev/null
10 +++ new/makefiles/Makefile.bertw
11 @@ -0,0 +1,66 @@
12 +# $Id: Makefile.linux,v 1.11 2003/05/20 00:27:56 n8gray Exp $
13 +CC=gcc
14 +AR=ar
16 +# For editres, add -DEDITRES to CFLAGS and -lXmu to LIBS
17 +# If using a Motif 2.1 compatible library (LessTif, OM) add
18 +# a '-lXp' in front of the -lXext in LIBS. You also drop the
19 +# -lXpm from that list.
20 +# Ensure that the Motif/LessTif headers and libs are found!
21 +# e.g. you may have to add something like
22 +# -I/usr/lesstif/include to CFLAGS and
23 +# -L/usr/lesstif/lib to LIBS
25 +# To evaluate an alternative layout for the Replace/Find dialog, add
26 +# -DREPLACE_SCOPE to the CFLAGS. See the README file for more information.
28 +# To test if the Motif library exports the runtime version
29 +# add -DHAVE__XMVERSIONSTRING to CFLAGS
32 +ifdef DEBUG
33 + CFLAGS += -O0 -g -DDEBUG
34 + ifdef DEBUG_MACRO
35 + ifndef DEBUG_NO_STACK
36 + CFLAGS += -DDEBUG_STACK
37 + endif
38 + ifndef DEBUG_NO_ASM
39 + CFLAGS += -DDEBUG_ASSEMBLY
40 + endif
41 + endif
42 +else
43 + CFLAGS += -O3
44 +endif
46 +CFLAGS += -W -Wall -Wno-unused -Wno-sign-compare -Wno-strict-aliasing
47 +CFLAGS += -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES
49 +ifdef WERROR
50 + CFLAGS += -Werror
51 +endif
53 +ARFLAGS=-urs
55 +ifeq ($(HOSTNAME),saturnV)
56 + CFLAGS += -I/home/bertw/opt/openmotif-2.3.0/include
57 + LIBS += -Wl,-R,/home/bertw/opt/openmotif-2.3.0/lib64
58 + LIBS += -L/home/bertw/opt/openmotif-2.3.0/lib64
59 + LIBS += -L/usr/X11R6/lib64
60 + LIBS += -lXm -lXmu -lXp -lXext -lXt -lSM -lICE -lX11 -lm
61 +endif
63 +ifeq ($(HOSTNAME),phoenix)
64 + ifdef OM231
65 + CFLAGS += -I/home/bertw/opt/openmotif-2.3.1/include
66 + LIBS += -Wl,-R,/home/bertw/opt/openmotif-2.3.1/lib
67 + LIBS += -L/home/bertw/opt/openmotif-2.3.1/lib
68 + endif
69 + LIBS += -L/usr/X11R6/lib
70 + LIBS += -lXm -lXmu -lXp -lXext -lXt -lSM -lICE -lX11 -lm
71 +endif
73 +CFLAGS += -I/usr/X11R6/include
75 +include Makefile.common
77 +verify_config: check_tif_rule