$NetBSD: patch-ad,v 1.6 2001/06/26 03:14:12 christos Exp $ --- server-src/Makefile.in.orig Tue Apr 3 15:55:46 2001 +++ server-src/Makefile.in Mon Jun 25 22:49:20 2001 @@ -175,7 +175,7 @@ # routines, and second to pick up any references in the other libraries. ### -LDADD = ../common-src/libamanda.$(LIB_EXTENSION) libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) ../common-src/libamanda.$(LIB_EXTENSION) +LDADD = libamserver.$(LIB_EXTENSION) SUFFIXES = .sh .pl @@ -210,7 +210,7 @@ DEFS = @DEFS@ -I. -I$(srcdir) -I../config CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ +LIBS = @LIBS@ -lamtape -lamanda libamserver_a_LIBADD = libamserver_a_OBJECTS = amindex.$(OBJEXT) changer.$(OBJEXT) \ clock.$(OBJEXT) conffile.$(OBJEXT) diskfile.$(OBJEXT) \ @@ -232,131 +232,93 @@ diskfile_OBJECTS = diskfile.test.$(OBJEXT) diskfile_LDADD = $(LDADD) -diskfile_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +diskfile_DEPENDENCIES = libamserver.$(LIB_EXTENSION) diskfile_LDFLAGS = conffile_OBJECTS = conffile.test.$(OBJEXT) conffile_LDADD = $(LDADD) -conffile_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +conffile_DEPENDENCIES = libamserver.$(LIB_EXTENSION) conffile_LDFLAGS = infofile_OBJECTS = infofile.test.$(OBJEXT) infofile_LDADD = $(LDADD) -infofile_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +infofile_DEPENDENCIES = libamserver.$(LIB_EXTENSION) infofile_LDFLAGS = amindexd_OBJECTS = amindexd.$(OBJEXT) disk_history.$(OBJEXT) \ list_dir.$(OBJEXT) amindexd_LDADD = $(LDADD) -amindexd_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amindexd_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amindexd_LDFLAGS = amlogroll_SOURCES = amlogroll.c amlogroll_OBJECTS = amlogroll.$(OBJEXT) amlogroll_LDADD = $(LDADD) -amlogroll_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amlogroll_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amlogroll_LDFLAGS = amtrmidx_SOURCES = amtrmidx.c amtrmidx_OBJECTS = amtrmidx.$(OBJEXT) amtrmidx_LDADD = $(LDADD) -amtrmidx_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amtrmidx_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amtrmidx_LDFLAGS = amtrmlog_SOURCES = amtrmlog.c amtrmlog_OBJECTS = amtrmlog.$(OBJEXT) amtrmlog_LDADD = $(LDADD) -amtrmlog_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amtrmlog_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amtrmlog_LDFLAGS = driver_SOURCES = driver.c driver_OBJECTS = driver.$(OBJEXT) driver_LDADD = $(LDADD) -driver_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +driver_DEPENDENCIES = libamserver.$(LIB_EXTENSION) driver_LDFLAGS = dumper_SOURCES = dumper.c dumper_OBJECTS = dumper.$(OBJEXT) dumper_LDADD = $(LDADD) -dumper_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +dumper_DEPENDENCIES = libamserver.$(LIB_EXTENSION) dumper_LDFLAGS = planner_SOURCES = planner.c planner_OBJECTS = planner.$(OBJEXT) planner_LDADD = $(LDADD) -planner_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +planner_DEPENDENCIES = libamserver.$(LIB_EXTENSION) planner_LDFLAGS = taper_SOURCES = taper.c taper_OBJECTS = taper.$(OBJEXT) taper_LDADD = $(LDADD) -taper_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +taper_DEPENDENCIES = libamserver.$(LIB_EXTENSION) taper_LDFLAGS = amcleanupdisk_SOURCES = amcleanupdisk.c amcleanupdisk_OBJECTS = amcleanupdisk.$(OBJEXT) amcleanupdisk_LDADD = $(LDADD) -amcleanupdisk_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amcleanupdisk_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amcleanupdisk_LDFLAGS = amadmin_SOURCES = amadmin.c amadmin_OBJECTS = amadmin.$(OBJEXT) amadmin_LDADD = $(LDADD) -amadmin_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amadmin_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amadmin_LDFLAGS = amcheck_SOURCES = amcheck.c amcheck_OBJECTS = amcheck.$(OBJEXT) amcheck_LDADD = $(LDADD) -amcheck_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amcheck_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amcheck_LDFLAGS = amflush_SOURCES = amflush.c amflush_OBJECTS = amflush.$(OBJEXT) amflush_LDADD = $(LDADD) -amflush_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amflush_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amflush_LDFLAGS = amgetconf_OBJECTS = getconf.$(OBJEXT) amgetconf_LDADD = $(LDADD) -amgetconf_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amgetconf_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amgetconf_LDFLAGS = amlabel_SOURCES = amlabel.c amlabel_OBJECTS = amlabel.$(OBJEXT) amlabel_LDADD = $(LDADD) -amlabel_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amlabel_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amlabel_LDFLAGS = amtape_SOURCES = amtape.c amtape_OBJECTS = amtape.$(OBJEXT) amtape_LDADD = $(LDADD) -amtape_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amtape_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amtape_LDFLAGS = amreport_OBJECTS = reporter.$(OBJEXT) amreport_LDADD = $(LDADD) -amreport_DEPENDENCIES = ../common-src/libamanda.$(LIB_EXTENSION) \ -libamserver.$(LIB_EXTENSION) ../tape-src/libamtape.$(LIB_EXTENSION) \ -../common-src/libamanda.$(LIB_EXTENSION) +amreport_DEPENDENCIES = libamserver.$(LIB_EXTENSION) amreport_LDFLAGS = SCRIPTS = $(sbin_SCRIPTS)