Ignore:
Timestamp:
02/06/04 20:29:43 (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
75b453f
Parents:
50efa6e
Message:

2004-02-06 Joel Sherrill <joel@…>

  • Makefile.am: Split startup into multiple .rels without reorganizing the source.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    r50efa6e r74f89dc  
    6666    console/mouse_parser.c console/pc_keyb.c console/ps2_mouse.c \
    6767    console/serial_mouse.c console/vgainit.c console/vt.c \
    68     console/videoAsm.S
     68    console/videoAsm.S ../../i386/shared/comm/uart.c \
     69    ../../i386/shared/comm/tty_drv.c
    6970console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    7071console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     
    7778
    7879project_lib_DATA += console$(LIB_VARIANT).rel
     80
     81EXTRA_PROGRAMS += gdb.rel
     82CLEANFILES += gdb.rel
     83gdb_rel_SOURCES = ../../i386/shared/comm/i386-stub.c \
     84    ../../i386/shared/comm/i386-stub-glue.c ../../i386/shared/comm/gdb_glue.c
     85gdb_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     86gdb_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     87
     88EXTRA_PROGRAMS += gdb_g.rel
     89CLEANFILES += gdb_g.rel
     90gdb_g_rel_SOURCES = $(gdb_rel_SOURCES)
     91gdb_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     92gdb_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     93
     94project_lib_DATA += gdb$(LIB_VARIANT).rel
     95
     96EXTRA_PROGRAMS += gnat.rel
     97CLEANFILES += gnat.rel
     98gnat_rel_SOURCES = ../../shared/gnatinstallhandler.c
     99gnat_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     100gnat_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     101
     102EXTRA_PROGRAMS += gnat_g.rel
     103CLEANFILES += gnat_g.rel
     104gnat_g_rel_SOURCES = $(gnat_rel_SOURCES)
     105gnat_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     106gnat_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     107
     108project_lib_DATA += gnat$(LIB_VARIANT).rel
     109
     110EXTRA_PROGRAMS += pci.rel
     111CLEANFILES += pci.rel
     112pci_rel_SOURCES = ../../i386/shared/pci/pcibios.c
     113pci_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     114pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     115
     116EXTRA_PROGRAMS += pci_g.rel
     117CLEANFILES += pci_g.rel
     118pci_g_rel_SOURCES = $(pci_rel_SOURCES)
     119pci_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     120pci_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     121
     122project_lib_DATA += pci$(LIB_VARIANT).rel
    79123
    80124EXTRA_PROGRAMS += startup.rel
     
    84128    ../../i386/shared/irq/irq.c ../../i386/shared/irq/irq_init.c \
    85129    ../../shared/bootcard.c ../../shared/main.c ../../shared/sbrk.c \
    86     ../../i386/shared/comm/i386-stub.c \
    87     ../../i386/shared/comm/i386-stub-glue.c ../../i386/shared/comm/uart.c \
    88     ../../i386/shared/pci/pcibios.c ../../shared/gnatinstallhandler.c \
    89     ../../i386/shared/comm/gdb_glue.c ../../i386/shared/comm/tty_drv.c \
    90130    startup/ldsegs.S ../../i386/shared/irq/irq_asm.S
    91131startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     
    189229libbsp_a_SOURCES =
    190230libbsp_a_LIBADD = startup$(LIB_VARIANT).rel clock$(LIB_VARIANT).rel \
    191     console$(LIB_VARIANT).rel timer$(LIB_VARIANT).rel ide$(LIB_VARIANT).rel
     231    console$(LIB_VARIANT).rel timer$(LIB_VARIANT).rel ide$(LIB_VARIANT).rel \
     232    gdb$(LIB_VARIANT).rel gnat$(LIB_VARIANT).rel pci$(LIB_VARIANT).rel
    192233# We only build the Network library if HAS_NETWORKING was defined
    193234# dec21140 is supported via libchip
     
    267308TMPINSTALL_FILES += $(PROJECT_LIB)/console$(LIB_VARIANT).rel
    268309
     310$(PROJECT_LIB)/gdb$(LIB_VARIANT).rel: gdb$(LIB_VARIANT).rel $(PROJECT_LIB)/$(dirstamp)
     311        $(INSTALL_DATA) $< $(PROJECT_LIB)/gdb$(LIB_VARIANT).rel
     312TMPINSTALL_FILES += $(PROJECT_LIB)/gdb$(LIB_VARIANT).rel
     313
     314$(PROJECT_LIB)/gnat$(LIB_VARIANT).rel: gnat$(LIB_VARIANT).rel $(PROJECT_LIB)/$(dirstamp)
     315        $(INSTALL_DATA) $< $(PROJECT_LIB)/gnat$(LIB_VARIANT).rel
     316TMPINSTALL_FILES += $(PROJECT_LIB)/gnat$(LIB_VARIANT).rel
     317
     318$(PROJECT_LIB)/pci$(LIB_VARIANT).rel: pci$(LIB_VARIANT).rel $(PROJECT_LIB)/$(dirstamp)
     319        $(INSTALL_DATA) $< $(PROJECT_LIB)/pci$(LIB_VARIANT).rel
     320TMPINSTALL_FILES += $(PROJECT_LIB)/pci$(LIB_VARIANT).rel
     321
    269322$(PROJECT_LIB)/startup$(LIB_VARIANT).rel: startup$(LIB_VARIANT).rel $(PROJECT_LIB)/$(dirstamp)
    270323        $(INSTALL_DATA) $< $(PROJECT_LIB)/startup$(LIB_VARIANT).rel
Note: See TracChangeset for help on using the changeset viewer.