Changeset 49ed8e7 in rtems for c/src/lib/include/Makefile.am


Ignore:
Timestamp:
Oct 16, 2001, 6:50:03 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8917506d
Parents:
14a67aa9
Message:

2001-10-16 Ralf Corsepius <corsepiu@…>

  • include/zilog/Makefile.am: Remove.
  • include/motorola/Makefile.am: Remove.
  • include/sys/Makefile.am: Remove.
  • include/rtems/Makefile.am: Remove.
  • include/Makefile.am: Handle subdirs, require automake-1.5
  • Makefile.am: Require automake-1.5.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/include/Makefile.am

    r14a67aa9 r49ed8e7  
    33##
    44
    5 AUTOMAKE_OPTIONS = foreign 1.4
     5AUTOMAKE_OPTIONS = foreign 1.5
    66
    77include_HEADERS = bspIo.h chain.h console.h clockdrv.h iosupp.h ringbuf.h rtc.h \
     
    1313$(PROJECT_INCLUDE):
    1414        @$(mkinstalldirs) $@
     15$(PROJECT_INCLUDE)/motorola:
     16        @$(mkinstalldirs) $@
     17$(PROJECT_INCLUDE)/rtems:
     18        @$(mkinstalldirs) $@
     19$(PROJECT_INCLUDE)/sys:
     20        @$(mkinstalldirs) $@
     21$(PROJECT_INCLUDE)/zilog:
     22        @$(mkinstalldirs) $@
     23
    1524$(PROJECT_INCLUDE)/%.h: %.h
    1625        $(INSTALL_DATA) $< $@
    1726
     27## motorola
     28
     29include_motoroladir = $(includedir)/motorola
     30
     31include_motorola_HEADERS = motorola/mc68230.h motorola/mc68681.h
     32
     33PREINSTALL_FILES += $(PROJECT_INCLUDE)/motorola \
     34    $(include_motorola_HEADERS:%=$(PROJECT_INCLUDE)/%)
     35
     36## rtems
     37include_rtemsdir = $(includedir)/rtems
     38
     39include_rtems_HEADERS = \
     40    rtems/assoc.h rtems/error.h rtems/libcsupport.h rtems/libio.h rtems/libio_.h \
     41    rtems/termiostypes.h
     42
     43PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
     44    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%)
     45
     46## sys
     47
     48include_sysdir = $(includedir)/sys
     49
     50if !HAS_NETWORKING
     51NETWORKING_H_FILES = sys/ioctl.h
     52endif
     53
     54if NEWLIB
     55NEWLIB_H_FILES = sys/termios.h sys/cdefs.h
     56endif
     57
     58include_sys_HEADERS = \
     59sys/ioccom.h \
     60sys/ttycom.h \
     61sys/utime.h \
     62$(NEWLIB_H_FILES) $(NETWORKING_H_FILES)
     63
     64PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \
     65    $(include_sys_HEADERS:%=$(PROJECT_INCLUDE)/%)
     66
     67## zilog
     68
     69include_zilogdir = $(includedir)/zilog
     70
     71include_zilog_HEADERS = zilog/z8036.h zilog/z8530.h zilog/z8536.h
     72
     73PREINSTALL_FILES += $(PROJECT_INCLUDE)/zilog \
     74    $(include_zilog_HEADERS:%=$(PROJECT_INCLUDE)/%)
     75
     76##  General stuff
    1877all-local: $(PREINSTALL_FILES)
    1978
    20 SUBDIRS = sys rtems motorola zilog
    21 
    22 include $(top_srcdir)/../../../automake/subdirs.am
    2379include $(top_srcdir)/../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.