-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
93 lines (63 loc) · 1.69 KB
/
Makefile.am
File metadata and controls
93 lines (63 loc) · 1.69 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# ./Makefile.am
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
bootstrap \
libevdevxx.pc.in \
README.md
SUBDIRS = \
. \
examples \
tools \
doc
libevdevxxdir = $(includedir)/libevdevxx
libevdevxx_HEADERS = \
include/libevdevxx/AbsInfo.hpp \
include/libevdevxx/basic_wrapper.hpp \
include/libevdevxx/Code.hpp \
include/libevdevxx/Device.hpp \
include/libevdevxx/evdevxx.hpp \
include/libevdevxx/Event.hpp \
include/libevdevxx/Grabber.hpp \
include/libevdevxx/NumberBase.hpp \
include/libevdevxx/Property.hpp \
include/libevdevxx/ReadFlag.hpp \
include/libevdevxx/ReadStatus.hpp \
include/libevdevxx/SyncError.hpp \
include/libevdevxx/Type.hpp \
include/libevdevxx/TypeCode.hpp \
include/libevdevxx/Uinput.hpp
AM_CXXFLAGS = -Wall -Wextra
AM_CPPFLAGS = \
-I$(srcdir)/include \
$(LIBEVDEV_CFLAGS)
lib_LTLIBRARIES = libevdevxx.la
libevdevxx_la_SOURCES = \
src/AbsInfo.cpp \
src/Code.cpp \
src/Device.cpp \
src/error.cpp \
src/error.hpp \
src/Event.cpp \
src/Grabber.cpp \
src/Property.cpp \
src/ReadFlag.cpp \
src/ReadStatus.cpp \
src/SyncError.cpp \
src/Type.cpp \
src/TypeCode.cpp \
src/Uinput.cpp \
src/utils.cpp \
src/utils.hpp
libevdevxx_la_LIBADD = $(LIBEVDEV_LIBS)
pcfiledir = $(pkgconfigdir)
pcfile_DATA = libevdevxx.pc
# Don't leave empty directories behind during uninstall
uninstall-hook:
-rmdir --ignore-fail-on-non-empty $(DESTDIR)$(libevdevxxdir)
.PHONY: company docs
company: compile_flags.txt
compile_flags.txt: Makefile
printf "%s" "$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)" | xargs -n1 | sort -u > compile_flags.txt
$(CPP) -xc++ /dev/null -E -Wp,-v 2>&1 | sed -n 's,^ ,-I,p' >> compile_flags.txt
docs:
$(MAKE) --directory doc