source: rtems/c/src/libchip/ide/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: 856 bytes
Line 
1##
2## $Id$
3##
4
5LIBNAME = libide
6LIB = $(ARCH)/$(LIBNAME).a
7
8C_FILES = ata.c ide_controller.c
9C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
10
11noinst_HEADERS = ata_internal.h
12
13OBJS = $(C_O_FILES)
14
15include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
16include $(top_srcdir)/automake/compile.am
17include $(top_srcdir)/automake/lib.am
18
19PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
20    $(include_ide_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
21
22$(PROJECT_INCLUDE)/libchip:
23        @$(mkinstalldirs) $@
24$(PROJECT_INCLUDE)/libchip/%.h: %.h
25        $(INSTALL_DATA) $< $@
26
27if LIBCHIP
28include_idedir = $(includedir)/libchip
29include_ide_HEADERS = ata.h ide_ctrl_cfg.h ide_ctrl.h ide_ctrl_io.h
30
31$(LIB): $(OBJS)
32        $(make-library)
33
34all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
35endif
36
37EXTRA_DIST = $(C_FILES)
38
39include $(top_srcdir)/automake/subdirs.am
40include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.