| 12345678910111213141516171819202122 | 
							- # If KERNELRELEASE is defined, we've been invoked from the
 
- # kernel build system and can use its language.
 
- ifneq ($(KERNELRELEASE),)
 
- 	obj-m := graphene-ipc.o
 
- # Otherwise we were called directly from the command
 
- # line; invoke the kernel build system.
 
- else
 
- 	KERNELDIR ?= /lib/modules/$(shell uname -r)/build
 
- 	PWD := $(shell pwd)
 
- .PHONY: default
 
- default:
 
- 	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
 
- graphene-ipc.i: graphene-ipc.c
 
- 	$(MAKE) -C $(KERNELDIR) M=$(PWD) $@
 
- .PHONY: clean
 
- clean:
 
- 	$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
 
- endif
 
 
  |