source: rtems/c/src/libchip/serial/Makefile.am @ 657af74

4.104.114.84.95
Last change on this file since 657af74 was 657af74, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 28, 2002 at 12:49:32 AM

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • network/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • rtc/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • serial/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[9608320]1#
2#  $Id$
3#
4
5
[d3795e3e]6include_libchipdir = $(includedir)/libchip
7
[9608320]8LIBNAME = libserialio
[d3795e3e]9LIB = $(ARCH)/$(LIBNAME).a
[9608320]10
11C_FILES = mc68681.c mc68681_baud.c mc68681_reg.c mc68681_reg2.c \
[df49c60]12    mc68681_reg4.c mc68681_reg8.c ns16550.c z85c30.c z85c30_reg.c serprobe.c \
13    termios_baud2index.c termios_baud2num.c
[d3795e3e]14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
[9608320]15
[7e05b53]16noinst_HEADERS = mc68681_p.h ns16550_p.h z85c30_p.h
17include_libchip_HEADERS = mc68681.h ns16550.h z85c30.h serial.h sersupp.h
[9608320]18
19OBJS = $(C_O_FILES)
20
21include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[1070c61]22include $(top_srcdir)/../../../automake/compile.am
[9f4868c]23include $(top_srcdir)/../../../automake/lib.am
[9608320]24
[e414566]25PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
[d3795e3e]26    $(include_libchip_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
[9608320]27
[df49c60]28TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
[9608320]29
30$(PROJECT_INCLUDE)/libchip:
31        @$(mkinstalldirs) $@
32$(PROJECT_INCLUDE)/libchip/%.h: %.h
33        $(INSTALL_DATA) $< $@
34
35#
36# Add local stuff here using +=
37#
38
39AM_CFLAGS += $(LIBC_DEFINES)
40
[d3795e3e]41$(LIB): $(OBJS)
[9608320]42        $(make-library)
43
[9f4868c]44$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
[9608320]45        $(INSTALL_DATA) $< $@
46
[d3795e3e]47all-local: $(ARCH) $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
[9608320]48
[df49c60]49DOC_FILES = README.mc68681 README.ns16550 README.xr88681 README.z85c30 \
50    STATUS
[9608320]51
[70810dc]52EXTRA_DIST = $(C_FILES) $(DOC_FILES)
[9608320]53
54include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.