1
# Configuration file for FreeBSD and gcc compiler.
3
include $(TCM_HOME)/src/Config.GEN
5
STRIP = /usr/bin/strip --strip-debug
8
CFLAGS = -Wall -pedantic
9
CFLAGS += -fomit-frame-pointer
15
XWIN_HOME = /usr/X11R6
20
# Uncomment one of the following Motif/Lesstif segments or
23
# Lesstif 1.2 (dynamic linked)
24
MOTIF_HOME = /usr/X11R6/LessTif/Motif1.2
27
# Lesstif 1.2 (static linked)
28
# MOTIF_HOME = /usr/X11R6/LessTif/Motif1.2
29
# LDLIBS = $(MOTIF_LIB)/libXm.a
31
# OSF/Motif 1.2 (dynamic linked)
32
# MOTIF_HOME = /local/opt/motif12
35
# OSF/Motif 1.2 (static linked)
36
# MOTIF_HOME = /local/opt/motif12
37
# LDLIBS = $(MOTIF_LIB)/libXm.a
39
# OSF/Motif 2.0 (dynamic linked)
40
# MOTIF_HOME = /local/opt/motif20
43
# OSF/Motif 2.0 (static linked)
44
# MOTIF_HOME = /local/opt/motif20
45
# LDLIBS = $(MOTIF_LIB)/libXpm.a $(MOTIF_LIB)/libXm.a
47
# OSF/Motif 2.1 (dynamic linked)
48
# MOTIF_HOME = /local/opt/motif21
51
# OSF/Motif 2.1 (static linked)
52
# MOTIF_HOME = /local/opt/motif21
53
# LDLIBS = $(MOTIF_LIB)/libXm.a $(XWIN_LIB)/libXp.a
55
# OpenMotif 2.1 (dynamic linked)
56
# MOTIF_HOME = $(XWIN_HOME)
59
# OpenMotif 2.1 (static linked)
60
# MOTIF_HOME = $(XWIN_HOME)
61
# LDLIBS = $(MOTIF_LIB)/libXm.a -lXp
63
# The other libraries (don't change these)
64
LDLIBS += -lXt -lSM -lICE -lXext -lX11 -lm
66
# 'make depend' and its flags
67
MKDEPEND=$(TCM_HOME)/bin/makedepend.sh
68
MKDEPENDFLAGS := $(CPPFLAGS) -D__i386__ -I/usr/include/g++-3 \
69
-I/usr/include/g++-2 \