source: trunk/third/wcl/WcMake1.svr4 @ 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 = Xt4GetResL.c XtMacros.c XtName.c
12#     OLD_XT_OBJS = Xt4GetResL.o 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# Only a very poorly configured system (like SCO) needs this
106#
107# LOCAL_STRINGS_H = ./strings.h
108# GET_LOCAL_STRINGS_H = ln /usr/include/string.h ./strings.h
109# GET_LOCAL_STRINGS_H = cp /usr/include/string.h ./strings.h
110
111###########################################################################
112# If you are building for SunOS, uncomment this.  It really means that
113# the printf() supports %digit$ for specifying argument number.
114# WONDER_PRINTF = -DSUNOS_PRINTF
115
116###########################################################################
117# The C compiler to use
118#
119# CC = cc
120  CC = LD_RUN_PATH=$(USRLIBDIR) ; export LD_RUN_PATH ; /usr/ccs/bin/cc
121# CC = gcc -fstrength-reduce -fpcc-struct-return
122
123###########################################################################
124# The Loader to use
125#
126# LD = cc
127  LD = LD_RUN_PATH=$(USRLIBDIR) ; export LD_RUN_PATH ; /usr/ccs/bin/cc
128
129###########################################################################
130# The C pre-processor to use for app-defaults files
131#
132  CPP = /lib/cpp
133
134###########################################################################
135# For putting library include files in ./X11/$(LIB) for easy access
136#
137  LN = ln -s
138# LN = ln
139
140###########################################################################
141# The owner of installed programs, include files, and libraries
142#
143  OWNER = root
144
145###########################################################################
146# Access flags for installed files
147#
148     INSTDIRFLAGS = 0755
149     INSTBINFLAGS = 0755
150     INSTLIBFLAGS = 0644
151     INSTINCFLAGS = 0444
152     INSTMANFLAGS = 0444
153  INSTAPPDEFFLAGS = 0444
154
155###########################################################################
156# Man page locations and suffixes
157#
158      PGMMANDIR = /usr/man/X11/mann
159   PGMMANSUFFIX = 1
160PGMMANSRCSUFFIX = man
161      LIBMANDIR = /usr/man/X11/mann
162   LIBMANSUFFIX = 3
163LIBMANSRCSUFFIX = man
Note: See TracBrowser for help on using the repository browser.