source: rtems/c/src/lib/libbsp/i386/pc386/clock/Makefile.am @ 0a7bcfd

Last change on this file since 0a7bcfd was 5378a29, checked in by Eric Norum <WENorum@…>, on 10/13/04 at 00:03:09

Add driver for Motorola MC146818A time-of-day clock.
Use above driver in i386/pc386 BSP.

  • Property mode set to 100644
File size: 626 bytes
Line 
1##
2## $Id$
3##
4
5VPATH = @srcdir@:@srcdir@/../../shared/tod:@srcdir@/../../../shared
6
7PGM = $(ARCH)/clock.rel
8
9C_FILES = ckinit.c todcfg.c tod.c
10clock_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
11
12include $(top_srcdir)/../../../../../../automake/compile.am
13include $(top_srcdir)/../../../../../../automake/lib.am
14
15#
16# (OPTIONAL) Add local stuff here using +=
17#
18
19$(PGM): $(clock_rel_OBJECTS)
20        $(make-rel)
21
22# the .rel file built here will be put into libbsp.a by
23#       ../wrapup/Makefile
24
25all-local: $(ARCH) $(clock_rel_OBJECTS) $(PGM)
26
27.PRECIOUS: $(PGM)
28
29EXTRA_DIST =
30
31include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.