blob: 52c171857d202aa1802b246616fa7e55f958e6ff (
plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
lib_LTLIBRARIES =
#
# This doesn't appear to be used on any
# current systems -- it requires SUNSHLIB and !SHAREDCODE,
# but only sunLib.rules defines SUNSHLIB and that file also
# always defines SHAREDCODE. Go figure
#
# SHAREDLIB_SOURCES = sharedlib.c
COMMON_SOURCES = \
Actions.c \
AllWidgets.c \
AsciiSink.c \
AsciiSrc.c \
AsciiText.c \
Box.c \
Command.c \
Converters.c \
Dialog.c \
DisplayList.c \
Form.c \
Grip.c \
Label.c \
List.c \
MenuButton.c \
MultiSrc.c \
MultiSink.c \
OS.c \
Paned.c \
Panner.c \
Pixmap.c \
Porthole.c \
Private.h \
Repeater.c \
Scrollbar.c \
Simple.c \
SimpleMenu.c \
Sme.c \
SmeBSB.c \
SmeLine.c \
StripChart.c \
Text.c \
TextSink.c \
TextSrc.c \
TextAction.c \
TextPop.c \
TextTr.c \
Toggle.c \
Tree.c \
Vendor.c \
Viewport.c \
XawIm.c \
XawInit.c \
XawI18n.c \
XawI18n.h
COMMON_CFLAGS = \
$(CWARNFLAGS)
COMMON_CPPFLAGS = \
-I${top_srcdir}/include \
-I${top_srcdir}/include/X11/Xaw \
-DPROJECT_ROOT=\"$(prefix)\"
if BUILD_XAW6
lib_LTLIBRARIES += libXaw6.la
libXaw6_la_CPPFLAGS = \
$(COMMON_CPPFLAGS)
libXaw6_la_CFLAGS = \
$(COMMON_CFLAGS) \
-DOLDXAW \
$(XAW6_CFLAGS)
libXaw6_la_SOURCES = \
$(COMMON_SOURCES)
libXaw6_la_LDFLAGS = -version-info 6:1:0 -no-undefined
libXaw6_la_LIBADD = $(XAW6_LIBS)
if !PLATFORM_WIN32
install-exec-hook::
if PLATFORM_DARWIN
-rm -f $(DESTDIR)$(libdir)/libXaw.6.@LIBEXT@
(cd $(DESTDIR)$(libdir) && ln -s libXaw6.6.@LIBEXT@ libXaw.6.@LIBEXT@)
else
-rm -f $(DESTDIR)$(libdir)/libXaw.@LIBEXT@.6
(cd $(DESTDIR)$(libdir) && ln -s libXaw6.@LIBEXT@.6 libXaw.@LIBEXT@.6)
endif
uninstall-local::
if PLATFORM_DARWIN
-rm -f $(DESTDIR)$(libdir)/libXaw.6.@LIBEXT@
else
-rm -f $(DESTDIR)$(libdir)/libXaw.@LIBEXT@.6
endif
endif
endif
if BUILD_XAW7
lib_LTLIBRARIES += libXaw7.la
libXaw7_la_CPPFLAGS = \
$(COMMON_CPPFLAGS)
libXaw7_la_CFLAGS = \
$(COMMON_CFLAGS) \
-DXAW7 \
$(XAW7_CFLAGS)
libXaw7_la_SOURCES = \
$(COMMON_SOURCES) \
Tip.c
libXaw7_la_LDFLAGS = -version-info 7:0:0 -no-undefined
libXaw7_la_LIBADD = $(XAW7_LIBS)
if !PLATFORM_WIN32
install-exec-hook::
if PLATFORM_DARWIN
-rm -f $(DESTDIR)$(libdir)/libXaw.7.@LIBEXT@
(cd $(DESTDIR)$(libdir) && ln -s libXaw7.7.@LIBEXT@ libXaw.7.@LIBEXT@)
else
-rm -f $(DESTDIR)$(libdir)/libXaw.@LIBEXT@.7
(cd $(DESTDIR)$(libdir) && ln -s libXaw7.@LIBEXT@.7 libXaw.@LIBEXT@.7)
endif
uninstall-local::
if PLATFORM_DARWIN
-rm -f $(DESTDIR)$(libdir)/libXaw.7.@LIBEXT@
else
-rm -f $(DESTDIR)$(libdir)/libXaw.@LIBEXT@.7
endif
endif
endif
EXTRA_DIST = sharedlib.c
|