Changeset 8956e27 in rtems for cpukit/rtems/Makefile.am


Ignore:
Timestamp:
Jan 14, 2004, 5:31:43 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
db44e38c
Parents:
8dbe311c
Message:

2004-01-14 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Re-add dirstamps to PREINSTALL_FILES. Add PREINSTALL_FILES to CLEANFILES.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/Makefile.am

    r8dbe311c r8956e27  
    55include $(top_srcdir)/automake/multilib.am
    66include $(top_srcdir)/automake/compile.am
     7
     8AM_CPPFLAGS += -I$(top_builddir)
     9AM_CPPFLAGS += -D__RTEMS_INSIDE__
     10
     11EXTRA_LIBRARIES = librtems.a
     12CLEANFILES = librtems.a
     13librtems_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     14
     15EXTRA_LIBRARIES += librtems_g.a
     16CLEANFILES += librtems_g.a
     17librtems_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    718
    819# include
     
    5869
    5970## src
    60 # We only build multiprocessing related files if HAS_MP was defined
    61 MP_C_FILES = src/eventmp.c src/mp.c src/msgmp.c src/partmp.c src/regionmp.c \
    62     src/semmp.c src/signalmp.c src/taskmp.c
     71librtems_a_SOURCES =
    6372
    6473TASK_C_FILES = src/tasks.c src/taskcreate.c src/taskdelete.c \
     
    108117    src/dpmeminternal2external.c
    109118
    110 STD_C_FILES = src/attr.c src/rtemsidtoname.c $(TASK_C_FILES) \
     119librtems_a_SOURCES += src/attr.c src/rtemsidtoname.c $(TASK_C_FILES) \
    111120    $(RATEMON_C_FILES) $(INTR_C_FILES) $(CLOCK_C_FILES) $(TIMER_C_FILES) \
    112121    $(SEMAPHORE_C_FILES) $(MESSAGE_QUEUE_C_FILES) $(EVENT_C_FILES) \
     
    115124
    116125if HAS_MP
    117 C_FILES = $(STD_C_FILES) $(MP_C_FILES)
    118 else
    119 C_FILES = $(STD_C_FILES)
     126# We only build multiprocessing related files if HAS_MP was defined
     127librtems_a_SOURCES += src/eventmp.c src/mp.c src/msgmp.c src/partmp.c \
     128    src/regionmp.c src/semmp.c src/signalmp.c src/taskmp.c
    120129endif
    121 
    122 AM_CPPFLAGS += -I$(top_builddir)
    123 AM_CPPFLAGS += -D__RTEMS_INSIDE__
    124 
    125 EXTRA_LIBRARIES = librtems.a
    126 CLEANFILES = librtems.a
    127 librtems_a_SOURCES = $(C_FILES)
    128 librtems_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    129 
    130 EXTRA_LIBRARIES += librtems_g.a
    131 CLEANFILES += librtems_g.a
    132130librtems_g_a_SOURCES = $(librtems_a_SOURCES)
    133 librtems_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    134131
    135132all-local: $(PREINSTALL_FILES) librtems$(LIB_VARIANT).a
    136 
    137 EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES)
    138133
    139134PREINSTALL_FILES =
     
    142137        @$(mkdir_p) $(PROJECT_INCLUDE)
    143138        @: > $(PROJECT_INCLUDE)/$(dirstamp)
     139PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
    144140
    145141$(PROJECT_INCLUDE)/rtems.h: include/rtems.h $(PROJECT_INCLUDE)/$(dirstamp)
     
    150146        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/rtems
    151147        @: > $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     148PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
    152149
    153150$(PROJECT_INCLUDE)/rtems/rtems/asr.h: include/rtems/rtems/asr.h $(PROJECT_INCLUDE)/rtems/rtems/$(dirstamp)
     
    408405endif
    409406
     407CLEANFILES += $(PREINSTALL_FILES)
     408
    410409include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.