4.104.114.84.95
Last change
on this file since 1070c61 was
1070c61,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:33:02
|
2000-09-04 Ralf Corsepius <corsepiu@…>
- network/Makefile.am, rtc/Makefile.am, serial/Makefile.am:
Include compile.am.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[9608320] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
| 4 | |
---|
| 5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
| 6 | |
---|
| 7 | LIBNAME = librtcio |
---|
| 8 | LIB = ${ARCH}/${LIBNAME}.a |
---|
| 9 | |
---|
| 10 | C_FILES = rtcprobe.c icm7170.c icm7170_reg.c icm7170_reg2.c icm7170_reg4.c \ |
---|
[df49c60] | 11 | icm7170_reg8.c m48t08.c m48t08_reg.c m48t08_reg2.c m48t08_reg4.c \ |
---|
| 12 | m48t08_reg8.c |
---|
[9608320] | 13 | |
---|
| 14 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) |
---|
| 15 | |
---|
| 16 | H_FILES = rtc.h icm7170.h m48t08.h |
---|
| 17 | noinst_HEADERS = $(H_FILES) |
---|
| 18 | |
---|
| 19 | OBJS = $(C_O_FILES) |
---|
| 20 | |
---|
| 21 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
[1070c61] | 22 | include $(top_srcdir)/../../../automake/compile.am |
---|
[9f4868c] | 23 | include $(top_srcdir)/../../../automake/lib.am |
---|
[9608320] | 24 | |
---|
[df49c60] | 25 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip \ |
---|
| 26 | $(noinst_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%) |
---|
[9608320] | 27 | |
---|
[df49c60] | 28 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a |
---|
[9608320] | 29 | |
---|
| 30 | $(PROJECT_INCLUDE)/libchip: |
---|
| 31 | @$(mkinstalldirs) $@ |
---|
| 32 | $(PROJECT_INCLUDE)/libchip/%.h: %.h |
---|
| 33 | $(INSTALL_DATA) $< $@ |
---|
| 34 | |
---|
| 35 | # |
---|
| 36 | # Add local stuff here using += |
---|
| 37 | # |
---|
| 38 | |
---|
| 39 | AM_CFLAGS += $(LIBC_DEFINES) |
---|
| 40 | |
---|
[9f4868c] | 41 | $(LIB): ${OBJS} |
---|
[9608320] | 42 | $(make-library) |
---|
| 43 | |
---|
[9f4868c] | 44 | $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) |
---|
[9608320] | 45 | $(INSTALL_DATA) $< $@ |
---|
| 46 | |
---|
[df49c60] | 47 | all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES) |
---|
[9608320] | 48 | |
---|
[df49c60] | 49 | DOC_FILES = README.ds1643 README.icm7170 README.m48t08 README.m48t18 STATUS |
---|
[9608320] | 50 | |
---|
[70810dc] | 51 | EXTRA_DIST = $(C_FILES) $(DOC_FILES) |
---|
[9608320] | 52 | |
---|
| 53 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.