Ignore:
Timestamp:
05/31/00 22:31:26 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
fd16f5b5
Parents:
322c894
Message:

Distributed the preinstall of the header files to the directories
owning the header files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libnetworking/sys/Makefile.am

    r322c894 re89694e  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 EXTRA_DIST = buf.h callout.h cdefs.h conf.h domain.h filio.h ioccom.h \
     7H_FILES = buf.h callout.h cdefs.h conf.h domain.h filio.h ioccom.h \
    88    ioctl.h kernel.h libkern.h malloc.h mbuf.h mount.h param.h proc.h \
    99    protosw.h queue.h reboot.h resourcevar.h rtprio.h select.h signalvar.h \
     
    1111    ttycom.h ttydefaults.h ucred.h uio.h un.h
    1212
     13noinst_HEADERS = $(H_FILES)
     14
     15PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys $(H_FILES:%=$(PROJECT_INCLUDE)/sys/%)
     16
     17$(PROJECT_INCLUDE)/sys:
     18        @$(mkinstalldirs) $@
     19
     20$(PROJECT_INCLUDE)/sys/%.h: %.h
     21        $(INSTALL_DATA) $< $@
     22
     23all-local: $(PREINSTALL_FILES)
     24
    1325include $(top_srcdir)/../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.