OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libchip/] [serial/] [Makefile.am] - Blame information for rev 493

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
#
2
#  $Id: Makefile.am,v 1.2 2001-09-27 12:01:42 chris Exp $
3
#
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
LIBNAME = libserialio
8
LIB = ${ARCH}/${LIBNAME}.a
9
 
10
C_FILES = mc68681.c mc68681_baud.c mc68681_reg.c mc68681_reg2.c \
11
    mc68681_reg4.c mc68681_reg8.c ns16550.c z85c30.c z85c30_reg.c serprobe.c \
12
    termios_baud2index.c termios_baud2num.c
13
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
14
 
15
H_FILES = mc68681_p.h ns16550_p.h sersupp.h z85c30_p.h
16
INSTALLED_H_FILES = mc68681.h ns16550.h z85c30.h serial.h
17
noinst_HEADERS = $(H_FILES) $(INSTALLED_H_FILES)
18
 
19
OBJS = $(C_O_FILES)
20
 
21
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
22
include $(top_srcdir)/../../../automake/lib.am
23
 
24
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip \
25
    $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/libchip/%)
26
 
27
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
28
 
29
$(PROJECT_INCLUDE)/libchip:
30
        @$(mkinstalldirs) $@
31
$(PROJECT_INCLUDE)/libchip/%.h: %.h
32
        $(INSTALL_DATA) $< $@
33
 
34
#
35
# Add local stuff here using +=
36
#
37
 
38
AM_CFLAGS += $(LIBC_DEFINES)
39
 
40
$(LIB): ${OBJS}
41
        $(make-library)
42
 
43
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
44
        $(INSTALL_DATA) $< $@
45
 
46
all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
47
 
48
DOC_FILES = README.mc68681 README.ns16550 README.xr88681 README.z85c30 \
49
    STATUS
50
 
51
EXTRA_DIST = $(C_FILES) $(DOC_FILES)
52
 
53
include $(top_srcdir)/../../../automake/local.am

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.