From d3795e3ea46cc288b973e170ad9027180260a933 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 5 Feb 2001 18:24:37 +0000 Subject: 2001-02-03 Ralf Corsepius * network/Makefile.am, rtc/Makefile.am, serial/Makefile.am: Apply include_*HEADERS instead of H_FILES, replace ${..} with $(..). --- c/src/libchip/rtc/Makefile.am | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'c/src/libchip/rtc/Makefile.am') diff --git a/c/src/libchip/rtc/Makefile.am b/c/src/libchip/rtc/Makefile.am index 2a5f8a50ec..9198ee3491 100644 --- a/c/src/libchip/rtc/Makefile.am +++ b/c/src/libchip/rtc/Makefile.am @@ -4,17 +4,18 @@ AUTOMAKE_OPTIONS = foreign 1.4 +include_libchipdir = $(includedir)/libchip + LIBNAME = librtcio -LIB = ${ARCH}/${LIBNAME}.a +LIB = $(ARCH)/$(LIBNAME).a C_FILES = rtcprobe.c icm7170.c icm7170_reg.c icm7170_reg2.c icm7170_reg4.c \ icm7170_reg8.c m48t08.c m48t08_reg.c m48t08_reg2.c m48t08_reg4.c \ m48t08_reg8.c -C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) +C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) -H_FILES = rtc.h icm7170.h m48t08.h -noinst_HEADERS = $(H_FILES) +include_libchip_HEADERS = rtc.h icm7170.h m48t08.h OBJS = $(C_O_FILES) @@ -23,7 +24,7 @@ include $(top_srcdir)/../../../automake/compile.am include $(top_srcdir)/../../../automake/lib.am PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip \ - $(noinst_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%) + $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%) TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a @@ -38,13 +39,13 @@ $(PROJECT_INCLUDE)/libchip/%.h: %.h AM_CFLAGS += $(LIBC_DEFINES) -$(LIB): ${OBJS} +$(LIB): $(OBJS) $(make-library) $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) $(INSTALL_DATA) $< $@ -all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES) +all-local: $(ARCH) $(PREINSTALL_FILES) $(TMPINSTALL_FILES) DOC_FILES = README.ds1643 README.icm7170 README.m48t08 README.m48t18 STATUS -- cgit v1.2.3