blob: 526430a8ab915717eb19504b5e57d5318baf2f10 (
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
|
$NetBSD: patch-bb,v 1.3 2001/06/30 19:08:26 jlam Exp $
--- lib/Dt/Makefile.am.orig Wed May 9 16:41:21 2001
+++ lib/Dt/Makefile.am
@@ -5,7 +5,13 @@
MAINTAINERCLEANFILES=Makefile.in
libDtPrint_la_LDFLAGS= -version-info 1:0
+if Version_2_1
+if DefaultVersion21
+libdir = $(exec_prefix)/lib
+else
libdir = $(exec_prefix)/LessTif/Motif2.1/lib
+endif
+endif
if BuildLibDtPrint
@@ -15,7 +21,13 @@
# libDtPrint_la_LIBADD = @X_LIBS@ -lXt $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS)
+if Version_2_1
+if DefaultVersion21
+includedir= $(prefix)/include/Dt
+else
includedir= $(prefix)/LessTif/Motif2.1/include/Dt
+endif
+endif
include_DATA= Print.h
INCLUDES= -I$(top_srcdir)/lib \
@@ -37,25 +49,3 @@
EXTRA_DIST = Print.h DtPrintSetupBoxP.h \
DtPrintSetupBox.c DtPrintSetupData.c
-
-install-data-hook: libDtPrint.la
-if BuildLibDtPrint
-if LibtoolShared
- -rm -f $(DESTDIR)$(exec_prefix)/lib/libDtPrint.so.1*
- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libDtPrint.so.1* .)
-endif
-if DefaultVersion21
- -rm -f $(DESTDIR)$(exec_prefix)/lib/libDtPrint.la
- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libDtPrint.la .)
- if [ -d $(DESTDIR)$(prefix)/include/Dt ]; then rm -rf $(DESTDIR)$(prefix)/include/Dt; else rm -f $(DESTDIR)$(prefix)/include/Dt; fi
- (mkdir -p $(DESTDIR)$(prefix)/include && cd $(DESTDIR)$(prefix)/include && $(LN_S) ../LessTif/Motif2.1/include/Dt Dt)
-if LibtoolShared
- -rm -f $(DESTDIR)$(exec_prefix)/lib/libDtPrint.so
- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libDtPrint.so .)
-endif
-if LibtoolStatic
- -rm -f $(DESTDIR)$(exec_prefix)/lib/libDtPrint.a
- (cd $(DESTDIR)$(exec_prefix)/lib && $(LN_S) ../LessTif/Motif2.1/lib/libDtPrint.a .)
-endif
-endif
-endif
|