source: rtems/c/src/lib/libbsp/i386/pc386/clock/Makefile.am @ 9f78139

Last change on this file since 9f78139 was 44eb0beb, checked in by Joel Sherrill <joel.sherrill@…>, on 01/20/05 at 16:54:45

2005-01-20 Joel Sherrill <joel@…>

PR 743/bsps

  • clock/Makefile.am: Did not install tod.h.
  • Property mode set to 100644
File size: 900 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_HEADERS = tod.h
13
14tod.h: $(top_srcdir)/../../shared/tod.h
15        cp $< $@
16CLEANFILES = tod
17
18$(PROJECT_INCLUDE):
19        $(mkinstalldirs) $@
20
21$(PROJECT_INCLUDE)/%.h: %.h
22        $(INSTALL_DATA) $< $@
23
24PREINSTALL_FILES = $(PROJECT_INCLUDE) \
25    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
26
27include $(top_srcdir)/../../../../../../automake/compile.am
28include $(top_srcdir)/../../../../../../automake/lib.am
29
30#
31# (OPTIONAL) Add local stuff here using +=
32#
33
34$(PGM): $(clock_rel_OBJECTS)
35        $(make-rel)
36
37# the .rel file built here will be put into libbsp.a by
38#       ../wrapup/Makefile
39
40all-local: $(ARCH) $(clock_rel_OBJECTS) $(PGM)
41
42.PRECIOUS: $(PGM)
43
44EXTRA_DIST =
45
46include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.