source:
rtems/c/src/lib/libbsp/i386/pc386/console/Makefile.am
@
9dffd2de
Last change on this file since 9dffd2de was 9dffd2de, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/02/03 at 05:40:05 | |
---|---|
|
|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[69537ca9] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[69537ca9] | 4 | |
5 | ||
[4e36a2f] | 6 | PGM = $(ARCH)/console.rel |
[69537ca9] | 7 | |
[2e45a0cb] | 8 | include_rtemsdir = $(includedir)/rtems |
9 | include_rtems_HEADERS = keyboard.h kd.h serial_mouse.h ps2_drv.h fb_vga.h | |
[3cbb63a] | 10 | |
11 | C_FILES = console.c inch.c outch.c defkeymap.c fb_vga.c keyboard.c \ | |
12 | mouse_parser.c pc_keyb.c ps2_mouse.c serial_mouse.c vgainit.c vt.c | |
[69537ca9] | 13 | S_FILES = videoAsm.S |
14 | ||
[92b8b98a] | 15 | console_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) |
[69537ca9] | 16 | |
[7842090b] | 17 | include $(top_srcdir)/../../../../automake/compile.am |
18 | include $(top_srcdir)/../../../../automake/lib.am | |
[69537ca9] | 19 | |
[074225ba] | 20 | PREINSTALL_FILES = $(PROJECT_INCLUDE) \ |
[b88e366] | 21 | $(PROJECT_INCLUDE)/rtems \ |
[2e45a0cb] | 22 | $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%) |
[3cbb63a] | 23 | |
[69537ca9] | 24 | # |
25 | # (OPTIONAL) Add local stuff here using += | |
26 | # | |
27 | ||
28 | $(PGM): $(console_rel_OBJECTS) | |
29 | $(make-rel) | |
30 | ||
[3cbb63a] | 31 | $(PROJECT_INCLUDE)/rtems: |
32 | $(mkinstalldirs) $@ | |
33 | ||
34 | $(PROJECT_INCLUDE)/rtems/%.h: %.h | |
35 | $(INSTALL_DATA) $< $@ | |
36 | ||
[df49c60] | 37 | # the .rel file built here will be put into libbsp.a by |
[69537ca9] | 38 | # ../wrapup/Makefile |
39 | ||
[9dffd2de] | 40 | all-local: $(PREINSTALL_FILES) $(console_rel_OBJECTS) $(PGM) |
[4e36a2f] | 41 | |
42 | .PRECIOUS: $(PGM) | |
43 | ||
[cacbf4f] | 44 | EXTRA_DIST = $(C_FILES) $(S_FILES) |
[69537ca9] | 45 | |
[7842090b] | 46 | include $(top_srcdir)/../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.