1
# Configuration file for Linux 2.x and gcc compiler.
3
include $(TCM_HOME)/src/Config.GEN
5
# STRIP = /usr/bin/strip --strip-debug
8
CFLAGS = -Wall -pedantic
9
CFLAGS += -O3 -fomit-frame-pointer
12
XWIN_HOME = /usr/X11R6
17
# Uncomment one of the following Motif/Lesstif segments or
20
# Lesstif 1.2 (dynamic linked)
21
# MOTIF_HOME = /usr/X11R6/LessTif/Motif1.2
24
# Lesstif 1.2 (static linked)
25
# MOTIF_HOME = /usr/X11R6/LessTif/Motif1.2
26
# LDLIBS = $(MOTIF_LIB)/libXm.a
28
# OSF/Motif 1.2 (dynamic linked)
29
# MOTIF_HOME = /local/opt/motif12
32
# OSF/Motif 1.2 (static linked)
33
# MOTIF_HOME = /local/opt/motif12
34
# LDLIBS = $(MOTIF_LIB)/libXm.a
36
# OSF/Motif 2.0 (dynamic linked)
37
# MOTIF_HOME = /local/opt/motif20
40
# OSF/Motif 2.0 (static linked)
41
# MOTIF_HOME = /local/opt/motif20
42
# LDLIBS = $(MOTIF_LIB)/libXpm.a $(MOTIF_LIB)/libXm.a
44
# OSF/Motif 2.1 (dynamic linked)
45
# MOTIF_HOME = /local/opt/motif21
48
# OSF/Motif 2.1 (static linked)
49
# MOTIF_HOME = /local/opt/motif21
50
# LDLIBS = $(MOTIF_LIB)/libXm.a $(XWIN_LIB)/libXp.a
52
# OpenMotif 2.1 (dynamic linked)
53
# MOTIF_HOME = $(XWIN_HOME)
56
# OpenMotif 2.1 (static linked)
57
MOTIF_HOME = $(XWIN_HOME)
58
LDLIBS = $(MOTIF_LIB)/libXm.a -lXp
61
# The other libraries (don't change these)
62
LDLIBS += -lXt -lSM -lICE -lXext -lX11 -lm
64
# 'make depend' and its flags
65
MKDEPEND=$(TCM_HOME)/bin/makedepend.sh
66
MKDEPENDFLAGS = $(CPPFLAGS) -D__i386__ -I/usr/include/g++-3 \
67
-I/usr/include/g++-2 \