2 # Copyright (c) 2017 TOYOTA MOTOR 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.
18 TARGET = qtHomeScreenWrapper
20 HEADERS = qlibhomescreen.h
21 SOURCES = qlibhomescreen.cpp
23 headers.path = /usr/include
24 headers.file = qlibhomescreen.h
26 target.path = /usr/lib
28 CONFIG += link_pkgconfig create_pc create_prl no_install_prl
30 PKGCONFIG += libhomescreen
32 QMAKE_PKGCONFIG_NAME = qlibhomescreen
33 QMAKE_PKGCONFIG_FILE = $${QMAKE_PKGCONFIG_NAME}
34 QMAKE_PKGCONFIG_VERSION = $${VERSION}
35 QMAKE_PKGCONFIG_DESCRIPTION = A wrapper interface for libhomescreen for Qt
36 QMAKE_PKGCONFIG_LIBDIR = ${prefix}/lib
37 QMAKE_PKGCONFIG_INCDIR = ${prefix}/include
38 QMAKE_PKGCONFIG_REQUIRES = libhomescreen
39 QMAKE_PKGCONFIG_DESTDIR = pkgconfig
41 INSTALLS += target headers