1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
|
*** Makefile.org Sat Jan 6 19:35:41 2001
--- Makefile Sat Jan 6 19:46:00 2001
***************
*** 40,46 ****
# remove the examples directory from this line.
# If you want to build the XmHTML tutorial examples, add the book directory.
! SUBDIRS= lib http examples tools
# some common definitions
#
--- 40,46 ----
# remove the examples directory from this line.
# If you want to build the XmHTML tutorial examples, add the book directory.
! SUBDIRS= lib http
# some common definitions
#
***************
*** 55,61 ****
RANLIB= ranlib
SHELL = /bin/sh
! MAKE = make
# change this to makedepend if your system doesn't have gcc
MAKEDEPEND= gccmakedep
--- 55,61 ----
RANLIB= ranlib
SHELL = /bin/sh
! #MAKE = make
# change this to makedepend if your system doesn't have gcc
MAKEDEPEND= gccmakedep
***************
*** 64,72 ****
# Compiler Settings #
# #
#####################
! CC = gcc
! CFLAGS = -g -funroll-loops -Wall -pipe -ansi
! LDFLAGS =
# The following flags are *very* usefull if you are getting unresolved
# references to functions in libraries that you *know* to exist.
--- 64,72 ----
# Compiler Settings #
# #
#####################
! #CC = gcc
! #CFLAGS = -g -funroll-loops -Wall -pipe -ansi
! #LDFLAGS =
# The following flags are *very* usefull if you are getting unresolved
# references to functions in libraries that you *know* to exist.
***************
*** 115,121 ****
# HAVE_LIBZ => zlib.h
ZLIBINC =
! IMAGEINCLUDES = $(ZLIBINC)
# Image libraries
# No need to add -lXpm if you need to include it with LIBS below
--- 115,121 ----
# HAVE_LIBZ => zlib.h
ZLIBINC =
! IMAGEINCLUDES = -I${LOCALBASE}/include $(ZLIBINC)
# Image libraries
# No need to add -lXpm if you need to include it with LIBS below
***************
*** 126,132 ****
# HAVE_LIBZ => libz (and possibly libm)
ZLIBLIB = -lz -lm
! IMAGELIBS = -ljpeg -lpng $(ZLIBLIB)
# It might be troublesome to know what the correct defines are for your
# system. A possible set of defines for some OS's is given below. Pick
--- 126,132 ----
# HAVE_LIBZ => libz (and possibly libm)
ZLIBLIB = -lz -lm
! IMAGELIBS = -L${LOCALBASE}/lib -ljpeg -lpng $(ZLIBLIB)
# It might be troublesome to know what the correct defines are for your
# system. A possible set of defines for some OS's is given below. Pick
***************
*** 166,182 ****
# Add -DDEBUG to enable selective debug output (see the file DEBUGGING for more
# info).
#
! CPPFLAGS = -DDEBUG -D_GNU_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -DHAVE_REGEX_H $(IMAGEDEFINES)
# Various include directories
LIBINC=-I. -I../include -I../include/common -I../../include -I../../include/common
# Platform specific includes
ifeq ($(PLATFORM),Motif)
! PLATFORMINC=-I../../include/XmHTML -I/usr/X11R6/include
else
ifeq ($(PLATFORM),gtk)
! PLATFORMINC=-I../../include/gtk-xmhtml -I/usr/local/include
endif
endif
--- 166,182 ----
# Add -DDEBUG to enable selective debug output (see the file DEBUGGING for more
# info).
#
! CPPFLAGS = -DHAVE_REGEX_H $(IMAGEDEFINES)
# Various include directories
LIBINC=-I. -I../include -I../include/common -I../../include -I../../include/common
# Platform specific includes
ifeq ($(PLATFORM),Motif)
! PLATFORMINC=-I../../include/XmHTML -I${LOCALBASE}/include
else
ifeq ($(PLATFORM),gtk)
! PLATFORMINC=-I../../include/gtk-xmhtml -I${LOCALBASE}/include
endif
endif
***************
*** 192,201 ****
# Motif version (default)
ifeq ($(PLATFORM),Motif)
! LIBDIR = -L/usr/X11R6/lib
# This is what is required under Linux (Motif 2.0.1).
# Your mileage may vary.
! LIBS = -lXm -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE
else
--- 192,201 ----
# Motif version (default)
ifeq ($(PLATFORM),Motif)
! LIBDIR = -L${LOCALBASE}/lib
# This is what is required under Linux (Motif 2.0.1).
# Your mileage may vary.
! LIBS = ${MOTIFLIB} -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE
else
|