2 # Kernel Makefile for the libsas helpers
 
   4 # Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
 
   5 # Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
 
   7 # This file is licensed under GPLv2.
 
   9 # This program is free software; you can redistribute it and/or
 
  10 # modify it under the terms of the GNU General Public License as
 
  11 # published by the Free Software Foundation; version 2 of the
 
  14 # This program is distributed in the hope that it will be useful,
 
  15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 
  16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
  17 # General Public License for more details.
 
  19 # You should have received a copy of the GNU General Public License
 
  20 # along with this program; if not, write to the Free Software
 
  21 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 
  24 ifeq ($(CONFIG_SCSI_SAS_LIBSAS_DEBUG),y)
 
  25         EXTRA_CFLAGS += -DSAS_DEBUG
 
  28 obj-$(CONFIG_SCSI_SAS_LIBSAS) += libsas.o
 
  29 libsas-y +=  sas_init.o     \
 
  38 libsas-$(CONFIG_SCSI_SAS_ATA) +=        sas_ata.o
 
  39 libsas-$(CONFIG_SCSI_SAS_HOST_SMP) +=   sas_host_smp.o