summaryrefslogtreecommitdiff
path: root/sysutils/amanda-server/patches/patch-af
blob: bf08590ec21e71beadd4ef79a05d780f4bf05636 (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
$NetBSD: patch-af,v 1.5 2004/05/12 18:45:26 bouyer Exp $

--- tape-src/Makefile.in.orig	2004-01-08 19:22:46.000000000 +0100
+++ tape-src/Makefile.in	2004-05-12 15:41:15.000000000 +0200
@@ -178,9 +178,7 @@
 # need to list libamanda twice here, first to override the system library
 # routines, and second to pick up any references in the other libraries.
 ###
-LDADD = ../common-src/libamanda.$(LIB_EXTENSION) \
-	libamtape.$(LIB_EXTENSION) \
-	../common-src/libamanda.$(LIB_EXTENSION)
+LDADD = libamtape.$(LIB_EXTENSION) -lamanda
 
 
 
@@ -202,9 +200,7 @@
 
 
 amtapeio_SOURCES = amtapeio.test.c
-amtapeio_LDADD = ../common-src/libamanda.$(LIB_EXTENSION) \
-			libamtape.$(LIB_EXTENSION) \
-			../common-src/libamanda.$(LIB_EXTENSION)
+amtapeio_LDADD = libamtape.$(LIB_EXTENSION) -lamanda
 
 subdir = tape-src
 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
@@ -223,29 +219,21 @@
 amdd_SOURCES = amdd.c
 amdd_OBJECTS = amdd.$(OBJEXT)
 amdd_LDADD = $(LDADD)
-amdd_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
-	libamtape.$(LIB_EXTENSION) \
-	../common-src/libamanda.$(LIB_EXTENSION)
+amdd_DEPENDENCIES = libamtape.$(LIB_EXTENSION) -lamanda
 amdd_LDFLAGS =
 ammt_SOURCES = ammt.c
 ammt_OBJECTS = ammt.$(OBJEXT)
 ammt_LDADD = $(LDADD)
-ammt_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
-	libamtape.$(LIB_EXTENSION) \
-	../common-src/libamanda.$(LIB_EXTENSION)
+ammt_DEPENDENCIES = libamtape.$(LIB_EXTENSION)
 ammt_LDFLAGS =
 am_amtapeio_OBJECTS = amtapeio.test.$(OBJEXT)
 amtapeio_OBJECTS = $(am_amtapeio_OBJECTS)
-amtapeio_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
-	libamtape.$(LIB_EXTENSION) \
-	../common-src/libamanda.$(LIB_EXTENSION)
+amtapeio_DEPENDENCIES = libamtape.$(LIB_EXTENSION)
 amtapeio_LDFLAGS =
 am_amtapetype_OBJECTS = tapetype.$(OBJEXT)
 amtapetype_OBJECTS = $(am_amtapetype_OBJECTS)
 amtapetype_LDADD = $(LDADD)
-amtapetype_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \
-	libamtape.$(LIB_EXTENSION) \
-	../common-src/libamanda.$(LIB_EXTENSION)
+amtapetype_DEPENDENCIES = libamtape.$(LIB_EXTENSION)
 amtapetype_LDFLAGS =
 
 DEFS = @DEFS@
@@ -469,7 +457,7 @@
 	done
 check-am: all-am
 check: check-am
-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
+all-am: Makefile $(PROGRAMS) $(HEADERS)
 
 installdirs:
 	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(sbindir)
@@ -519,7 +507,7 @@
 
 install-data-am:
 
-install-exec-am: install-libLTLIBRARIES install-sbinPROGRAMS
+install-exec-am: install-sbinPROGRAMS
 	@$(NORMAL_INSTALL)
 	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
 
@@ -538,7 +526,7 @@
 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
 	mostlyclean-libtool
 
-uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
+uninstall-am: uninstall-info-am \
 	uninstall-sbinPROGRAMS
 
 .PHONY: GTAGS all all-am check check-am clean clean-generic \