Lines 30-40
Link Here
|
30 |
CP = cp |
30 |
CP = cp |
31 |
MKINFO = makeinfo |
31 |
MKINFO = makeinfo |
32 |
RMCMD = rm -f |
32 |
RMCMD = rm -f |
33 |
STRIP = strip |
33 |
STRIP = true |
34 |
|
34 |
|
35 |
# Installation sites (GNU conventions): |
35 |
# Installation sites (GNU conventions): |
36 |
# |
36 |
# |
37 |
prefix = /usr/local |
37 |
prefix = /usr |
38 |
bindir = $(prefix)/bin |
38 |
bindir = $(prefix)/bin |
39 |
includedir = $(prefix)/include |
39 |
includedir = $(prefix)/include |
40 |
mandir = $(prefix)/man |
40 |
mandir = $(prefix)/man |
Lines 44-53
Link Here
|
44 |
# CC and CFLAGS set for gcc, but any ANSI-C compiler should work. |
44 |
# CC and CFLAGS set for gcc, but any ANSI-C compiler should work. |
45 |
# For non-gcc compilers, simply set CFLAGS = -O (to start with) |
45 |
# For non-gcc compilers, simply set CFLAGS = -O (to start with) |
46 |
# |
46 |
# |
47 |
CC = gcc |
47 |
#CC = gcc |
48 |
CFLAGS = -O2 -Wall -finline-functions |
48 |
#CFLAGS = -O2 -Wall -finline-functions |
49 |
|
49 |
|
50 |
LFLAGS = # only sometimes needed; see below for examples |
50 |
LFLAGS = $(LDFLAGS) # only sometimes needed; see below for examples |
51 |
CPPFLAGS = -I. # only sometimes needed; see below for examples |
51 |
CPPFLAGS = -I. # only sometimes needed; see below for examples |
52 |
BINDCMD = # only needed for EMX and DJGPP DOS extenders |
52 |
BINDCMD = # only needed for EMX and DJGPP DOS extenders |
53 |
|
53 |
|
Lines 60-68
Link Here
|
60 |
# |
60 |
# |
61 |
# Generic UNIX + X11 previewer (default) |
61 |
# Generic UNIX + X11 previewer (default) |
62 |
# |
62 |
# |
63 |
DEFINES = -DUNIX -DHAS_UNIX_X11 |
63 |
#DEFINES = -DUNIX -DHAS_UNIX_X11 |
64 |
PREVIEWER = to_x11 |
64 |
#PREVIEWER = to_x11 |
65 |
ALL_LIBS = -lX11 -lm # Maybe -lX instead of -lX11 is needed? |
65 |
#ALL_LIBS = -lX11 -lm # Maybe -lX instead of -lX11 is needed? |
66 |
# |
66 |
# |
67 |
# Generic UNIX, no previewer |
67 |
# Generic UNIX, no previewer |
68 |
# |
68 |
# |
Lines 191-200
Link Here
|
191 |
# Decide below if you want to include some extra modes: |
191 |
# Decide below if you want to include some extra modes: |
192 |
# Recommendation: Add PIC & PAC only for ATARI |
192 |
# Recommendation: Add PIC & PAC only for ATARI |
193 |
# |
193 |
# |
194 |
# Standard setting: No extras: |
194 |
# Standard setting: No extras, defined externally: |
195 |
EX_SRC = |
195 |
#EX_SRC = |
196 |
EX_OBJ = |
196 |
#EX_OBJ = |
197 |
EX_DEFS = |
197 |
#EX_DEFS = |
198 |
# |
198 |
# |
199 |
# PNG support (requires -lpng and -lz on the ALL_LIBS line) |
199 |
# PNG support (requires -lpng and -lz on the ALL_LIBS line) |
200 |
#EX_SRC = png.c to_png.c |
200 |
#EX_SRC = png.c to_png.c |
Lines 217-225
Link Here
|
217 |
#EX_DEFS = -DUSEPDF |
217 |
#EX_DEFS = -DUSEPDF |
218 |
# |
218 |
# |
219 |
# Include extras: |
219 |
# Include extras: |
220 |
# EX_SRC = to_pic.c to_pac.c |
220 |
EX_SRC += to_pic.c to_pac.c |
221 |
# EX_OBJ = to_pic.o to_pac.o |
221 |
EX_OBJ += to_pic.o to_pac.o |
222 |
# EX_DEFS = -DPIC_PAC |
222 |
EX_DEFS += -DPIC_PAC |
|
|
223 |
# |
224 |
# Epson Esc/P2 support |
225 |
EX_SRC += to_escp2.c |
226 |
EX_OBJ += to_escp2.o |
227 |
EX_DEFS += -DEPSON |
223 |
# |
228 |
# |
224 |
############################################################################# |
229 |
############################################################################# |
225 |
# No user-serviceable parts below! |
230 |
# No user-serviceable parts below! |
Lines 245-252
Link Here
|
245 |
PROGRAM = hp2xx |
250 |
PROGRAM = hp2xx |
246 |
|
251 |
|
247 |
default: |
252 |
default: |
248 |
@echo "This makefile needs manual configuration! Edit it now! |
253 |
@echo "This makefile needs manual configuration! Edit it now!" |
249 |
@echo "After configuration, you may use the following commands: |
254 |
@echo "After configuration, you may use the following commands:" |
250 |
@echo "" |
255 |
@echo "" |
251 |
@echo "make all Compile everything" |
256 |
@echo "make all Compile everything" |
252 |
@echo "make check Run a color application in preview mode" |
257 |
@echo "make check Run a color application in preview mode" |