Dennis Kempin | bf37f5d | 2012-06-14 18:44:07 -0700 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | include common.mk |
| 6 | |
| 7 | install-header: CC_LIBRARY(src/libevdev.so.0) |
Mike Frysinger | 8aa734a | 2012-08-08 15:01:43 -0400 | [diff] [blame] | 8 | set -e; \ |
| 9 | for h in libevdev.h libevdev_event.h libevdev_mt.h libevdev_log.h; do \ |
| 10 | install -D -m 0644 $(SRC)/include/libevdev/$$h \ |
| 11 | $(DESTDIR)/usr/include/libevdev/$$h; \ |
| 12 | done |
Dennis Kempin | 0e26539 | 2013-02-22 12:59:03 -0800 | [diff] [blame] | 13 | |
| 14 | |
| 15 | setup-header-in-place: |
Dennis Kempin | 3629210 | 2013-02-26 11:19:14 -0800 | [diff] [blame] | 16 | mkdir -p $(SRC)/in-place || true |
| 17 | ln -sfn $(SRC)/include/libevdev $(SRC)/in-place/libevdev |