Changeset efdcf8d7 in rtems


Ignore:
Timestamp:
Dec 9, 2002, 6:39:28 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1fd4e20
Parents:
89e9cc4
Message:

2002-12-09 Ralf Corsepius <corsepiu@…>

  • include/Makefile.am: Remove.
  • inline/Makefile.am: Remove.
  • macros/Makefile.am: Remove.
  • src/Makefile.am: Remove.
  • Makefile.am: Merge-in removed Makefile.ams.
Location:
cpukit/rtems
Files:
4 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/ChangeLog

    r89e9cc4 refdcf8d7  
     12002-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * include/Makefile.am: Remove.
     4        * inline/Makefile.am: Remove.
     5        * macros/Makefile.am: Remove.
     6        * src/Makefile.am: Remove.
     7        * Makefile.am: Merge-in removed Makefile.ams.
     8
    192002-12-02      Joel Sherrill <joel@OARcorp.com>
    210
  • cpukit/rtems/Makefile.am

    r89e9cc4 refdcf8d7  
    33##
    44
     5include $(top_srcdir)/automake/multilib.am
     6include $(top_srcdir)/automake/compile.am
     7include $(top_srcdir)/automake/lib.am
    58
    6 SUBDIRS = include inline macros src
     9$(PROJECT_INCLUDE):
     10        @$(mkinstalldirs) $@
     11$(PROJECT_INCLUDE)/rtems/rtems:
     12        @$(mkinstalldirs) $@
    713
    8 include $(top_srcdir)/automake/subdirs.am
     14$(PROJECT_INCLUDE)/%.h: include/%.h
     15        $(INSTALL_DATA) $< $@
     16$(PROJECT_INCLUDE)/%.inl: $(INLINEdir)/%.inl
     17        $(INSTALL_DATA) $< $@
     18
     19PREINSTALL_FILES = $(PROJECT_INCLUDE)
     20
     21# include
     22
     23include_HEADERS = include/rtems.h
     24
     25PREINSTALL_FILES += $(include_HEADERS:include/%.h=$(PROJECT_INCLUDE)/%.h)
     26
     27# include/rtems/rtems
     28include_rtems_rtemsdir = $(includedir)/rtems/rtems
     29PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems
     30
     31include_H_FILES = include/rtems/rtems/asr.h include/rtems/rtems/attr.h include/rtems/rtems/cache.h \
     32    include/rtems/rtems/clock.h include/rtems/rtems/config.h include/rtems/rtems/dpmem.h \
     33    include/rtems/rtems/event.h include/rtems/rtems/eventset.h include/rtems/rtems/intr.h \
     34    include/rtems/rtems/message.h include/rtems/rtems/modes.h include/rtems/rtems/options.h \
     35    include/rtems/rtems/part.h include/rtems/rtems/ratemon.h include/rtems/rtems/region.h \
     36    include/rtems/rtems/rtemsapi.h include/rtems/rtems/sem.h include/rtems/rtems/signal.h \
     37    include/rtems/rtems/status.h include/rtems/rtems/support.h include/rtems/rtems/tasks.h \
     38    include/rtems/rtems/timer.h include/rtems/rtems/types.h
     39PREINSTALL_FILES += $(include_H_FILES:include/%=$(PROJECT_INCLUDE)/%)
     40include_rtems_rtems_HEADERS = $(include_H_FILES)
     41
     42## We only build multiprocessing related files if HAS_MP was defined
     43include_MP_H_FILES = include/rtems/rtems/eventmp.h include/rtems/rtems/mp.h include/rtems/rtems/msgmp.h \
     44    include/rtems/rtems/partmp.h include/rtems/rtems/regionmp.h include/rtems/rtems/semmp.h \
     45    include/rtems/rtems/signalmp.h include/rtems/rtems/taskmp.h
     46if HAS_MP
     47PREINSTALL_FILES += $(include_MP_H_FILES:include/%=$(PROJECT_INCLUDE)/%)
     48include_rtems_rtems_HEADERS += $(include_MP_H_FILES)
     49endif
     50noinst_HEADERS = $(include_MP_H_FILES)
     51
     52## macros
     53
     54macro_H_FILES = macros/rtems/rtems/asr.inl macros/rtems/rtems/attr.inl \
     55    macros/rtems/rtems/dpmem.inl macros/rtems/rtems/event.inl macros/rtems/rtems/eventset.inl \
     56    macros/rtems/rtems/message.inl macros/rtems/rtems/modes.inl macros/rtems/rtems/options.inl \
     57    macros/rtems/rtems/part.inl macros/rtems/rtems/ratemon.inl macros/rtems/rtems/region.inl \
     58    macros/rtems/rtems/sem.inl macros/rtems/rtems/status.inl macros/rtems/rtems/support.inl \
     59    macros/rtems/rtems/tasks.inl macros/rtems/rtems/timer.inl
     60noinst_HEADERS += $(macro_H_FILES)
     61
     62if MACROS
     63PREINSTALL_FILES += $(macro_H_FILES:macros/%.inl=$(PROJECT_INCLUDE)/%.inl)
     64include_rtems_rtems_HEADERS += $(macro_H_FILES)
     65endif
     66
     67## inline
     68
     69inline_H_FILES = inline/rtems/rtems/asr.inl inline/rtems/rtems/attr.inl \
     70    inline/rtems/rtems/dpmem.inl inline/rtems/rtems/event.inl inline/rtems/rtems/eventset.inl \
     71    inline/rtems/rtems/message.inl inline/rtems/rtems/modes.inl inline/rtems/rtems/options.inl \
     72    inline/rtems/rtems/part.inl inline/rtems/rtems/ratemon.inl inline/rtems/rtems/region.inl \
     73    inline/rtems/rtems/sem.inl inline/rtems/rtems/status.inl inline/rtems/rtems/support.inl \
     74    inline/rtems/rtems/tasks.inl inline/rtems/rtems/timer.inl
     75
     76if INLINE
     77PREINSTALL_FILES += $(inline_H_FILES:inline/%.inl=$(PROJECT_INCLUDE)/%.inl)
     78include_rtems_rtems_HEADERS += $(inline_H_FILES)
     79endif
     80noinst_HEADERS += $(inline_H_FILES)
     81
     82## src
     83LIB = $(ARCH)/librtems.a
     84
     85# We only build multiprocessing related files if HAS_MP was defined
     86MP_C_FILES = src/eventmp.c src/mp.c src/msgmp.c src/partmp.c src/regionmp.c \
     87    src/semmp.c src/signalmp.c src/taskmp.c
     88
     89TASK_C_FILES = src/tasks.c src/taskcreate.c src/taskdelete.c src/taskgetnote.c src/taskident.c \
     90    src/taskinitusers.c src/taskissuspended.c src/taskmode.c src/taskrestart.c src/taskresume.c \
     91    src/tasksetnote.c src/tasksetpriority.c src/taskstart.c src/tasksuspend.c \
     92    src/taskwakeafter.c src/taskwakewhen.c src/taskvariableadd.c src/taskvariabledelete.c \
     93    src/taskvariableget.c
     94
     95RATEMON_C_FILES = src/ratemon.c src/ratemoncancel.c src/ratemoncreate.c src/ratemondelete.c \
     96    src/ratemongetstatus.c src/ratemonident.c src/ratemonperiod.c src/ratemontimeout.c
     97
     98INTR_C_FILES = src/intr.c src/intrbody.c src/intrcatch.c
     99
     100CLOCK_C_FILES = src/rtclock.c src/clockget.c src/clockset.c src/clocktick.c
     101
     102TIMER_C_FILES = src/rtemstimer.c src/timercancel.c src/timercreate.c src/timerdelete.c \
     103    src/timerfireafter.c src/timerfirewhen.c src/timergetinfo.c src/timerident.c src/timerreset.c \
     104    src/timerserver.c src/timerserverfireafter.c src/timerserverfirewhen.c
     105
     106MESSAGE_QUEUE_C_FILES = src/msg.c src/msgqallocate.c src/msgqbroadcast.c src/msgqcreate.c \
     107    src/msgqdelete.c src/msgqflush.c src/msgqgetnumberpending.c src/msgqident.c \
     108    src/msgqreceive.c src/msgqsend.c src/msgqsubmit.c src/msgqtranslatereturncode.c \
     109    src/msgqurgent.c
     110
     111SEMAPHORE_C_FILES = src/sem.c src/semcreate.c src/semdelete.c src/semident.c src/semobtain.c \
     112    src/semrelease.c src/semflush.c src/semtranslatereturncode.c
     113
     114EVENT_C_FILES = src/event.c src/eventreceive.c src/eventseize.c src/eventsend.c \
     115    src/eventsurrender.c src/eventtimeout.c
     116
     117SIGNAL_C_FILES = src/signal.c src/signalcatch.c src/signalsend.c
     118
     119REGION_C_FILES = src/region.c src/regioncreate.c src/regiondelete.c src/regionextend.c \
     120    src/regiongetsegment.c src/regiongetsegmentsize.c src/regionident.c \
     121    src/regionreturnsegment.c src/regiongetinfo.c
     122
     123PARTITION_C_FILES = src/part.c src/partcreate.c src/partdelete.c src/partgetbuffer.c \
     124    src/partident.c src/partreturnbuffer.c
     125
     126DPMEM_C_FILES = src/dpmem.c src/dpmemcreate.c src/dpmemdelete.c src/dpmemexternal2internal.c \
     127    src/dpmemident.c src/dpmeminternal2external.c
     128
     129STD_C_FILES = src/attr.c $(TASK_C_FILES) $(RATEMON_C_FILES) $(INTR_C_FILES) \
     130    $(CLOCK_C_FILES) $(TIMER_C_FILES) $(SEMAPHORE_C_FILES) \
     131    $(MESSAGE_QUEUE_C_FILES) $(EVENT_C_FILES) $(SIGNAL_C_FILES) \
     132    $(PARTITION_C_FILES) $(REGION_C_FILES) $(DPMEM_C_FILES)
     133
     134if HAS_MP
     135C_FILES = $(STD_C_FILES) $(MP_C_FILES)
     136else
     137C_FILES = $(STD_C_FILES)
     138endif
     139
     140OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
     141
     142#
     143# Add local stuff here using +=
     144#
     145
     146AM_CPPFLAGS += -D__RTEMS_INSIDE__
     147
     148all-local: ${ARCH} $(PREINSTALL_FILES) $(LIB)
     149
     150${ARCH}/%.o: src/%.c
     151        test -d $(ARCH) || mkdir $(ARCH)
     152        ${COMPILE} -o $@ -c $<
     153
     154$(LIB): ${OBJS}
     155        $(make-library)
     156
     157EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES)
     158
    9159include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.