4.104.114.84.95
Last change
on this file since 418c652 was
418c652,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 05:50:52
|
2002-08-11 Ralf Corsepius <corsepiu@…>
- network/Makefile.am: Use .$(OBJEXT) instead of .o.
- rtc/Makefile.am: Use .$(OBJEXT) instead of .o.
- serial/Makefile.am: Use .$(OBJEXT) instead of .o.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | |
---|
6 | include_libchipdir = $(includedir)/libchip |
---|
7 | |
---|
8 | LIBNAME = librtcio |
---|
9 | LIB = $(ARCH)/$(LIBNAME).a |
---|
10 | |
---|
11 | C_FILES = rtcprobe.c icm7170.c icm7170_reg.c icm7170_reg2.c icm7170_reg4.c \ |
---|
12 | icm7170_reg8.c m48t08.c m48t08_reg.c m48t08_reg2.c m48t08_reg4.c \ |
---|
13 | m48t08_reg8.c |
---|
14 | |
---|
15 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
---|
16 | |
---|
17 | include_libchip_HEADERS = rtc.h icm7170.h m48t08.h |
---|
18 | |
---|
19 | OBJS = $(C_O_FILES) |
---|
20 | |
---|
21 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
22 | include $(top_srcdir)/../../../automake/compile.am |
---|
23 | include $(top_srcdir)/../../../automake/lib.am |
---|
24 | |
---|
25 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \ |
---|
26 | $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%) |
---|
27 | |
---|
28 | $(PROJECT_INCLUDE)/libchip: |
---|
29 | @$(mkinstalldirs) $@ |
---|
30 | $(PROJECT_INCLUDE)/libchip/%.h: %.h |
---|
31 | $(INSTALL_DATA) $< $@ |
---|
32 | |
---|
33 | # |
---|
34 | # Add local stuff here using += |
---|
35 | # |
---|
36 | |
---|
37 | AM_CFLAGS += $(LIBC_DEFINES) |
---|
38 | |
---|
39 | $(LIB): $(OBJS) |
---|
40 | $(make-library) |
---|
41 | |
---|
42 | all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) |
---|
43 | |
---|
44 | DOC_FILES = README.ds1643 README.icm7170 README.m48t08 README.m48t18 STATUS |
---|
45 | |
---|
46 | EXTRA_DIST = $(C_FILES) $(DOC_FILES) |
---|
47 | |
---|
48 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.