aboutsummaryrefslogtreecommitdiff
path: root/kernel/Makefile.am
blob: 72671c2b86900f14897c82b61ea903395428246a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
INCLUDES=-I/usr/src/linux/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) $<

install-data-local:
	$(mkinstalldirs) $(DESTDIR)@MODULE_PATH@
	$(INSTALL_PROGRAM) -m 644 mpio.o $(DESTDIR)@MODULE_PATH@

# install-strip:
# 	$(mkinstalldirs) $(DESTDIR)@MODULE_PATH@
# 	$(INSTALL_PROGRAM) -m 644 mpio.o $(DESTDIR)@MODULE_PATH@

# install:
# 	$(mkinstalldirs) $(DESTDIR)@MODULE_PATH@
# 	$(INSTALL_PROGRAM) -m 644 mpio.o $(DESTDIR)@MODULE_PATH@