xref: /openbmc/linux/drivers/isdn/capi/Makefile (revision b23bf21f)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for the CAPI subsystem.
3
4# Ordering constraints: kernelcapi.o first
5
6# Each configuration option enables a list of files.
7
8obj-$(CONFIG_ISDN_CAPI)			+= kernelcapi.o
9obj-$(CONFIG_ISDN_CAPI_CAPI20)		+= capi.o
10obj-$(CONFIG_ISDN_CAPI_CAPIDRV)		+= capidrv.o
11
12# Multipart objects.
13
14kernelcapi-y				:= kcapi.o capiutil.o capilib.o
15kernelcapi-$(CONFIG_PROC_FS)		+= kcapi_proc.o
16
17ccflags-y += -I$(srctree)/$(src)/../include -I$(srctree)/$(src)/../include/uapi
18