forked from franzinc/clim2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.sun4-svr4
48 lines (35 loc) · 1.09 KB
/
Makefile.sun4-svr4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# Makefile.sun4-svr4 for CLIM 2.0
#
include Makefile.defs
Makefile=Makefile.sun4-svr4
# for other Motif versions use
# /net/sole/opt/ICS/Motif1.2.4/usr/include
# /net/vapor/3rd/motif-1.2.2-sol2/ICS/Motif/usr/include
XINCLUDES=-I/usr/openwin/include -I/usr/dt/include
# on sol7 and later -lXm is motif 2, and we need 1.x.
## Let's try it again, anyway, since sparc64 has no 1.x:
TKLIB=-lXm
#TKLIB=/usr/dt/lib/libXm.so.3
XTLIB=-lXt
XLIB=-lX11
ifeq ($(SIXTYFOURBIT),yes)
CFLAGS = -xarch=v9 -DAcl64Bit
SET_LIBRARY_PATH= \
LD_LIBRARY_PATH=/usr/lib/sparcv9; export LD_LIBRARY_PATH
else
SET_LIBRARY_PATH= \
LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib:/usr/lib; export LD_LIBRARY_PATH
endif
# for other Motif versions use
# /net/sole/opt/ICS/Motif1.2.4/usr/lib:/usr/lib
# /net/vapor/3rd/motif-1.2.2-sol2/ICS/Motif/usr/lib:/usr/lib
PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
# from here on this file should be the same as Makefile.sun4-svr4-ol
MOTIFXTRAS=-lgen
PICFLAGS = -K pic
SHAREFLAGS =
MAKE_SHARED = ld -G
STD_DEFINES = -DSVR4 -DSYSV
AR = ar cq
include Makefile.generic