Changeset 5a550a3b in rtems for c/src/libchip/rtc


Ignore:
Timestamp:
Dec 1, 2003, 7:02:50 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
7ed1e747
Parents:
82bdc057
Message:

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

  • ide/Makefile.am: Use dirstamps for preinstallation. Reformat.
  • network/Makefile.am: Ditto.
  • rtc/Makefile.am: Ditto.
  • serial/Makefile.am: Ditto.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/rtc/Makefile.am

    r82bdc057 r5a550a3b  
    22## $Id$
    33##
    4 
    54
    65LIBNAME = librtcio
     
    1312OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    1413
    15 
    1614include $(top_srcdir)/automake/compile.am
    1715include $(top_srcdir)/automake/lib.am
    18 
    19 
    20 PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
    21     $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
    22 
    23 $(PROJECT_INCLUDE)/libchip:
    24         @$(mkinstalldirs) $@
    25 $(PROJECT_INCLUDE)/libchip/%.h: %.h
    26         $(INSTALL_DATA) $< $@
    2716
    2817#
     
    4332EXTRA_DIST = $(C_FILES) $(DOC_FILES)
    4433
     34PREINSTALL_FILES =
     35
     36if LIBCHIP
     37$(PROJECT_INCLUDE)/libchip/$(dirstamp):
     38        @$(mkinstalldirs) $(PROJECT_INCLUDE)/libchip
     39        @: > $(PROJECT_INCLUDE)/libchip/$(dirstamp)
     40PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/$(dirstamp)
     41
     42$(PROJECT_INCLUDE)/libchip/rtc.h: rtc.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
     43        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/rtc.h
     44PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/rtc.h
     45
     46$(PROJECT_INCLUDE)/libchip/icm7170.h: icm7170.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
     47        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/icm7170.h
     48PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/icm7170.h
     49
     50$(PROJECT_INCLUDE)/libchip/m48t08.h: m48t08.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
     51        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/m48t08.h
     52PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/m48t08.h
     53endif
     54
    4555include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.