# # Makefile for the Linux DMAPI routines. # # Note! Dependencies are done automagically by 'make dep', which also # removes any old dependencies. DON'T put your own dependencies here # unless it's something special (ie not a .c file). # #CFLAGS := $(filter-out -Wall,$(CFLAGS)) # EXTRA_MKDEP_OPTIONS = -v EXTRA_FIND_DIRECTORIES = EXTRA_INCLUDE_DIRECTORIES = -I. -I../linux -I../pseudo-inc -I.. EXTRA_CFLAGS += -g3 -Wno-unused -Wno-parentheses \ -Wno-uninitialized ${EXTRA_INCLUDE_DIRECTORIES} -D_KERNEL \ -funsigned-char #EXTRA_CFLAGS += $(shell if $(CC) -Wno-unknown-pragmas -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-Wno-unknown-pragmas"; fi) # EXTRA_CFLAGS += -DDEBUG -DXFSDEBUG O_TARGET := dmapi.o O_OBJS := dmapi_sysent.o \ dmapi_attr.o \ dmapi_config.o \ dmapi_bulkattr.o \ dmapi_dmattr.o \ dmapi_event.o \ dmapi_handle.o \ dmapi_hole.o \ dmapi_io.o \ dmapi_mountinfo.o \ dmapi_region.o \ dmapi_register.o \ dmapi_right.o \ dmapi_session.o include $(TOPDIR)/Rules.make ifneq ($(wildcard .hdepend),) include .hdepend endif