1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
INCLUDES=-I@KERNEL_INCLUDE@ KCFLAGS=-D__KERNEL__ -I$(INCLUDE) -Wall -Wstrict-prototypes -O2 \ -fomit-frame-pointer -pipe -DMODULE EXTRA_DIST=mpio.c all: mpio.o mpio.o: mpio.c $(CC) -c $(KCFLAGS) $(INCLUDES) $< clean: rm -f mpio.o distclean: rm -f mpio.o install-data-local: $(mkinstalldirs) $(DESTDIR)@MODULE_PATH@ $(INSTALL_SCRIPT) -m 644 mpio.o $(DESTDIR)@MODULE_PATH@