1
# Configuration file for CYGWIN/XFree86/MinGW under Windows:
3
include $(TCM_HOME)/src/Config.GEN
5
STRIP = $(TCM_HOME)/bin/_cygwin_stripfile.sh
7
CFLAGS = -Wall -pedantic
8
CFLAGS += -O3 -fomit-frame-pointer
14
XWIN_HOME = /usr/X11R6
19
INCLUDEDIRS += -I/usr/include/mingw/g++-3
21
# Uncomment one of the following Motif/Lesstif segments or
24
# Lesstif 1.2 (dynamic linked)
25
MOTIF_HOME = /usr/X11R6/LessTif/Motif1.2
26
LDLIBS = -lXm -lstdc++ -L/lib/mingw -lcrtdll -lmingwthrd -L/lib/gcc-lib/i686-pc-mingw32/3.2 -lgcc
29
# Lesstif 1.2 (static linked)
30
# MOTIF_HOME = /usr/X11R6/LessTif/Motif1.2
31
# LDLIBS = $(MOTIF_LIB)/libXm.a
33
# OSF/Motif 1.2 (dynamic linked)
34
# MOTIF_HOME = /local/opt/motif12
37
# OSF/Motif 1.2 (static linked)
38
# MOTIF_HOME = /local/opt/motif12
39
# LDLIBS = $(MOTIF_LIB)/libXm.a
41
# OSF/Motif 2.0 (dynamic linked)
42
# MOTIF_HOME = /local/opt/motif20
45
# OSF/Motif 2.0 (static linked)
46
# MOTIF_HOME = /local/opt/motif20
47
# LDLIBS = $(MOTIF_LIB)/libXpm.a $(MOTIF_LIB)/libXm.a
49
# OSF/Motif 2.1 (dynamic linked)
50
# MOTIF_HOME = /local/opt/motif21
53
# OSF/Motif 2.1 (static linked)
54
# MOTIF_HOME = /local/opt/motif21
55
# LDLIBS = $(MOTIF_LIB)/libXm.a $(XWIN_LIB)/libXp.a
57
# OpenMotif 2.1 (dynamic linked)
58
# MOTIF_HOME = $(XWIN_HOME)
61
# OpenMotif 2.1 (static linked)
62
# MOTIF_HOME = $(XWIN_HOME)
63
# LDLIBS = $(MOTIF_LIB)/libXm.a -lXp
65
# The other libraries (don't change these)
66
LDLIBS += -lXt -lSM -lICE -lXext -lX11 -lm
68
# 'make depend' and its flags
69
MKDEPEND=$(TCM_HOME)/bin/makedepend.sh
70
MKDEPENDFLAGS := $(CPPFLAGS) -D__i386__ -I/usr/include/g++-3 \
71
-I/usr/include/g++-2 \
75
ADDLIBS=-I/usr/include/mingw -I/usr/include/g++-3
79
CHMODPLUSX = $(TCM_HOME)/bin/_cygwin_chmodplusx.sh