forked from Imagelibrary/rtems
2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add preinstallation dirstamp support. * 3c509/Makefile.am: Cosmetics. * clock/Makefile.am: Cosmetics. * console/Makefile.am: Add preinstallation dirstamp support. * ide/Makefile.am: Cosmetics. * ne2000/Makefile.am: Cosmetics. * start/Makefile.am: Add compilation dirstamp support. * startup/Makefile.am: Cosmetics. * timer/Makefile.am: Cosmetics. * wd8003/Makefile.am: Cosmetics. * wrapup/Makefile.am: Cosmetics.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
|
||||
PGM = $(ARCH)/3c509.rel
|
||||
|
||||
C_FILES = 3c509.c elink.c
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Add preinstallation dirstamp support.
|
||||
* 3c509/Makefile.am: Cosmetics.
|
||||
* clock/Makefile.am: Cosmetics.
|
||||
* console/Makefile.am: Add preinstallation dirstamp support.
|
||||
* ide/Makefile.am: Cosmetics.
|
||||
* ne2000/Makefile.am: Cosmetics.
|
||||
* start/Makefile.am: Add compilation dirstamp support.
|
||||
* startup/Makefile.am: Cosmetics.
|
||||
* timer/Makefile.am: Cosmetics.
|
||||
* wd8003/Makefile.am: Cosmetics.
|
||||
* wrapup/Makefile.am: Cosmetics.
|
||||
|
||||
2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* 3c509/Makefile.am: Remove all-local: $(ARCH).
|
||||
|
||||
@@ -30,17 +30,17 @@ all-local: $(PREINSTALL_FILES)
|
||||
EXTRA_DIST = HOWTO README.dec21140 STATUS times_i486dx times_p5
|
||||
|
||||
if HAS_NETWORKING
|
||||
$(PROJECT_INCLUDE)/wd80x3.h: include/wd80x3.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
$(PROJECT_INCLUDE)/wd80x3.h: include/wd80x3.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/wd80x3.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/wd80x3.h
|
||||
endif
|
||||
|
||||
$(PROJECT_INCLUDE)/crt.h: include/crt.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
$(PROJECT_INCLUDE)/crt.h: include/crt.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/crt.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/crt.h
|
||||
|
||||
$(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
$(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
|
||||
|
||||
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
|
||||
PGM = $(ARCH)/clock.rel
|
||||
|
||||
C_FILES = ckinit.c rtc.c
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
|
||||
PGM = $(ARCH)/console.rel
|
||||
|
||||
include_rtemsdir = $(includedir)/rtems
|
||||
@@ -12,15 +11,12 @@ C_FILES = console.c inch.c outch.c defkeymap.c fb_vga.c keyboard.c \
|
||||
mouse_parser.c pc_keyb.c ps2_mouse.c serial_mouse.c vgainit.c vt.c
|
||||
S_FILES = videoAsm.S
|
||||
|
||||
console_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
||||
console_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) \
|
||||
$(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
||||
|
||||
include $(top_srcdir)/../../../../automake/compile.am
|
||||
include $(top_srcdir)/../../../../automake/lib.am
|
||||
|
||||
PREINSTALL_FILES = $(PROJECT_INCLUDE) \
|
||||
$(PROJECT_INCLUDE)/rtems \
|
||||
$(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
|
||||
|
||||
#
|
||||
# (OPTIONAL) Add local stuff here using +=
|
||||
#
|
||||
@@ -28,12 +24,6 @@ PREINSTALL_FILES = $(PROJECT_INCLUDE) \
|
||||
$(PGM): $(console_rel_OBJECTS)
|
||||
$(make-rel)
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems:
|
||||
$(mkinstalldirs) $@
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by
|
||||
# ../wrapup/Makefile
|
||||
|
||||
@@ -43,4 +33,31 @@ all-local: $(PREINSTALL_FILES) $(console_rel_OBJECTS) $(PGM)
|
||||
|
||||
EXTRA_DIST = $(C_FILES) $(S_FILES)
|
||||
|
||||
PREINSTALL_FILES =
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/$(dirstamp):
|
||||
@$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems
|
||||
@: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/keyboard.h: keyboard.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/keyboard.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/keyboard.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/kd.h: kd.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/kd.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/kd.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/serial_mouse.h: serial_mouse.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/serial_mouse.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/serial_mouse.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/ps2_drv.h: ps2_drv.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/ps2_drv.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/ps2_drv.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/fb_vga.h: fb_vga.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fb_vga.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fb_vga.h
|
||||
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
## Makefile.am,v 1.5 2002/08/11 06:59:03 ralf Exp
|
||||
##
|
||||
|
||||
|
||||
PGM =
|
||||
|
||||
C_FILES = idecfg.c ide.c
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
|
||||
PGM = $(ARCH)/ne2000.rel
|
||||
|
||||
C_FILES = ne2000.c
|
||||
|
||||
@@ -26,10 +26,10 @@ install-data-local: $(START_O_FILES)
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(bsplibdir); \
|
||||
done
|
||||
|
||||
$(ARCH)/start16.$(OBJEXT): start16.S
|
||||
$(ARCH)/start16.$(OBJEXT): start16.S $(ARCH)/$(dirstamp)
|
||||
$(COMPILE.S) $(AM_CPPFLAGS) -DHEADERADDR=$(HEADERADDR) -o $@ $<
|
||||
|
||||
$(ARCH)/start16.bin: $(ARCH)/start16.$(OBJEXT)
|
||||
$(ARCH)/start16.bin: $(ARCH)/start16.$(OBJEXT) $(ARCH)/$(dirstamp)
|
||||
$(LD) -N -T $(LINKCMDS) -Ttext $(START16ADDR) -e start16 -nostdlib \
|
||||
--oformat=elf32-i386 \
|
||||
-o $(basename $@)-elf32.$(OBJEXT) $(basename $@).$(OBJEXT)
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
|
||||
VPATH = @srcdir@:@srcdir@/../../../shared:@srcdir@/../../shared/irq:@srcdir@/../../shared/comm:@srcdir@/../../shared/pci
|
||||
|
||||
PGM = $(ARCH)/startup.rel
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
|
||||
PGM = $(ARCH)/timer.rel
|
||||
|
||||
C_FILES = timer.c
|
||||
S_FILES = timerisr.S
|
||||
timer_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
||||
timer_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) \
|
||||
$(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
||||
|
||||
include $(top_srcdir)/../../../../automake/compile.am
|
||||
include $(top_srcdir)/../../../../automake/lib.am
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
|
||||
PGM = $(ARCH)/wd8003.rel
|
||||
|
||||
C_FILES = wd8003.c
|
||||
|
||||
@@ -11,8 +11,9 @@ endif
|
||||
BSP_FILES = startup clock console timer $(NETWORK) ide
|
||||
|
||||
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
||||
OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \
|
||||
$(wildcard ../../../../libcpu/i386/$(ARCH)/*.$(OBJEXT))
|
||||
OBJS = $(foreach piece, $(BSP_FILES), $(wildcard \
|
||||
../$(piece)/$(ARCH)/*.$(OBJEXT))) $(wildcard \
|
||||
../../../../libcpu/i386/$(ARCH)/*.$(OBJEXT))
|
||||
LIB = $(ARCH)/libbsp.a
|
||||
|
||||
include $(top_srcdir)/../../../../automake/compile.am
|
||||
|
||||
Reference in New Issue
Block a user