source: rtems/c/src/libchip/serial/Makefile.am @ 1c36c3e4

4.104.114.84.95
Last change on this file since 1c36c3e4 was 1c36c3e4, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 10, 2002 at 8:40:39 AM

2002-12-10 Ralf Corsepius <corsepiu@…>

  • serial/Makefile.am: Don't include @RTEMS_BSP@.cfg. Don't use LIBC_DEFINES.
  • rtc/Makefile.am: Don't include @RTEMS_BSP@.cfg. Don't use LIBC_DEFINES.
  • network/Makefile.am: Don't include @RTEMS_BSP@.cfg. Don't use LIBC_DEFINES.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  $Id$
3#
4
5
6include_libchipdir = $(includedir)/libchip
7
8LIBNAME = libserialio
9LIB = $(ARCH)/$(LIBNAME).a
10
11C_FILES = mc68681.c mc68681_baud.c mc68681_reg.c mc68681_reg2.c \
12    mc68681_reg4.c mc68681_reg8.c ns16550.c z85c30.c z85c30_reg.c serprobe.c \
13    termios_baud2index.c termios_baud2num.c
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
15
16noinst_HEADERS = mc68681_p.h ns16550_p.h z85c30_p.h
17include_libchip_HEADERS = mc68681.h ns16550.h z85c30.h serial.h sersupp.h
18
19OBJS = $(C_O_FILES)
20
21include $(top_srcdir)/../../../automake/compile.am
22include $(top_srcdir)/../../../automake/lib.am
23
24PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
25    $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
26
27$(PROJECT_INCLUDE)/libchip:
28        @$(mkinstalldirs) $@
29$(PROJECT_INCLUDE)/libchip/%.h: %.h
30        $(INSTALL_DATA) $< $@
31
32#
33# Add local stuff here using +=
34#
35
36$(LIB): $(OBJS)
37        $(make-library)
38
39all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
40
41DOC_FILES = README.mc68681 README.ns16550 README.xr88681 README.z85c30 \
42    STATUS
43
44EXTRA_DIST = $(C_FILES) $(DOC_FILES)
45
46include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.