source: rtems/c/src/libchip/ide/Makefile.am @ 21d3667c

Last change on this file since 21d3667c was 5f83947, checked in by Joel Sherrill <joel.sherrill@…>, on 03/27/03 at 15:18:37

2003-03-27 Joel Sherrill <joel@…>

  • ide/Makefile.am: ATA code depends upon libchip/ide which is not allowed in the cpukit source code since it must be buildable independent of any BSP. These files were moved to libchip/ide.
  • ide/ata.c, ide/ata.h, ide/ata_internal.h: New files.
  • Property mode set to 100644
File size: 878 bytes
Line 
1##
2## $Id$
3##
4
5
6include_idedir = $(includedir)/libchip
7
8LIBNAME = libide
9LIB = $(ARCH)/$(LIBNAME).a
10
11C_FILES = ata.c ide_controller.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
13
14noinst_HEADERS = ata_internal.h
15
16include_ide_HEADERS = ata.h ide_ctrl_cfg.h ide_ctrl.h ide_ctrl_io.h
17
18OBJS = $(C_O_FILES)
19
20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21include $(top_srcdir)/../../../automake/compile.am
22include $(top_srcdir)/../../../automake/lib.am
23
24PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
25    $(include_ide_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
26
27$(PROJECT_INCLUDE)/libchip:
28        @$(mkinstalldirs) $@
29$(PROJECT_INCLUDE)/libchip/%.h: %.h
30        $(INSTALL_DATA) $< $@
31
32$(LIB): $(OBJS)
33        $(make-library)
34
35all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
36
37EXTRA_DIST = $(C_FILES)
38
39include $(top_srcdir)/../../../automake/subdirs.am
40include $(top_srcdir)/../../../automake/local.am
41
Note: See TracBrowser for help on using the repository browser.