source:
rtems/c/src/libchip/rtc/Makefile.am
@
2099695
Last change on this file since 2099695 was da35120d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/11/02 at 17:58:37 | |
---|---|
|
|
File size: 971 bytes |
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 | OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
16 | |
17 | include_libchip_HEADERS = rtc.h icm7170.h m48t08.h |
18 | |
19 | include $(top_srcdir)/../../../automake/compile.am |
20 | include $(top_srcdir)/../../../automake/lib.am |
21 | |
22 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \ |
23 | $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%) |
24 | |
25 | $(PROJECT_INCLUDE)/libchip: |
26 | @$(mkinstalldirs) $@ |
27 | $(PROJECT_INCLUDE)/libchip/%.h: %.h |
28 | $(INSTALL_DATA) $< $@ |
29 | |
30 | # |
31 | # Add local stuff here using += |
32 | # |
33 | |
34 | $(LIB): $(OBJS) |
35 | $(make-library) |
36 | |
37 | all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) |
38 | |
39 | DOC_FILES = README.ds1643 README.icm7170 README.m48t08 README.m48t18 STATUS |
40 | |
41 | EXTRA_DIST = $(C_FILES) $(DOC_FILES) |
42 | |
43 | include $(top_srcdir)/../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.