source:
rtems/c/src/lib/libbsp/i386/pc386/clock/Makefile.am
@
44eb0beb
Last change on this file since 44eb0beb was 44eb0beb, checked in by Joel Sherrill <joel.sherrill@…>, on 01/20/05 at 16:54:45 | |
---|---|
|
|
File size: 900 bytes |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[69537ca9] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[69537ca9] | 4 | |
[5378a29] | 5 | VPATH = @srcdir@:@srcdir@/../../shared/tod:@srcdir@/../../../shared |
[69537ca9] | 6 | |
[4e36a2f] | 7 | PGM = $(ARCH)/clock.rel |
[69537ca9] | 8 | |
[5378a29] | 9 | C_FILES = ckinit.c todcfg.c tod.c |
[92b8b98a] | 10 | clock_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
[69537ca9] | 11 | |
[44eb0beb] | 12 | include_HEADERS = tod.h |
13 | ||
14 | tod.h: $(top_srcdir)/../../shared/tod.h | |
15 | cp $< $@ | |
16 | CLEANFILES = tod | |
17 | ||
18 | $(PROJECT_INCLUDE): | |
19 | $(mkinstalldirs) $@ | |
20 | ||
21 | $(PROJECT_INCLUDE)/%.h: %.h | |
22 | $(INSTALL_DATA) $< $@ | |
23 | ||
24 | PREINSTALL_FILES = $(PROJECT_INCLUDE) \ | |
25 | $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) | |
26 | ||
[a5417074] | 27 | include $(top_srcdir)/../../../../../../automake/compile.am |
[69537ca9] | 28 | include $(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 | ||
[df49c60] | 37 | # the .rel file built here will be put into libbsp.a by |
[69537ca9] | 38 | # ../wrapup/Makefile |
39 | ||
[4e36a2f] | 40 | all-local: $(ARCH) $(clock_rel_OBJECTS) $(PGM) |
41 | ||
42 | .PRECIOUS: $(PGM) | |
43 | ||
[5378a29] | 44 | EXTRA_DIST = |
[69537ca9] | 45 | |
46 | include $(top_srcdir)/../../../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.