summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: e3469ebe4ab6a0541174d2c33750ed2838f3dd61 (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
lib_LTLIBRARIES = libXaw3d.la

#
# 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

libXaw3d_la_SOURCES = \
	AllWidgets.c \
	AsciiSink.c \
	AsciiSrc.c \
	AsciiText.c \
	Box.c \
	Command.c \
	Dialog.c \
	Form.c \
	Grip.c \
	Label.c \
	Layout.c \
	List.c \
	MenuButton.c \
	MultiSink.c \
	MultiSrc.c \
	Paned.c \
	Panner.c \
	Porthole.c \
	Repeater.c \
	Scrollbar.c \
	sharedlib.c \
	Simple.c \
	SimpleMenu.c \
	SmeBSB.c \
	Sme.c \
	SmeLine.c \
	SmeThreeD.c \
	StripChart.c \
	Template.c \
	TextAction.c \
	Text.c \
	TextPop.c \
	TextSink.c \
	TextSrc.c \
	TextTr.c \
	ThreeD.c \
	Tip.c \
	Toggle.c \
	Tree.c \
	Vendor.c \
	Viewport.c \
	Xaw3dP.c \
	XawI18n.c \
	XawIm.c \
	XawInit.c

libXaw3d_la_CFLAGS = \
	$(CWARNFLAGS)

libXaw3d_la_CPPFLAGS = \
	-I${top_srcdir}/include \
	-I${top_srcdir}/include/X11/Xaw3d \
	-DPROJECT_ROOT=\"$(prefix)\"

libXaw3d_la_LDFLAGS = -version-info 8:0:0 -no-undefined

if !PLATFORM_WIN32
install-exec-hook::
if PLATFORM_DARWIN
	-rm -f $(DESTDIR)$(libdir)/libXaw3d.8.@LIBEXT@
	(cd $(DESTDIR)$(libdir) && ln -s libXaw3d.8.@LIBEXT@ libXaw3d.8.@LIBEXT@)
else
	-rm -f $(DESTDIR)$(libdir)/libXaw3d.@LIBEXT@.8
	(cd $(DESTDIR)$(libdir) && ln -s libXaw3d.@LIBEXT@.8 libXaw3d.@LIBEXT@.8)
endif

uninstall-local::
if PLATFORM_DARWIN
	-rm -f $(DESTDIR)$(libdir)/libXaw3d.8.@LIBEXT@
else
	-rm -f $(DESTDIR)$(libdir)/libXaw3d.@LIBEXT@.8
endif
endif

EXTRA_DIST = sharedlib.c