xref: /linux/drivers/scsi/libsas/Makefile (revision 2908d778ab3e244900c310974e1fc1c69066e450)
1*2908d778SJames Bottomley#
2*2908d778SJames Bottomley# Kernel Makefile for the libsas helpers
3*2908d778SJames Bottomley#
4*2908d778SJames Bottomley# Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
5*2908d778SJames Bottomley# Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
6*2908d778SJames Bottomley#
7*2908d778SJames Bottomley# This file is licensed under GPLv2.
8*2908d778SJames Bottomley#
9*2908d778SJames Bottomley# This program is free software; you can redistribute it and/or
10*2908d778SJames Bottomley# modify it under the terms of the GNU General Public License as
11*2908d778SJames Bottomley# published by the Free Software Foundation; version 2 of the
12*2908d778SJames Bottomley# License.
13*2908d778SJames Bottomley#
14*2908d778SJames Bottomley# This program is distributed in the hope that it will be useful,
15*2908d778SJames Bottomley# but WITHOUT ANY WARRANTY; without even the implied warranty of
16*2908d778SJames Bottomley# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17*2908d778SJames Bottomley# General Public License for more details.
18*2908d778SJames Bottomley#
19*2908d778SJames Bottomley# You should have received a copy of the GNU General Public License
20*2908d778SJames Bottomley# along with this program; if not, write to the Free Software
21*2908d778SJames Bottomley# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22*2908d778SJames Bottomley# USA
23*2908d778SJames Bottomley
24*2908d778SJames Bottomleyifeq ($(CONFIG_SCSI_SAS_LIBSAS_DEBUG),y)
25*2908d778SJames Bottomley	EXTRA_CFLAGS += -DSAS_DEBUG
26*2908d778SJames Bottomleyendif
27*2908d778SJames Bottomley
28*2908d778SJames Bottomleyobj-$(CONFIG_SCSI_SAS_LIBSAS) += libsas.o
29*2908d778SJames Bottomleylibsas-y +=  sas_init.o     \
30*2908d778SJames Bottomley		sas_phy.o      \
31*2908d778SJames Bottomley		sas_port.o     \
32*2908d778SJames Bottomley		sas_event.o    \
33*2908d778SJames Bottomley		sas_dump.o     \
34*2908d778SJames Bottomley		sas_discover.o \
35*2908d778SJames Bottomley		sas_expander.o \
36*2908d778SJames Bottomley		sas_scsi_host.o
37