2 # Copyright (c) 2016 Intel Corporation
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 include Makefile.sources
18 ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
24 tests/third_party/json-c \
27 MAINTAINERCLEANFILES = ChangeLog INSTALL
29 AM_CPP_INCLUDES = -I$(top_srcdir) -Ipublic -Icommon/core -Icommon/utils -Icommon/compositor -Icommon/display -Ios/linux -Icommon/compositor/gl -Itests/common
30 AM_CPPFLAGS = -std=c++11 -DUSE_GL -DUDEV_SUPPORT -DUSE_MINIGBM -fPIC -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE
31 AM_CPPFLAGS += $(AM_CPP_INCLUDES) $(CWARNFLAGS) $(DRM_CFLAGS) $(DEBUG_CFLAGS) -Wformat -Wformat-security
33 libhwcomposer_la_LIBADD = \
41 libhwcomposer_la_LTLIBRARIES = libhwcomposer.la
42 libhwcomposer_la_SOURCES = $(common_SOURCES) $(gl_SOURCES)
43 libhwcomposer_ladir = $(libdir)
44 libhwcomposer_la_LDFLAGS = -version-number 0:0:1 -no-undefined -static
46 .PHONY: ChangeLog INSTALL
54 dist-hook: ChangeLog INSTALL