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


Ignore:
Timestamp:
Dec 11, 2003, 6:22:34 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
cd05d03
Parents:
036b9e2
Message:

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

  • Makefile.am: Misc. fixes.
  • bsp.am: Add project_libdir.
File:
1 edited

Legend:

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

    r036b9e2 r72c9ccf  
    4242shmdr/$(ARCH)/%.$(OBJEXT): shmdr/%.c shmdr/$(ARCH)/$(dirstamp)
    4343        ${COMPILE} -o $@ -c $<
    44 shmdr/$(ARCH)/shmdr.rel: $(shmdr_OBJS)
     44shmdr/$(ARCH)/shmdr$(LIB_VARIANT).rel: $(shmdr_OBJS)
    4545        $(make-rel)
    4646
    47 $(PROJECT_RELEASE)/lib/shmdr$(LIB_VARIANT).rel: shmdr/$(ARCH)/shmdr.rel
    48         $(INSTALL_DATA) $< $@
     47if HAS_MP
     48include_HEADERS = shmdr/shm_driver.h shmdr/mpci.h
    4949
    50 if HAS_MP
    51 include_HEADERS = shmdir/shm_driver.h shmdir/mpci.h
    52 
    53 TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/shmdr$(LIB_VARIANT).rel
    54 
    55 all-local: $(PREINSTALL_FILES) shmdr/$(ARCH)/shmdr.rel $(TMPINSTALL_FILES)
     50all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     51project_lib_DATA = shmdr/$(ARCH)/shmdr$(LIB_VARIANT).rel
    5652endif
    57 
    58 .PRECIOUS: shmdr/$(ARCH)/shmdr.rel
    5953
    6054EXTRA_DIST += shmdr/README shmdr/addlq.c shmdr/cnvpkt.c shmdr/dump.c \
     
    7165
    7266if HAS_MP
    73 $(PROJECT_INCLUDE)/shm_driver.h: shmdir/shm_driver.h $(PROJECT_INCLUDE)/$(dirstamp)
     67$(PROJECT_INCLUDE)/shm_driver.h: shmdr/shm_driver.h $(PROJECT_INCLUDE)/$(dirstamp)
    7468        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/shm_driver.h
    7569PREINSTALL_FILES += $(PROJECT_INCLUDE)/shm_driver.h
    7670
    77 $(PROJECT_INCLUDE)/mpci.h: shmdir/mpci.h $(PROJECT_INCLUDE)/$(dirstamp)
     71$(PROJECT_INCLUDE)/mpci.h: shmdr/mpci.h $(PROJECT_INCLUDE)/$(dirstamp)
    7872        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpci.h
    7973PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpci.h
     74
     75${PROJECT_RELEASE}/lib/shmdr$(LIB_VARIANT).rel: shmdr/$(ARCH)/shmdr$(LIB_VARIANT).rel ${PROJECT_RELEASE}/lib/$(dirstamp)
     76        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/shmdr$(LIB_VARIANT).rel
     77TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/shmdr$(LIB_VARIANT).rel
    8078endif
    8179
Note: See TracChangeset for help on using the changeset viewer.