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