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

Last change on this file since f11d526c was f11d526c, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 21, 2003 at 12:47:54 PM

2003-08-21 Ralf Corsepius <corsepiu@…>

  • ide/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • Property mode set to 100644
File size: 828 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 $(top_srcdir)/../../../automake/compile.am
21include $(top_srcdir)/../../../automake/lib.am
22
23PREINSTALL_FILES = $(PROJECT_INCLUDE)/libchip \
24    $(include_ide_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
25
26$(PROJECT_INCLUDE)/libchip:
27        @$(mkinstalldirs) $@
28$(PROJECT_INCLUDE)/libchip/%.h: %.h
29        $(INSTALL_DATA) $< $@
30
31$(LIB): $(OBJS)
32        $(make-library)
33
34all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
35
36EXTRA_DIST = $(C_FILES)
37
38include $(top_srcdir)/../../../automake/subdirs.am
39include $(top_srcdir)/../../../automake/local.am
40
Note: See TracBrowser for help on using the repository browser.