From 28b130459c170df9ca02fcfd52602bd08bf59803 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 11 Mar 2002 08:43:36 +0000 Subject: 2002-03-10 Roland McGrath * sys/procfs.h: New file, specifies ELF core file format details. * Makefile (installhdrs): New variable, list sys/procfs.h here. (LCLHDRS): New variable, replaces ... (DIST_FILES): ... this one, removed. (install-headers, $(includedir)/%: $(srcdir)/%): New target and pattern rule to install headers. --- include/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'include/Makefile') diff --git a/include/Makefile b/include/Makefile index f4113d99..d56f640f 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,5 +1,6 @@ -# -# Copyright (C) 1996 Free Software Foundation, Inc. +# Makefile for include subdirectory. +# +# Copyright (C) 1996,2002 Free Software Foundation, Inc. # Written by Michael I. Bushnell, p/BSG. # # This file is part of the GNU Hurd. @@ -21,7 +22,13 @@ dir := include makemode := misc -DIST_FILES = $(notdir $(wildcard $(srcdir)/*.h)) +installhdrs := sys/procfs.h + +LCLHDRS := $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/*.h $(srcdir)/*/*.h)) include ../Makeconf +install-headers: $(installhdrs:%=$(includedir)/%) +$(includedir)/%: $(srcdir)/% + @$(MKINSTALLDIRS) $(@D) + $(INSTALL_DATA) $< $@ -- cgit v1.2.3