-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile.am
68 lines (56 loc) · 1.77 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
SUBDIRS = comedi include inc-wrap
EXTRA_DIST = autogen.sh \
AUTHORS \
dkms.conf \
README.md \
m4/as-linux.m4 \
m4/as-modtool.m4 \
m4/rtai.m4 \
m4/rtlinux.m4 \
Documentation/comedi/command \
Documentation/comedi/FAQ \
Documentation/comedi/notes/atmio_notes \
Documentation/comedi/notes/README \
Documentation/comedi/notes/boards \
Documentation/comedi/notes/regmaps \
Documentation/comedi/notes/testing \
Documentation/comedi/Hardware_Driver.HOWTO \
Documentation/comedi/counter-spec \
Documentation/comedi/hacks \
Documentation/comedi/insn_config \
Documentation/comedi/pci.ids \
Documentation/comedi/redhat-notes \
Documentation/comedi/drivers.txt \
Documentation/comedi/devices.txt \
scripts/check_driver \
scripts/check_cmdtest \
scripts/check_kernel \
scripts/call_trace \
scripts/doc_devlist \
scripts/dump_doc
ACLOCAL_AMFLAGS = -I m4
dev:
-for i in `seq 0 15`; do \
mknod -m 666 /dev/comedi$$i c 98 $$i \
; \
done;
.PHONY: dev
COMEDI_DRIVER_FILES := $(shell find $(srcdir)/comedi/drivers -name '*\.c' | grep -v mod\.c | sort)
Documentation/comedi/drivers.txt: $(COMEDI_DRIVER_FILES)
for each in $(COMEDI_DRIVER_FILES); do $(srcdir)/scripts/dump_doc $$each;\
done >$(srcdir)/Documentation/comedi/drivers.txt
Documentation/comedi/devices.txt: Documentation/comedi/drivers.txt
$(srcdir)/scripts/doc_devlist $(srcdir)/Documentation/comedi/drivers.txt | sort >\
$(srcdir)/Documentation/comedi/devices.txt
drivers.check: $(COMEDI_DRIVER_FILES)
for each in $(COMEDI_DRIVER_FILES);\
do $(srcdir)/scripts/check_driver $$each;done >drivers.check
drivers.summary: drivers.check
$(GREP) '^.:' drivers.check >drivers.summary
DISTCLEANFILES = modtool
install-data-hook:
@echo "***"
@echo "***"
@echo "*** Don't forget to run 'depmod -a'"
@echo "***"
@echo "***"