X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=recover-src%2FMakefile.am;h=364f6dedbc6b784b8e52cab24657060f6fff4f35;hb=1194fb66aa28d9929c3f2bef3cc6c1c3f40a60a4;hp=042feba69cd943d5a8dd4fa89e9aaa967013ad06;hpb=2df780bff19c457b0debb7adc29972a0bc2a5dc2;p=debian%2Famanda diff --git a/recover-src/Makefile.am b/recover-src/Makefile.am index 042feba..364f6de 100644 --- a/recover-src/Makefile.am +++ b/recover-src/Makefile.am @@ -1,7 +1,9 @@ # Makefile for Amanda file recovery programs. -INCLUDES = -I$(top_srcdir)/common-src -I$(top_srcdir)/client-src \ - -I$(top_srcdir)/tape-src +INCLUDES = -I$(top_builddir)/common-src \ + -I$(top_srcdir)/common-src \ + -I$(top_srcdir)/client-src \ + -I$(top_srcdir)/tape-src LIB_EXTENSION = la @@ -20,8 +22,11 @@ endif LDADD = ../common-src/libamanda.$(LIB_EXTENSION) \ @LEXLIB@ \ - ../client-src/libamclient.$(LIB_EXTENSION) \ - ../common-src/libamanda.$(LIB_EXTENSION) \ + ../client-src/libamclient.$(LIB_EXTENSION) +if WANT_SERVER +LDADD += ../tape-src/libamtape.$(LIB_EXTENSION) +endif +LDADD += ../common-src/libamanda.$(LIB_EXTENSION) \ $(READLINE_LIBS) amrecover_SOURCES = amrecover.c \ @@ -47,4 +52,4 @@ install-exec-hook: # so that uscan.c is never generated before uparse.h # otherwise we might have makedepend problems -$(srcdir)/uscan.c: $(srcdir)/uparse.h +uscan.c: uparse.h