| 1 |
# Makefile for include subdirectory. |
| 2 |
# |
| 3 |
# Copyright (C) 1996, 2002, 2010, 2012 Free Software Foundation, Inc. |
| 4 |
# Written by Michael I. Bushnell, p/BSG. |
| 5 |
# |
| 6 |
# This file is part of the GNU Hurd. |
| 7 |
# |
| 8 |
# The GNU Hurd is free software; you can redistribute it and/or |
| 9 |
# modify it under the terms of the GNU General Public License as |
| 10 |
# published by the Free Software Foundation; either version 2, or (at |
| 11 |
# your option) any later version. |
| 12 |
# |
| 13 |
# The GNU Hurd is distributed in the hope that it will be useful, but |
| 14 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 |
# General Public License for more details. |
| 17 |
# |
| 18 |
# You should have received a copy of the GNU General Public License |
| 19 |
# along with this program; if not, write to the Free Software |
| 20 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. |
| 21 |
|
| 22 |
dir := include |
| 23 |
makemode := misc |
| 24 |
|
| 25 |
installhdrs := sys/procfs.h |
| 26 |
|
| 27 |
include ../Makeconf |
| 28 |
|
| 29 |
install-headers install: $(installhdrs:%=$(DESTDIR)$(includedir)/%) |
| 30 |
$(DESTDIR)$(includedir)/%: $(srcdir)/% |
| 31 |
@$(MKINSTALLDIRS) $(@D) |
| 32 |
$(INSTALL_DATA) $< $@ |