4.104.114.84.95
Last change
on this file since c7ff624c 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:
1.1 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | |
---|
6 | LIBNAME = libserialio |
---|
7 | LIB = $(ARCH)/$(LIBNAME).a |
---|
8 | |
---|
9 | C_FILES = mc68681.c mc68681_baud.c mc68681_reg.c mc68681_reg2.c \ |
---|
10 | mc68681_reg4.c mc68681_reg8.c ns16550.c z85c30.c z85c30_reg.c serprobe.c \ |
---|
11 | termios_baud2index.c termios_baud2num.c |
---|
12 | OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
---|
13 | |
---|
14 | noinst_HEADERS = mc68681_p.h ns16550_p.h z85c30_p.h |
---|
15 | |
---|
16 | include $(top_srcdir)/../../automake/compile.am |
---|
17 | include $(top_srcdir)/../../automake/lib.am |
---|
18 | |
---|
19 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \ |
---|
20 | $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%) |
---|
21 | |
---|
22 | $(PROJECT_INCLUDE)/libchip: |
---|
23 | @$(mkinstalldirs) $@ |
---|
24 | $(PROJECT_INCLUDE)/libchip/%.h: %.h |
---|
25 | $(INSTALL_DATA) $< $@ |
---|
26 | |
---|
27 | # |
---|
28 | # Add local stuff here using += |
---|
29 | # |
---|
30 | if LIBCHIP |
---|
31 | include_libchipdir = $(includedir)/libchip |
---|
32 | include_libchip_HEADERS = mc68681.h ns16550.h z85c30.h serial.h sersupp.h |
---|
33 | |
---|
34 | $(LIB): $(OBJS) |
---|
35 | $(make-library) |
---|
36 | |
---|
37 | all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) |
---|
38 | endif |
---|
39 | |
---|
40 | DOC_FILES = README.mc68681 README.ns16550 README.xr88681 README.z85c30 \ |
---|
41 | 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.