Ignore:
Timestamp:
Oct 16, 2001, 1:31:30 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
81d4759
Parents:
a11e5d35
Message:

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

  • include/rtems/Makefile.am: Remove.
  • include/rtems/rtems/Makefile.am: Remove.
  • include/Makefile.am: Handle subdirs, require automake-1.5.
  • inline/rtems/Makefile.am: Remove.
  • inline/rtems/rtems/Makefile.am: Remove.
  • inline/Makefile.am: Handle subdirs, require automake-1.5.
  • macros/rtems/Makefile.am: Remove.
  • macros/rtems/rtems/Makefile.am: Remove.
  • macros: Handle subdirs, require automake-1.5.
  • Makefile.am: require automake-1.5.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/include/Makefile.am

    ra11e5d35 rfc566251  
    33##
    44
    5 AUTOMAKE_OPTIONS = foreign 1.4
     5AUTOMAKE_OPTIONS = foreign 1.5
     6
     7$(PROJECT_INCLUDE)/%.h: %.h
     8        $(INSTALL_DATA) $< $@
    69
    710include_HEADERS = rtems.h
     11
     12$(PROJECT_INCLUDE):
     13        @$(mkinstalldirs) $@
    814
    915PREINSTALL_FILES = $(PROJECT_INCLUDE) \
    1016    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
    1117
    12 $(PROJECT_INCLUDE):
     18include_rtems_rtemsdir = $(includedir)/rtems/rtems
     19
     20$(PROJECT_INCLUDE)/rtems/rtems:
    1321        @$(mkinstalldirs) $@
    14 $(PROJECT_INCLUDE)/%.h: %.h
    15         $(INSTALL_DATA) $< $@
     22
     23## We only build multiprocessing related files if HAS_MP was defined
     24MP_H_FILES = rtems/rtems/eventmp.h rtems/rtems/mp.h rtems/rtems/msgmp.h \
     25    rtems/rtems/partmp.h rtems/rtems/regionmp.h rtems/rtems/semmp.h \
     26    rtems/rtems/signalmp.h rtems/rtems/taskmp.h
     27
     28STD_H_FILES = rtems/rtems/asr.h rtems/rtems/attr.h rtems/rtems/cache.h \
     29    rtems/rtems/clock.h rtems/rtems/config.h rtems/rtems/dpmem.h \
     30    rtems/rtems/event.h rtems/rtems/eventset.h rtems/rtems/intr.h \
     31    rtems/rtems/message.h rtems/rtems/modes.h rtems/rtems/options.h \
     32    rtems/rtems/part.h rtems/rtems/ratemon.h rtems/rtems/region.h \
     33    rtems/rtems/rtemsapi.h rtems/rtems/sem.h rtems/rtems/signal.h \
     34    rtems/rtems/status.h rtems/rtems/support.h rtems/rtems/tasks.h \
     35    rtems/rtems/timer.h rtems/rtems/types.h
     36
     37if HAS_MP
     38include_rtems_rtems_HEADERS = $(STD_H_FILES) $(MP_H_FILES)
     39else
     40include_rtems_rtems_HEADERS = $(STD_H_FILES)
     41endif
     42
     43PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems \
     44    $(include_rtems_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%)
    1645
    1746all-local: $(PREINSTALL_FILES)
    1847
    19 SUBDIRS = rtems
    20 
    21 include $(top_srcdir)/../../../automake/subdirs.am
    2248include $(top_srcdir)/../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.