2c3f47a727
has become very trigger-happy with libc++ 9.0.0. It does not help that gcc's implementation of this warning is even more trigger-happy, in the sense that it already warns on the declaration itself, not when you are using it. This is very annoying with our use of -Wsystem-headers. That should really be disabled for gcc.
26 lines
450 B
Makefile
26 lines
450 B
Makefile
# $FreeBSD$
|
|
|
|
LIB_CXX= devdctl
|
|
INCS= consumer.h \
|
|
event.h \
|
|
event_factory.h \
|
|
exception.h \
|
|
guid.h
|
|
SRCS= consumer.cc \
|
|
event.cc \
|
|
event_factory.cc \
|
|
exception.cc \
|
|
guid.cc
|
|
|
|
INCSDIR= ${INCLUDEDIR}/devdctl
|
|
|
|
WARNS?= 3
|
|
PRIVATELIB= true
|
|
SHLIB_MAJOR= 0
|
|
|
|
# Silence warnings about usage of deprecated std::auto_ptr, and various
|
|
# deprecated function objects from <functional>
|
|
CXXWARNFLAGS+= -Wno-deprecated-declarations
|
|
|
|
.include <bsd.lib.mk>
|