source: rtems/c/src/libchip/serial/Makefile.am @ 5c0064d

4.104.114.84.95
Last change on this file since 5c0064d was 5c0064d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/16/03 at 12:25:08

2003-08-16 Ralf Corsepius <corsepiu@…>

Makefile.am: Reflect having moved automake.
ide/Makefile.am: Reflect having moved automake.
network/Makefile.am: Reflect having moved automake.
rtc/Makefile.am: Reflect having moved automake.
serial/Makefile.am: Reflect having moved automake.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1#
2#  $Id$
3#
4
5
6LIBNAME = libserialio
7LIB = $(ARCH)/$(LIBNAME).a
8
9C_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
12OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
13
14noinst_HEADERS = mc68681_p.h ns16550_p.h z85c30_p.h
15
16include $(top_srcdir)/automake/compile.am
17include $(top_srcdir)/automake/lib.am
18
19PREINSTALL_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#
30if LIBCHIP
31include_libchipdir = $(includedir)/libchip
32include_libchip_HEADERS = mc68681.h ns16550.h z85c30.h serial.h sersupp.h
33
34$(LIB): $(OBJS)
35        $(make-library)
36
37all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
38endif
39
40DOC_FILES = README.mc68681 README.ns16550 README.xr88681 README.z85c30 \
41    STATUS
42
43EXTRA_DIST = $(C_FILES) $(DOC_FILES)
44
45include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.