Changeset bb37d32 in rtems for c/src/lib/libbsp/Makefile.am


Ignore:
Timestamp:
Dec 18, 2003, 11:12:29 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e98048e6
Parents:
ab21e14
Message:

2003-12-18 Ralf Corsepius <corsepiu@…>

  • bspstart.am: Use .$(OBJEXT) instead of .o.
  • Makefile.am: Remove shmdr.
File:
1 edited

Legend:

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

    rab21e14 rbb37d32  
    55include $(top_srcdir)/automake/compile.am
    66include $(top_srcdir)/automake/lib.am
    7 
    8 # If we are building a "real" BSP, then we need to descend into the
    9 # appropriate CPU specific directory.  The bare BSP is a special
    10 # case which can be built for any CPU and it resides at the same
    11 # level as the CPUs.  If we are building the bare BSP, then descend
    12 # into that directory.
    137
    148SUBDIRS = @libbsp_cpu_subdir@
     
    2721EXTRA_DIST += shared/gdbstub/rtems-stub-glue.c
    2822
    29 # shmdr
    30 shmdr_C_FILES = shmdr/addlq.c shmdr/cnvpkt.c shmdr/getlq.c shmdr/dump.c \
    31     shmdr/fatal.c shmdr/getpkt.c shmdr/init.c shmdr/initlq.c shmdr/intr.c \
    32     shmdr/mpisr.c shmdr/poll.c shmdr/receive.c shmdr/retpkt.c shmdr/send.c \
    33     shmdr/setckvec.c
    34 shmdr_OBJS = $(shmdr_C_FILES:shmdr/%.c=shmdr/$(ARCH)/%.$(OBJEXT))
    35 
    36 # the .rel file built here will be put into libbsp.a by
    37 #   ../$(RTEMS_BSP_FAMILY)/wrapup/Makefile
    38 
    39 shmdr/$(ARCH)/$(dirstamp):
    40         @$(mkdir_p) shmdr/$(ARCH)
    41         @: > shmdr/$(ARCH)/$(dirstamp)
    42 shmdr/$(ARCH)/%.$(OBJEXT): shmdr/%.c shmdr/$(ARCH)/$(dirstamp)
    43         ${COMPILE} -o $@ -c $<
    44 shmdr/$(ARCH)/shmdr$(LIB_VARIANT).rel: $(shmdr_OBJS)
    45         $(make-rel)
    46 
    47 if HAS_MP
    48 include_HEADERS = shmdr/shm_driver.h shmdr/mpci.h
    49 
    50 all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
    51 project_lib_DATA = shmdr/$(ARCH)/shmdr$(LIB_VARIANT).rel
    52 endif
    53 
    54 EXTRA_DIST += shmdr/README shmdr/addlq.c shmdr/cnvpkt.c shmdr/dump.c \
    55     shmdr/fatal.c shmdr/getlq.c shmdr/getpkt.c shmdr/init.c shmdr/initlq.c \
    56     shmdr/intr.c shmdr/mpisr.c shmdr/poll.c shmdr/receive.c shmdr/retpkt.c \
    57     shmdr/send.c shmdr/setckvec.c
    58 
    59 PREINSTALL_FILES =
    60 
    61 $(PROJECT_INCLUDE)/$(dirstamp):
    62         @$(mkdir_p) $(PROJECT_INCLUDE)
    63         @: > $(PROJECT_INCLUDE)/$(dirstamp)
    64 
    65 $(PROJECT_LIB)/$(dirstamp):
    66         @$(mkdir_p) $(PROJECT_LIB)
    67         @: > $(PROJECT_LIB)/$(dirstamp)
    68 
    69 if HAS_MP
    70 $(PROJECT_INCLUDE)/shm_driver.h: shmdr/shm_driver.h $(PROJECT_INCLUDE)/$(dirstamp)
    71         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/shm_driver.h
    72 PREINSTALL_FILES += $(PROJECT_INCLUDE)/shm_driver.h
    73 
    74 $(PROJECT_INCLUDE)/mpci.h: shmdr/mpci.h $(PROJECT_INCLUDE)/$(dirstamp)
    75         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpci.h
    76 PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpci.h
    77 
    78 $(PROJECT_LIB)/shmdr$(LIB_VARIANT).rel: shmdr/$(ARCH)/shmdr$(LIB_VARIANT).rel $(PROJECT_LIB)/$(dirstamp)
    79         $(INSTALL_DATA) $< $(PROJECT_LIB)/shmdr$(LIB_VARIANT).rel
    80 TMPINSTALL_FILES += $(PROJECT_LIB)/shmdr$(LIB_VARIANT).rel
    81 endif
    82 
    8323include $(top_srcdir)/automake/subdirs.am
    8424include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.