source: trunk/third/wcl/WcMake1.isc @ 8837

Revision 8837, 5.1 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r8836, which included commits to RCS files with non-trunk default branches.
Line 
1###########################################################################
2# SCCS_data:       %Z% %M% %I% %E% %U%
3#
4# Half of the things you need to tailor to port Wcl to a new platform
5# when you do not have Imake.  WcMake2.tmpl has the other half.
6#
7
8###########################################################################
9# Hacks for various release levels of your X and Xt system:
10# If X11R3.5 (i.e., Motif 1.0 Xt) these need to be uncommented:
11      OLD_XT_SRCS = XtMacros.c XtName.c
12      OLD_XT_OBJS = XtMacros.o XtName.o
13        BROKEN_XT = -DXtNameToWidgetBarfsOnGadgets
14
15###########################################################################
16# If early X11R4 where XtNameToWidget barfs on Gadgets, uncomment these
17#     OLD_XT_SRCS = XtName.c
18#     OLD_XT_OBJS = XtName.o
19#       BROKEN_XT = -DXtNameToWidgetBarfsOnGadgets
20
21###########################################################################
22# Comment out any widget sets you do not have.
23#
24#   WcATHENA = Xp Ari
25     WcMOTIF = Xmp Mri
26#WcOPEN_LOOK = Xop Ori
27
28###########################################################################
29# Special Flags for compiling files which use widget libraries
30#
31   XP_LIB_OPTS =
32# XMP_LIB_OPTS = -D_OLD_MOTIF
33# XMP_LIB_OPTS = -D_NO_PROTO
34# XOP_LIB_OPTS = -I/usr/openwin/include -I/usr/openwin/include/Xol
35
36###########################################################################
37# The location of your X include files and libraries, and where Wcl
38# libraries and programs will be installed.
39#
40# Typical R5 locations:
41#     INCROOT = /usr/X11R5/include
42#      INCDIR = $(INCROOT)/X11
43#   USRLIBDIR = /usr/X11R5/lib
44#      LIBDIR = $(USRLIBDIR)/X11
45# XAPPLOADDIR = $(LIBDIR)/app-defaults
46#      BINDIR = /usr/X11R5/bin
47#      X_LIBS = -L/usr/X11R5/lib
48#
49# Typical R4 and R3 locations:
50      INCROOT = /usr/include
51       INCDIR = $(INCROOT)/X11
52    USRLIBDIR = /usr/lib
53       LIBDIR = $(USRLIBDIR)/X11
54  XAPPLOADDIR = $(LIBDIR)/app-defaults
55       BINDIR = /usr/bin
56       X_LIBS =
57#
58# Typical SunOS locations:
59#     INCROOT = /usr/openwin/include
60#      INCDIR = $(INCROOT)/X11
61#   USRLIBDIR = /usr/openwin/lib
62#      LIBDIR = /usr/lib/X11
63# XAPPLOADDIR = $(LIBDIR)/app-defaults
64#      BINDIR = /usr/openwin/bin
65#      X_LIBS = -L/usr/openwin/lib
66
67
68###########################################################################
69# If you are building for SunOS or SVR4, these must be uncommented
70#
71#        DYNLIB = -ldl
72#DYN_LINK_FLAGS = -DWC_HAS_dlopen_AND_dlsym
73#       WcSTUFF = Stuff
74
75###########################################################################
76# Names of libraries
77#
78# Widget Libraries
79#
80             XAWLIB = -lXaw
81#             XMLIB = -lXm
82#             XMLIB = -lXm -lgen
83              XMLIB = -lXm -lPW
84             XOLLIB = -lXol
85#
86# Wcl Distribution Libraries
87#
88              WCLIB = -lWc $(DYNLIB)
89           WCLDFLAG = -L$(WCTOPDIR)/Wc
90              XPLIB = -lXp
91           XPLDFLAG = -L$(WCTOPDIR)/Xp
92             XMPLIB = -lXmp
93          XMPLDFLAG = -L$(WCTOPDIR)/Xmp
94             XOPLIB = -lXop
95          XOPLDFLAG = -L$(WCTOPDIR)/Xop
96#
97# X11 Libraries
98#
99             XMULIB = -lXmu
100           XTOOLLIB = -lXt
101#      EXTENSIONLIB = -lXext
102               XLIB = $(EXTENSIONLIB) -lX11
103
104
105###########################################################################
106# Only a very poorly configured system (like SCO) needs this
107#
108  LOCAL_STRINGS_H = ./strings.h
109# GET_LOCAL_STRINGS_H = ln /usr/include/string.h ./strings.h
110  GET_LOCAL_STRINGS_H = cp /usr/include/string.h ./strings.h
111
112###########################################################################
113# If you are building for SunOS, uncomment this.  It really means that
114# the printf() supports %digit$ for specifying argument number.
115# WONDER_PRINTF = -DSUNOS_PRINTF
116
117###########################################################################
118# The C compiler to use
119#
120# CC = cc
121# CC = LD_RUN_PATH=$(USRLIBDIR) ; export LD_RUN_PATH ; /usr/ccs/bin/cc
122  CC = gcc -fstrength-reduce -fpcc-struct-return
123
124###########################################################################
125# The Loader to use
126#
127  LD = cc
128# LD = LD_RUN_PATH=$(USRLIBDIR) ; export LD_RUN_PATH ; /usr/ccs/bin/cc
129
130###########################################################################
131# The C pre-processor to use for app-defaults files
132#
133# CPP = /lib/cpp
134
135###########################################################################
136# For putting library include files in ./X11/$(LIB) for easy access
137#
138# LN = ln -s
139  LN = ln
140
141###########################################################################
142# The owner of installed programs, include files, and libraries
143#
144  OWNER = root
145
146###########################################################################
147# Access flags for installed files
148#
149     INSTDIRFLAGS = 0755
150     INSTBINFLAGS = 0755
151     INSTLIBFLAGS = 0644
152     INSTINCFLAGS = 0444
153     INSTMANFLAGS = 0444
154  INSTAPPDEFFLAGS = 0444
155
156###########################################################################
157# Man page locations and suffixes
158#
159      PGMMANDIR = /usr/man/cat.C
160   PGMMANSUFFIX = C.z
161PGMMANSRCSUFFIX = C.z
162      LIBMANDIR = /usr/man/cat.S
163   LIBMANSUFFIX = S.z
164LIBMANSRCSUFFIX = S.z
Note: See TracBrowser for help on using the repository browser.