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

4.104.114.84.95
Last change on this file since 3446afa was 3446afa, checked in by Joel Sherrill <joel.sherrill@…>, on 03/25/03 at 18:25:50

2003-03-25 Thomas Doerfler <Thomas.Doerfler@…>

PR 368/filesystems

  • ide/Makefile.am, ide/ide_ctrl_cfg.h: General improvements which now work on pc386 and mbx8xx.
  • ide/ide_controller.c: New file.
  • Property mode set to 100644
File size: 850 bytes
Line 
1##
2## $Id$
3##
4
5
6include_idedir = $(includedir)/libchip
7
8LIBNAME = libide
9LIB = $(ARCH)/$(LIBNAME).a
10
11C_FILES = ide_controller.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
13
14noinst_HEADERS =
15
16include_ide_HEADERS = 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
Note: See TracBrowser for help on using the repository browser.