summaryrefslogtreecommitdiff
path: root/lib/libXaw/Makefile.am
blob: ef5fcc1b4cea70f29c1dfa8d8fb2359b83f0ec52 (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
SUBDIRS = include src man specs

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA =

if BUILD_XAW6

pkgconfig_DATA += xaw6.pc
if PLATFORM_DARWIN
DEFAULT_LIB = libXaw.6.@LIBEXT@
else
DEFAULT_LIB = libXaw6.@LIBEXT@
endif

endif

if BUILD_XAW7

pkgconfig_DATA += xaw7.pc
if PLATFORM_DARWIN
DEFAULT_LIB = libXaw.7.@LIBEXT@
else
DEFAULT_LIB = libXaw7.@LIBEXT@
endif

endif

MAINTAINERCLEANFILES = ChangeLog INSTALL
EXTRA_DIST = 		   \
        autogen.sh	   \
	old-doc/Changelog  \
	old-doc/CHANGES

#install-exec-hook:
#	cd $(DESTDIR)$(libdir) && rm -f libXaw.@LIBEXT@ && $(LN_S) $(DEFAULT_LIB) libXaw.@LIBEXT@

#uninstall-local:
#	-rm -f $(DESTDIR)$(libdir)/libXaw.@LIBEXT@


.PHONY: ChangeLog INSTALL

INSTALL:
	$(INSTALL_CMD)

ChangeLog:
	$(CHANGELOG_CMD)

dist-hook: ChangeLog INSTALL