Changeset f670eb76 in rtems


Ignore:
Timestamp:
Jan 9, 2004, 3:48:45 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
98715202
Parents:
466b7a05
Message:

2004-01-08 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Build lib*$(LIB_VARIANT).a instead of $(ARCH)/lib*.a.
Location:
cpukit
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/ChangeLog

    r466b7a05 rf670eb76  
     12004-01-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Build lib*$(LIB_VARIANT).a instead of
     4        $(ARCH)/lib*.a.
     5
    162004-01-07  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/libfs/Makefile.am

    r466b7a05 rf670eb76  
    3838endif
    3939
    40 EXTRA_LIBRARIES = o-optimize/libimfs.a
    41 o_optimize_libimfs_a_SOURCES = $(libimfs_C_FILES)
    42 o_optimize_libimfs_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     40EXTRA_LIBRARIES = libimfs.a
     41libimfs_a_SOURCES = $(libimfs_C_FILES)
     42libimfs_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    4343
    44 EXTRA_LIBRARIES += o-debug/libimfs.a
    45 o_debug_libimfs_a_SOURCES = $(libimfs_C_FILES)
    46 o_debug_libimfs_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     44EXTRA_LIBRARIES += libimfs_g.a
     45libimfs_g_a_SOURCES = $(libimfs_C_FILES)
     46libimfs_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    4747
    4848include_HEADERS += src/imfs/imfs.h
    4949
    50 IMFSLIB = $(ARCH)/libimfs.a
     50IMFSLIB = libimfs$(LIB_VARIANT).a
    5151
    5252# dosfs
     
    7070include_HEADERS += src/dosfs/dosfs.h
    7171
    72 DOSFSLIB = $(ARCH)/libdosfs.a
     72DOSFSLIB = libdosfs$(LIB_VARIANT).a
    7373
    74 EXTRA_LIBRARIES += o-optimize/libdosfs.a
    75 o_optimize_libdosfs_a_SOURCES = $(libdosfs_C_FILES)
    76 o_optimize_libdosfs_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     74EXTRA_LIBRARIES += libdosfs.a
     75libdosfs_a_SOURCES = $(libdosfs_C_FILES)
     76libdosfs_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    7777
    78 EXTRA_LIBRARIES += o-debug/libdosfs.a
    79 o_debug_libdosfs_a_SOURCES = $(libdosfs_C_FILES)
    80 o_debug_libdosfs_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    81 
     78EXTRA_LIBRARIES += libdosfs_g.a
     79libdosfs_g_a_SOURCES = $(libdosfs_C_FILES)
     80libdosfs_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    8281endif
    8382
  • cpukit/libmisc/ChangeLog

    r466b7a05 rf670eb76  
     12004-01-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Build lib*$(LIB_VARIANT).a instead of
     4        $(ARCH)/lib*.a.
     5
    162004-01-07  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/libmisc/Makefile.am

    r466b7a05 rf670eb76  
    2020include_rtems_HEADERS += capture/capture.h capture/capture-cli.h
    2121
    22 EXTRA_LIBRARIES += o-optimize/libcapture.a
    23 o_optimize_libcapture_a_SOURCES = $(libcapture_C_FILES)
    24 o_optimize_libcapture_a_CPPFLAGS = $(AM_CPPFLAGS) \
    25     $(CFLAGS_OPTIMIZE_V)
    26 
    27 EXTRA_LIBRARIES += o-debug/libcapture.a
    28 o_debug_libcapture_a_SOURCES = $(libcapture_C_FILES)
    29 o_debug_libcapture_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    30 
    31 TMP_LIBS += $(ARCH)/libcapture.a
     22EXTRA_LIBRARIES += libcapture.a
     23libcapture_a_SOURCES = $(libcapture_C_FILES)
     24libcapture_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     25
     26EXTRA_LIBRARIES += libcapture_g.a
     27libcapture_g_a_SOURCES = $(libcapture_C_FILES)
     28libcapture_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     29
     30TMP_LIBS += libcapture$(LIB_VARIANT).a
    3231
    3332## cpuuse
     
    3635include_rtems_HEADERS += cpuuse/cpuuse.h
    3736
    38 EXTRA_LIBRARIES += o-optimize/libcpuuse.a
    39 o_optimize_libcpuuse_a_SOURCES = $(libcpuuse_C_FILES)
    40 o_optimize_libcpuuse_a_CPPFLAGS = $(AM_CPPFLAGS) \
    41     $(CFLAGS_OPTIMIZE_V)
    42 
    43 EXTRA_LIBRARIES += o-debug/libcpuuse.a
    44 o_debug_libcpuuse_a_SOURCES = $(libcpuuse_C_FILES)
    45 o_debug_libcpuuse_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    46 
    47 TMP_LIBS += $(ARCH)/libcpuuse.a
     37EXTRA_LIBRARIES += libcpuuse.a
     38libcpuuse_a_SOURCES = $(libcpuuse_C_FILES)
     39libcpuuse_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     40
     41EXTRA_LIBRARIES += libcpuuse_g.a
     42libcpuuse_g_a_SOURCES = $(libcpuuse_C_FILES)
     43libcpuuse_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     44
     45TMP_LIBS += libcpuuse$(LIB_VARIANT).a
    4846
    4947## devnull
     
    5250include_rtems_HEADERS += devnull/devnull.h
    5351
    54 EXTRA_LIBRARIES += o-optimize/libdevnull.a
    55 o_optimize_libdevnull_a_SOURCES = $(libdevnull_C_FILES)
    56 o_optimize_libdevnull_a_CPPFLAGS = $(AM_CPPFLAGS) \
    57     $(CFLAGS_OPTIMIZE_V)
    58 
    59 EXTRA_LIBRARIES += o-debug/libdevnull.a
    60 o_debug_libdevnull_a_SOURCES = $(libdevnull_C_FILES)
    61 o_debug_libdevnull_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    62 
    63 TMP_LIBS += $(ARCH)/libdevnull.a
     52EXTRA_LIBRARIES += libdevnull.a
     53libdevnull_a_SOURCES = $(libdevnull_C_FILES)
     54libdevnull_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     55
     56EXTRA_LIBRARIES += libdevnull_g.a
     57libdevnull_g_a_SOURCES = $(libdevnull_C_FILES)
     58libdevnull_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     59
     60TMP_LIBS += libdevnull$(LIB_VARIANT).a
    6461
    6562## dummy
     
    6865EXTRA_DIST += dummy/README
    6966
    70 EXTRA_LIBRARIES += o-optimize/libdummy.a
    71 o_optimize_libdummy_a_SOURCES = $(libdummy_C_FILES)
    72 o_optimize_libdummy_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    73 
    74 EXTRA_LIBRARIES += o-debug/libdummy.a
    75 o_debug_libdummy_a_SOURCES = $(libdummy_C_FILES)
    76 o_debug_libdummy_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    77 
    78 TMP_LIBS += $(ARCH)/libdummy.a
     67EXTRA_LIBRARIES += libdummy.a
     68libdummy_a_SOURCES = $(libdummy_C_FILES)
     69libdummy_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     70
     71EXTRA_LIBRARIES += libdummy_g.a
     72libdummy_g_a_SOURCES = $(libdummy_C_FILES)
     73libdummy_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     74
     75TMP_LIBS += libdummy$(LIB_VARIANT).a
    7976
    8077## dumpbuf
     
    8380include_rtems_HEADERS += dumpbuf/dumpbuf.h
    8481
    85 EXTRA_LIBRARIES += o-optimize/libdumpbuf.a
    86 o_optimize_libdumpbuf_a_SOURCES = $(libdumpbuf_C_FILES)
    87 o_optimize_libdumpbuf_a_CPPFLAGS = $(AM_CPPFLAGS) \
    88     $(CFLAGS_OPTIMIZE_V)
    89 
    90 EXTRA_LIBRARIES += o-debug/libdumpbuf.a
    91 o_debug_libdumpbuf_a_SOURCES = $(libdumpbuf_C_FILES)
    92 o_debug_libdumpbuf_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    93 
    94 TMP_LIBS += $(ARCH)/libdumpbuf.a
     82EXTRA_LIBRARIES += libdumpbuf.a
     83libdumpbuf_a_SOURCES = $(libdumpbuf_C_FILES)
     84libdumpbuf_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     85
     86EXTRA_LIBRARIES += libdumpbuf_g.a
     87libdumpbuf_g_a_SOURCES = $(libdumpbuf_C_FILES)
     88libdumpbuf_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     89
     90TMP_LIBS += libdumpbuf$(LIB_VARIANT).a
    9591
    9692## monitor
     
    108104endif
    109105
    110 EXTRA_LIBRARIES += o-optimize/libmonitor.a
    111 o_optimize_libmonitor_a_SOURCES = $(libmonitor_C_FILES)
    112 o_optimize_libmonitor_a_CPPFLAGS = $(AM_CPPFLAGS) \
    113     $(CFLAGS_OPTIMIZE_V)
    114 
    115 EXTRA_LIBRARIES += o-debug/libmonitor.a
    116 o_debug_libmonitor_a_SOURCES = $(libmonitor_C_FILES)
    117 o_debug_libmonitor_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     106EXTRA_LIBRARIES += libmonitor.a
     107libmonitor_a_SOURCES = $(libmonitor_C_FILES)
     108libmonitor_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     109
     110EXTRA_LIBRARIES += libmonitor_g.a
     111libmonitor_g_a_SOURCES = $(libmonitor_C_FILES)
     112libmonitor_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    118113
    119114EXTRA_DIST += monitor/README
    120115
    121 TMP_LIBS += $(ARCH)/libmonitor.a
     116TMP_LIBS += libmonitor$(LIB_VARIANT).a
    122117
    123118## mw-fb
     
    126121include_rtems_HEADERS += mw-fb/mw_fb.h mw-fb/mw_uid.h
    127122
    128 EXTRA_LIBRARIES += o-optimize/libmw-fb.a
    129 o_optimize_libmw_fb_a_SOURCES = $(libmw_fb_C_FILES)
    130 o_optimize_libmw_fb_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    131 
    132 EXTRA_LIBRARIES += o-debug/libmw-fb.a
    133 o_debug_libmw_fb_a_SOURCES = $(libmw_fb_C_FILES)
    134 o_debug_libmw_fb_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    135 
    136 TMP_LIBS += $(ARCH)/libmw-fb.a
     123EXTRA_LIBRARIES += libmw-fb.a
     124libmw_fb_a_SOURCES = $(libmw_fb_C_FILES)
     125libmw_fb_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     126
     127EXTRA_LIBRARIES += libmw-fb_g.a
     128libmw_fb_g_a_SOURCES = $(libmw_fb_C_FILES)
     129libmw_fb_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     130
     131TMP_LIBS += libmw-fb$(LIB_VARIANT).a
    137132
    138133## shell
     
    142137libshell_C_FILES = shell/cmds.c shell/shell.c
    143138
    144 EXTRA_LIBRARIES += o-optimize/libshell.a
    145 o_optimize_libshell_a_SOURCES = $(libshell_C_FILES)
    146 o_optimize_libshell_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    147 
    148 EXTRA_LIBRARIES += o-debug/libshell.a
    149 o_debug_libshell_a_SOURCES = $(libshell_C_FILES)
    150 o_debug_libshell_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    151 
    152 TMP_LIBS += $(ARCH)/libshell.a
     139EXTRA_LIBRARIES += libshell.a
     140libshell_a_SOURCES = $(libshell_C_FILES)
     141libshell_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     142
     143EXTRA_LIBRARIES += libshell_g.a
     144libshell_g_a_SOURCES = $(libshell_C_FILES)
     145libshell_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     146
     147TMP_LIBS += libshell$(LIB_VARIANT).a
    153148endif
    154149
     
    160155include_rtems_HEADERS += rtmonuse/rtmonuse.h
    161156
    162 EXTRA_LIBRARIES += o-optimize/librtmonuse.a
    163 o_optimize_librtmonuse_a_SOURCES = $(librtmonuse_C_FILES)
    164 o_optimize_librtmonuse_a_CPPFLAGS = $(AM_CPPFLAGS) \
    165     $(CFLAGS_OPTIMIZE_V)
    166 
    167 EXTRA_LIBRARIES += o-debug/librtmonuse.a
    168 o_debug_librtmonuse_a_SOURCES = $(librtmonuse_C_FILES)
    169 o_debug_librtmonuse_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    170 
    171 TMP_LIBS += $(ARCH)/librtmonuse.a
     157EXTRA_LIBRARIES += librtmonuse.a
     158librtmonuse_a_SOURCES = $(librtmonuse_C_FILES)
     159librtmonuse_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     160
     161EXTRA_LIBRARIES += librtmonuse_g.a
     162librtmonuse_g_a_SOURCES = $(librtmonuse_C_FILES)
     163librtmonuse_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     164
     165TMP_LIBS += librtmonuse$(LIB_VARIANT).a
    172166
    173167## serdbg
     
    180174    serdbg/termios_printk.c
    181175
    182 EXTRA_LIBRARIES += o-optimize/libserdbg.a
    183 o_optimize_libserdbg_a_SOURCES = $(libserdbg_C_FILES)
    184 o_optimize_libserdbg_a_CPPFLAGS = $(AM_CPPFLAGS) \
    185     $(CFLAGS_OPTIMIZE_V)
    186 
    187 EXTRA_LIBRARIES += o-debug/libserdbg.a
    188 o_debug_libserdbg_a_SOURCES = $(libserdbg_C_FILES)
    189 o_debug_libserdbg_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    190 
    191 TMP_LIBS += $(ARCH)/libserdbg.a
     176EXTRA_LIBRARIES += libserdbg.a
     177libserdbg_a_SOURCES = $(libserdbg_C_FILES)
     178libserdbg_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     179
     180EXTRA_LIBRARIES += libserdbg_g.a
     181libserdbg_g_a_SOURCES = $(libserdbg_C_FILES)
     182libserdbg_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     183
     184TMP_LIBS += libserdbg$(LIB_VARIANT).a
    192185endif
    193186
     
    199192libstackchk_C_FILES = stackchk/check.c stackchk/internal.h
    200193
    201 EXTRA_LIBRARIES += o-optimize/libstackchk.a
    202 o_optimize_libstackchk_a_SOURCES = $(libstackchk_C_FILES)
    203 o_optimize_libstackchk_a_CPPFLAGS = $(AM_CPPFLAGS) \
    204     $(CFLAGS_OPTIMIZE_V)
    205 
    206 EXTRA_LIBRARIES += o-debug/libstackchk.a
    207 o_debug_libstackchk_a_SOURCES = $(libstackchk_C_FILES)
    208 o_debug_libstackchk_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    209 
    210 TMP_LIBS += $(ARCH)/libstackchk.a
     194EXTRA_LIBRARIES += libstackchk.a
     195libstackchk_a_SOURCES = $(libstackchk_C_FILES)
     196libstackchk_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     197
     198EXTRA_LIBRARIES += libstackchk_g.a
     199libstackchk_g_a_SOURCES = $(libstackchk_C_FILES)
     200libstackchk_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     201
     202TMP_LIBS += libstackchk$(LIB_VARIANT).a
    211203EXTRA_DIST += stackchk/README
    212204
     
    216208libuntar_C_FILES = untar/untar.c
    217209
    218 EXTRA_LIBRARIES += o-optimize/libuntar.a
    219 o_optimize_libuntar_a_SOURCES = $(libuntar_C_FILES)
    220 o_optimize_libuntar_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    221 
    222 EXTRA_LIBRARIES += o-debug/libuntar.a
    223 o_debug_libuntar_a_SOURCES = $(libuntar_C_FILES)
    224 o_debug_libuntar_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    225 
    226 TMP_LIBS += $(ARCH)/libuntar.a
     210EXTRA_LIBRARIES += libuntar.a
     211libuntar_a_SOURCES = $(libuntar_C_FILES)
     212libuntar_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     213
     214EXTRA_LIBRARIES += libuntar_g.a
     215libuntar_g_a_SOURCES = $(libuntar_C_FILES)
     216libuntar_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     217
     218TMP_LIBS += libuntar$(LIB_VARIANT).a
    227219
    228220EXTRA_DIST += untar/README
     
    233225include_rtems_HEADERS += fsmount/fsmount.h
    234226
    235 EXTRA_LIBRARIES += o-optimize/libfsmount.a
    236 o_optimize_libfsmount_a_SOURCES = $(libfsmount_C_FILES)
    237 o_optimize_libfsmount_a_CPPFLAGS = $(AM_CPPFLAGS) \
    238     $(CFLAGS_OPTIMIZE_V)
    239 
    240 EXTRA_LIBRARIES += o-debug/libfsmount.a
    241 o_debug_libfsmount_a_SOURCES = $(libfsmount_C_FILES)
    242 o_debug_libfsmount_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    243 
    244 TMP_LIBS += $(ARCH)/libfsmount.a
     227EXTRA_LIBRARIES += libfsmount.a
     228libfsmount_a_SOURCES = $(libfsmount_C_FILES)
     229libfsmount_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     230
     231EXTRA_LIBRARIES += libfsmount_g.a
     232libfsmount_g_a_SOURCES = $(libfsmount_C_FILES)
     233libfsmount_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     234
     235TMP_LIBS += libfsmount$(LIB_VARIANT).a
    245236
    246237EXTRA_DIST += fsmount/README
  • cpukit/libnetworking/ChangeLog

    r466b7a05 rf670eb76  
     12004-01-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Build lib*$(LIB_VARIANT).a instead of
     4        $(ARCH)/lib*.a.
     5
    162004-01-07      Joel Sherrill <joel@OARcorp.com>
    27
  • cpukit/libnetworking/Makefile.am

    r466b7a05 rf670eb76  
    1616    -DDIAGNOSTIC -DBOOTP_COMPAT
    1717
    18 EXTRA_LIBRARIES = o-optimize/libnetworking.a
    19 o_optimize_libnetworking_a_SOURCES =
    20 o_optimize_libnetworking_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
    21 $(libnetworking_CPPFLAGS)
    22 
    23 EXTRA_LIBRARIES += o-debug/libnetworking.a
    24 o_debug_libnetworking_a_SOURCES =
    25 o_debug_libnetworking_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
    26 $(libnetworking_CPPFLAGS)
    27 
    28 TMP_LIBS = $(ARCH)/libnetworking.a
     18EXTRA_LIBRARIES = libnetworking.a
     19libnetworking_a_SOURCES =
     20libnetworking_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
     21    $(libnetworking_CPPFLAGS)
     22
     23EXTRA_LIBRARIES += libnetworking_g.a
     24libnetworking_g_a_SOURCES =
     25libnetworking_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
     26    $(libnetworking_CPPFLAGS)
     27
     28TMP_LIBS = libnetworking$(LIB_VARIANT).a
    2929
    3030## poll.h is not in the list because RTEMS does not have poll()
     
    4545    kern/uipc_domain.c kern/uipc_mbuf.c kern/uipc_socket.c \
    4646    kern/uipc_socket2.c
    47 o_optimize_libnetworking_a_SOURCES += $(kern_C_FILES)
    48 o_debug_libnetworking_a_SOURCES += $(kern_C_FILES)
     47libnetworking_a_SOURCES += $(kern_C_FILES)
     48libnetworking_g_a_SOURCES += $(kern_C_FILES)
    4949
    5050## machine
     
    6767    net/route.c net/rtsock.c net/raw_cb.c net/raw_usrreq.c net/if_ppp.c \
    6868    net/ppp_tty.c net/pppcompress.c
    69 o_optimize_libnetworking_a_SOURCES += $(net_C_FILES)
    70 o_debug_libnetworking_a_SOURCES += $(net_C_FILES)
     69libnetworking_a_SOURCES += $(net_C_FILES)
     70libnetworking_g_a_SOURCES += $(net_C_FILES)
    7171
    7272## netinet
     
    8989    netinet/tcp_subr.c netinet/tcp_timer.c netinet/tcp_usrreq.c \
    9090    netinet/udp_usrreq.c
    91 o_optimize_libnetworking_a_SOURCES += $(netinet_C_FILES)
    92 o_debug_libnetworking_a_SOURCES += $(netinet_C_FILES)
     91libnetworking_a_SOURCES += $(netinet_C_FILES)
     92libnetworking_g_a_SOURCES += $(netinet_C_FILES)
    9393
    9494## nfs
     
    100100
    101101nfs_C_FILES = nfs/bootp_subr.c
    102 o_optimize_libnetworking_a_SOURCES += $(nfs_C_FILES)
    103 o_debug_libnetworking_a_SOURCES += $(nfs_C_FILES)
     102libnetworking_a_SOURCES += $(nfs_C_FILES)
     103libnetworking_g_a_SOURCES += $(nfs_C_FILES)
    104104
    105105## rtems
     
    116116    rtems/rtems_showtcpstat.c rtems/rtems_showudpstat.c rtems/rtems_select.c \
    117117    rtems/mkrootfs.c rtems/rtems_bsdnet_malloc_starvation.c
    118 o_optimize_libnetworking_a_SOURCES += $(rtems_C_FILES)
    119 o_debug_libnetworking_a_SOURCES += $(rtems_C_FILES)
     118libnetworking_a_SOURCES += $(rtems_C_FILES)
     119libnetworking_g_a_SOURCES += $(rtems_C_FILES)
    120120
    121121## sys
     
    140140libc_CPPFLAGS = -DNOPOLL -DNOSELECT
    141141
    142 EXTRA_LIBRARIES += o-optimize/libc.a
    143 o_optimize_libc_a_SOURCES =
    144 o_optimize_libc_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
    145 $(libc_CPPFLAGS)
    146 
    147 EXTRA_LIBRARIES += o-debug/libc.a
    148 o_debug_libc_a_SOURCES =
    149 o_debug_libc_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
    150 $(libc_CPPFLAGS)
     142EXTRA_LIBRARIES += libc.a
     143libc_a_SOURCES =
     144libc_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) $(libc_CPPFLAGS)
     145
     146EXTRA_LIBRARIES += libc_g.a
     147libc_g_a_SOURCES =
     148libc_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) $(libc_CPPFLAGS)
    151149
    152150libc_C_FILES = libc/addr2ascii.c libc/ascii2addr.c libc/base64.c \
     
    163161    libc/res_mkquery.c libc/res_mkupdate.c libc/res_query.c libc/res_send.c \
    164162    libc/res_stubs.c libc/res_update.c libc/strsep.c libc/rcmd.c
    165 o_optimize_libc_a_SOURCES += $(libc_C_FILES)
    166 o_debug_libc_a_SOURCES += $(libc_C_FILES)
     163libc_a_SOURCES += $(libc_C_FILES)
     164libc_g_a_SOURCES += $(libc_C_FILES)
    167165
    168166man_MANS = libc/addr2ascii.3 libc/byteorder.3 libc/ethers.3 \
     
    171169    libc/rcmd.3 libc/resolver.3
    172170
    173 TMP_LIBS += $(ARCH)/libc.a
     171TMP_LIBS += libc$(LIB_VARIANT).a
    174172
    175173EXTRA_DIST = libc/addr2ascii.3 libc/addr2ascii.c libc/ascii2addr.c \
     
    196194lib_CPPFLAGS = -DNOPOLL -DNOSELECT
    197195
    198 EXTRA_LIBRARIES += o-optimize/lib.a
    199 o_optimize_lib_a_SOURCES =
    200 o_optimize_lib_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
    201 $(lib_CPPFLAGS)
    202 
    203 EXTRA_LIBRARIES += o-debug/lib.a
    204 o_debug_lib_a_SOURCES =
    205 o_debug_lib_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
    206 $(lib_CPPFLAGS)
     196EXTRA_LIBRARIES += lib.a
     197lib_a_SOURCES =
     198lib_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) $(lib_CPPFLAGS)
     199
     200EXTRA_LIBRARIES += lib_g.a
     201lib_g_a_SOURCES =
     202lib_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) $(lib_CPPFLAGS)
    207203
    208204lib_C_FILES = lib/getprotoby.c lib/rtems_bsdnet_ntp.c lib/ftpfs.c \
    209205    lib/syslog.c lib/tftpDriver.c
    210 o_optimize_lib_a_SOURCES += $(lib_C_FILES)
    211 o_debug_lib_a_SOURCES += $(lib_C_FILES)
    212 
    213 TMP_LIBS += $(ARCH)/lib.a
     206lib_a_SOURCES += $(lib_C_FILES)
     207lib_g_a_SOURCES += $(lib_C_FILES)
     208
     209TMP_LIBS += lib$(LIB_VARIANT).a
    214210
    215211# ---
  • cpukit/librpc/ChangeLog

    r466b7a05 rf670eb76  
     12004-01-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Build lib*$(LIB_VARIANT).a instead of
     4        $(ARCH)/lib*.a.
     5
    162004-01-07  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/librpc/Makefile.am

    r466b7a05 rf670eb76  
    2323
    2424if LIBRPC
    25 EXTRA_LIBRARIES = o-optimize/libxdr.a
    26 o_optimize_libxdr_a_SOURCES = $(libxdr_C_FILES)
    27 o_optimize_libxdr_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     25EXTRA_LIBRARIES = libxdr.a
     26libxdr_a_SOURCES = $(libxdr_C_FILES)
     27libxdr_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    2828
    29 EXTRA_LIBRARIES += o-debug/libxdr.a
    30 o_debug_libxdr_a_SOURCES = $(libxdr_C_FILES)
    31 o_debug_libxdr_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     29EXTRA_LIBRARIES += libxdr_g.a
     30libxdr_g_a_SOURCES = $(libxdr_C_FILES)
     31libxdr_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    3232
    3333man_MANS += src/xdr/xdr.3
    34 all-local: $(ARCH)/libxdr.a
     34all-local: libxdr$(LIB_VARIANT).a
    3535endif
    3636
     
    5555
    5656if LIBRPC
    57 librpc_a_CPPFLAGS = -D_RPC_read=read -D_RPC_write=write -D_RPC_close=close \
     57librpc_CPPFLAGS = -D_RPC_read=read -D_RPC_write=write -D_RPC_close=close \
    5858    -D_RTEMS_RPC_INTERNAL_
    5959
    60 EXTRA_LIBRARIES += o-optimize/librpc.a
    61 o_optimize_librpc_a_SOURCES = $(librpc_C_FILES)
    62 o_optimize_librpc_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
    63 $(librpc_a_CPPFLAGS)
     60EXTRA_LIBRARIES += librpc.a
     61librpc_a_SOURCES = $(librpc_C_FILES)
     62librpc_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) $(librpc_CPPFLAGS)
    6463
    65 EXTRA_LIBRARIES += o-debug/librpc.a
    66 o_debug_librpc_a_SOURCES = $(librpc_C_FILES)
    67 o_debug_librpc_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
    68 $(librpc_a_CPPFLAGS)
     64EXTRA_LIBRARIES += librpc_g.a
     65librpc_g_a_SOURCES = $(librpc_C_FILES)
     66librpc_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) $(librpc_CPPFLAGS)
    6967
    7068man_MANS += src/rpc/bindresvport.3 src/rpc/getrpcent.3 src/rpc/publickey.3 \
     
    7371    src/rpc/rpc.5 src/rpc/rstat.1 src/rpc/rtime.3
    7472
    75 all-local: $(ARCH)/librpc.a
     73all-local: librpc$(LIB_VARIANT).a
    7674endif
    7775
Note: See TracChangeset for help on using the changeset viewer.