From c37be1ab2480c43fdaec098f75ec5e25a65ceb59 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 27 Jul 2004 13:01:42 +0000 Subject: Make more parts optional --- cups/Makefile.am | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'cups/Makefile.am') diff --git a/cups/Makefile.am b/cups/Makefile.am index 42f3ac2f..c43cac54 100644 --- a/cups/Makefile.am +++ b/cups/Makefile.am @@ -2,17 +2,16 @@ # $Id$ # -noinst_PROGRAMS = bluetooth +if CUPS +cupsdir = $(libdir)/cups/backend + +cups_PROGRAMS = bluetooth bluetooth_SOURCES = main.c sdp.c spp.c hcrp.c -LIBS = @BLUEZ_LIBS@ +LDADD = @BLUEZ_LIBS@ AM_CFLAGS = @BLUEZ_CFLAGS@ +endif MAINTAINERCLEANFILES = Makefile.in - -if CUPS -install-data-local: bluetooth - $(INSTALL) -D -m 755 $(srcdir)/bluetooth $(DESTDIR)@CUPS_BACKEND_DIR@/bluetooth -endif -- cgit