4.104.114.84.95
Last change
on this file since 6a8e52d was
c7ff624c,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/25/03 at 06:35:06
|
2003-07-25 Ralf Corsepius <corsepiu@…>
- ide/Makefile.am, network/Makefile.am, rtc/Makefile.am,
serial/Makefile.am: Add conditional LIBCHIP.
Conditionally build include-dirs.
|
-
Property mode set to
100644
|
File size:
979 bytes
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | |
---|
6 | LIBNAME = librtcio |
---|
7 | LIB = $(ARCH)/$(LIBNAME).a |
---|
8 | |
---|
9 | C_FILES = rtcprobe.c icm7170.c icm7170_reg.c icm7170_reg2.c icm7170_reg4.c \ |
---|
10 | icm7170_reg8.c m48t08.c m48t08_reg.c m48t08_reg2.c m48t08_reg4.c \ |
---|
11 | m48t08_reg8.c |
---|
12 | |
---|
13 | OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
---|
14 | |
---|
15 | |
---|
16 | include $(top_srcdir)/../../automake/compile.am |
---|
17 | include $(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) $< $@ |
---|
27 | |
---|
28 | # |
---|
29 | # Add local stuff here using += |
---|
30 | # |
---|
31 | if LIBCHIP |
---|
32 | include_libchipdir = $(includedir)/libchip |
---|
33 | include_libchip_HEADERS = rtc.h icm7170.h m48t08.h |
---|
34 | |
---|
35 | $(LIB): $(OBJS) |
---|
36 | $(make-library) |
---|
37 | |
---|
38 | all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) |
---|
39 | endif |
---|
40 | |
---|
41 | DOC_FILES = README.ds1643 README.icm7170 README.m48t08 README.m48t18 STATUS |
---|
42 | |
---|
43 | EXTRA_DIST = $(C_FILES) $(DOC_FILES) |
---|
44 | |
---|
45 | include $(top_srcdir)/../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.