xref: /openbmc/linux/drivers/scsi/libsas/Makefile (revision ccb01374)
1#
2# Kernel Makefile for the libsas helpers
3#
4# Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
5# Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
6#
7# This file is licensed under GPLv2.
8#
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
12# License.
13#
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.
18#
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
22# USA
23
24obj-$(CONFIG_SCSI_SAS_LIBSAS) += libsas.o
25libsas-y +=  sas_init.o     \
26		sas_phy.o      \
27		sas_port.o     \
28		sas_event.o    \
29		sas_discover.o \
30		sas_expander.o \
31		sas_scsi_host.o \
32		sas_task.o
33libsas-$(CONFIG_SCSI_SAS_ATA) +=	sas_ata.o
34libsas-$(CONFIG_SCSI_SAS_HOST_SMP) +=	sas_host_smp.o
35
36ccflags-y := -DDEBUG
37