Changeset 552fca7 in rtems for c/src/libchip/Makefile.am


Ignore:
Timestamp:
Jan 2, 2005, 12:40:17 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
44213ad
Parents:
509dc304
Message:

2005-01-01 Ralf Corsepius <ralf.corsepius@…>

  • libchip/Makefile.am, librdbg/Makefile.am, optman/Makefile.am support/Makefile.am, wrapup/Makefile.am: Remove build-variant support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/Makefile.am

    r509dc304 r552fca7  
    55include $(top_srcdir)/automake/compile.am
    66
    7 noinst_DATA =
    8 
    97if LIBCHIP
    108include_libchipdir = $(includedir)/libchip
     
    1311
    1412EXTRA_DIST =
    15 EXTRA_LIBRARIES =
    16 EXTRA_PROGRAMS =
    17 CLEANFILES =
     13noinst_LIBRARIES =
     14noinst_PROGRAMS =
    1815
    1916# ide
     
    2219    ide/ide_ctrl_io.h
    2320
    24 EXTRA_LIBRARIES += libide.a
    25 CLEANFILES += libide.a
     21noinst_LIBRARIES += libide.a
    2622libide_a_SOURCES = ide/ata.c ide/ide_controller.c ide/ata_internal.h
    2723libide_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    28 
    29 EXTRA_LIBRARIES += libide_g.a
    30 CLEANFILES += libide_g.a
    31 libide_g_a_SOURCES = $(libide_a_SOURCES)
    32 libide_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    33 
    34 noinst_DATA += libide$(LIB_VARIANT).a
    3524endif
    3625
     
    4332
    4433libnetchip_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    45 EXTRA_LIBRARIES += libnetchip.a
    46 CLEANFILES += libnetchip.a
     34noinst_LIBRARIES += libnetchip.a
    4735libnetchip_a_SOURCES = network/cs8900.c network/dec21140.c network/i82586.c \
    4836    network/sonic.c network/if_fxp.c network/elnk.c network/open_eth.c
    4937libnetchip_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
    5038    $(libnetchip_CPPFLAGS)
    51 
    52 EXTRA_LIBRARIES += libnetchip_g.a
    53 CLEANFILES += libnetchip_g.a
    54 libnetchip_g_a_SOURCES = $(libnetchip_a_SOURCES)
    55 libnetchip_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
    56     $(libnetchip_CPPFLAGS)
    57 
    58 # FIXME: Why is this lib installed?
    59 project_lib_DATA = libnetchip$(LIB_VARIANT).a
    6039endif
    6140endif
     
    7049    rtc/mc146818a.h
    7150
    72 EXTRA_LIBRARIES += librtcio.a
    73 CLEANFILES += librtcio.a
     51noinst_LIBRARIES += librtcio.a
    7452librtcio_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    7553librtcio_a_SOURCES = rtc/rtcprobe.c rtc/icm7170.c rtc/icm7170_reg.c \
     
    7755    rtc/m48t08_reg.c rtc/m48t08_reg2.c rtc/m48t08_reg4.c rtc/m48t08_reg8.c \
    7856    rtc/mc146818a.c rtc/mc146818a_ioreg.c
    79 
    80 EXTRA_LIBRARIES += librtcio_g.a
    81 CLEANFILES += librtcio_g.a
    82 librtcio_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    83 librtcio_g_a_SOURCES = $(librtcio_a_SOURCES)
    84 
    85 noinst_DATA += librtcio$(LIB_VARIANT).a
    8657endif
    8758
     
    9465    serial/serial.h serial/sersupp.h
    9566
    96 EXTRA_LIBRARIES += libserialio.a
    97 CLEANFILES += libserialio.a
     67noinst_LIBRARIES += libserialio.a
    9868libserialio_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    9969libserialio_a_SOURCES = serial/mc68681.c serial/mc68681_baud.c \
     
    10373    serial/termios_baud2num.c serial/mc68681_p.h serial/ns16550_p.h \
    10474    serial/z85c30_p.h
    105 
    106 EXTRA_LIBRARIES += libserialio_g.a
    107 CLEANFILES += libserialio_g.a
    108 libserialio_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    109 libserialio_g_a_SOURCES = $(libserialio_a_SOURCES)
    110 
    111 noinst_DATA += libserialio$(LIB_VARIANT).a
    11275endif
    11376
     
    11982include_HEADERS = shmdr/shm_driver.h shmdr/mpci.h
    12083
    121 EXTRA_PROGRAMS += shmdr.rel
    122 CLEANFILES += shmdr.rel
     84project_lib_PROGRAMS = shmdr.rel
    12385shmdr_rel_SOURCES = shmdr/addlq.c shmdr/cnvpkt.c shmdr/getlq.c shmdr/dump.c \
    12486    shmdr/fatal.c shmdr/getpkt.c shmdr/init.c shmdr/initlq.c shmdr/intr.c \
     
    12789shmdr_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    12890shmdr_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    129 
    130 EXTRA_PROGRAMS += shmdr_g.rel
    131 CLEANFILES += shmdr_g.rel
    132 shmdr_g_rel_SOURCES = $(no_shmdr_rel_SOURCES)
    133 shmdr_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    134 shmdr_g_rel_LDFLAGS = $(RTEMS_REL_LDFLAGS)
    135 
    136 project_lib_DATA = shmdr$(LIB_VARIANT).rel
    13791endif
    13892
     
    152106PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
    153107
    154 $(PROJECT_LIB)/$(dirstamp):
    155         @$(mkdir_p) $(PROJECT_LIB)
    156         @: > $(PROJECT_LIB)/$(dirstamp)
    157 TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
    158 
    159108if LIBCHIP
    160109$(PROJECT_INCLUDE)/libchip/$(dirstamp):
     
    211160        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/open_eth.h
    212161PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/open_eth.h
    213 
    214 $(PROJECT_LIB)/libnetchip$(LIB_VARIANT).a: libnetchip$(LIB_VARIANT).a $(PROJECT_LIB)/$(dirstamp)
    215         $(INSTALL_DATA) $< $(PROJECT_LIB)/libnetchip$(LIB_VARIANT).a
    216 TMPINSTALL_FILES += $(PROJECT_LIB)/libnetchip$(LIB_VARIANT).a
    217162endif
    218163endif
     
    267212PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpci.h
    268213
    269 $(PROJECT_LIB)/shmdr$(LIB_VARIANT).rel: shmdr$(LIB_VARIANT).rel $(PROJECT_LIB)/$(dirstamp)
    270         $(INSTALL_DATA) $< $(PROJECT_LIB)/shmdr$(LIB_VARIANT).rel
    271 TMPINSTALL_FILES += $(PROJECT_LIB)/shmdr$(LIB_VARIANT).rel
    272 endif
    273 
    274 CLEANFILES += $(PREINSTALL_FILES)
     214$(PROJECT_LIB)/shmdr.rel: shmdr.rel $(PROJECT_LIB)/$(dirstamp)
     215        $(INSTALL_PROGRAM) $< $(PROJECT_LIB)/shmdr.rel
     216TMPINSTALL_FILES += $(PROJECT_LIB)/shmdr.rel
     217endif
     218
     219CLEANFILES = $(PREINSTALL_FILES)
    275220DISTCLEANFILES = $(PREINSTALL_DIRS)
    276221CLEANFILES += $(TMPINSTALL_FILES)
Note: See TracChangeset for help on using the changeset viewer.