1 |
# |
# Makefile for include subdirectory. |
2 |
# Copyright (C) 1996 Free Software Foundation, Inc. |
# |
3 |
|
# Copyright (C) 1996,2002 Free Software Foundation, Inc. |
4 |
# Written by Michael I. Bushnell, p/BSG. |
# Written by Michael I. Bushnell, p/BSG. |
5 |
# |
# |
6 |
# This file is part of the GNU Hurd. |
# This file is part of the GNU Hurd. |
22 |
dir := include |
dir := include |
23 |
makemode := misc |
makemode := misc |
24 |
|
|
25 |
DIST_FILES = $(notdir $(wildcard $(srcdir)/*.h)) |
installhdrs := sys/procfs.h |
26 |
|
|
27 |
|
LCLHDRS := $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/*.h $(srcdir)/*/*.h)) |
28 |
|
|
29 |
include ../Makeconf |
include ../Makeconf |
30 |
|
|
31 |
|
install-headers: $(installhdrs:%=$(includedir)/%) |
32 |
|
$(includedir)/%: $(srcdir)/% |
33 |
|
@$(MKINSTALLDIRS) $(@D) |
34 |
|
$(INSTALL_DATA) $< $@ |