OSDN Git Service

Separate code for finishing commit and handling requests.
[android-x86/external-IA-Hardware-Composer.git] / Makefile.am
1 #
2 # Copyright (c) 2016 Intel Corporation
3 #
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
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
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.
15
16 include Makefile.sources
17
18 ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
19
20 AM_MAKEFLAGS = -s
21
22 SUBDIRS = \
23         . \
24         tests/third_party/json-c \
25         tests
26
27 MAINTAINERCLEANFILES = ChangeLog INSTALL
28
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
32
33 libhwcomposer_la_LIBADD = \
34         $(DRM_LIBS) \
35         $(GBM_LIBS) \
36         $(EGL_LIBS) \
37         $(GLES2_LIBS) \
38         -ludev \
39         -lm
40
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
45
46 .PHONY: ChangeLog INSTALL
47
48 INSTALL:
49         $(INSTALL_CMD)
50
51 ChangeLog:
52         $(CHANGELOG_CMD)
53
54 dist-hook: ChangeLog INSTALL