remove currentDesktop from server request but allow -do macros on new Untitled
[nedit-bw.git] / makefile_bertw.patch
blob2335831c7b147bb79a1ea5cafa225181256cb160
1 Subject: my local make target
3 ---
5 makefiles/Makefile.bertw | 65 +++++++++++++++++++++++++++++++++++++++++++++++
6 1 file changed, 65 insertions(+)
8 diff --quilt /dev/null new/makefiles/Makefile.bertw
9 --- /dev/null
10 +++ new/makefiles/Makefile.bertw
11 @@ -0,0 +1,65 @@
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_STACKDUMP
36 + CFLAGS += -DDEBUG_STACK
37 + endif
38 + ifndef DEBUG_NO_DISASM
39 + CFLAGS += -DDEBUG_ASSEMBLY
40 + endif
41 + ifndef DEBUG_NO_YACC
42 + CFLAGS += -DYYDEBUG=1
43 + endif
44 + endif
45 +else
46 + CFLAGS += -O3
47 +endif
49 +CFLAGS += -W -Wall -Wno-unused -Wno-sign-compare -Wno-strict-aliasing
50 +CFLAGS += -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DEDITRES
52 +ifdef WERROR
53 + CFLAGS += -Werror
54 +endif
56 +ARFLAGS=-urs
58 +LIBS += -lXm -lXmu -lXp -lXext -lXt -lSM -lICE -lX11 -lm
60 +ifdef OM231
61 +OM23=1
62 +endif
64 +ifdef OM232
65 +OM23=2
66 +endif
68 +ifdef OM23
69 + CFLAGS += -I/home/$(USER)/opt/openmotif-2.3.$(OM23)/include
70 + LIBS += -Wl,-R,/home/$(USER)/opt/openmotif-2.3.$(OM23)/lib
71 + LIBS += -L/home/$(USER)/opt/openmotif-2.3.$(OM23)/lib
72 +endif
74 +include Makefile.common
76 +verify_config: check_tif_rule