Changeset 9d0e65ed in rtems for cpukit/libmisc/Makefile.am


Ignore:
Timestamp:
Feb 7, 2005, 1:19:45 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1996aee7
Parents:
4d3b1bb
Message:

2005-02-07 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am: Add include/rtems/tar.h. Merge-in header rules from libmisc/Makefile.am
  • libmisc/Makefile.am: Remove header rules. Remove lib-specific CPPFLAGS.
  • configure.ac: Add checks for <tar.h>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/Makefile.am

    r4d3b1bb r9d0e65ed  
    77EXTRA_DIST = README
    88
    9 include_rtemsdir = $(includedir)/rtems
    10 include_rtems_HEADERS =
    119noinst_LIBRARIES =
    12 CLEANFILES =
    1310
    1411## capture
    1512EXTRA_DIST += capture/README
    16 include_rtems_HEADERS += capture/capture.h capture/capture-cli.h
    1713
    1814noinst_LIBRARIES += libcapture.a
    19 libcapture_a_SOURCES = capture/capture.c capture/capture-cli.c
    20 libcapture_a_CPPFLAGS = $(AM_CPPFLAGS)
     15libcapture_a_SOURCES = capture/capture.c capture/capture-cli.c \
     16    capture/capture.h capture/capture-cli.h
    2117
    2218## cpuuse
    2319EXTRA_DIST += cpuuse/README
    24 include_rtems_HEADERS += cpuuse/cpuuse.h
    2520
    2621noinst_LIBRARIES += libcpuuse.a
    27 libcpuuse_a_SOURCES = cpuuse/cpuuse.c
    28 libcpuuse_a_CPPFLAGS = $(AM_CPPFLAGS)
     22libcpuuse_a_SOURCES = cpuuse/cpuuse.c cpuuse/cpuuse.h
    2923
    3024## devnull
    31 include_rtems_HEADERS += devnull/devnull.h
    3225
    3326noinst_LIBRARIES += libdevnull.a
    34 libdevnull_a_SOURCES = devnull/devnull.c
    35 libdevnull_a_CPPFLAGS = $(AM_CPPFLAGS)
     27libdevnull_a_SOURCES = devnull/devnull.c devnull/devnull.h
    3628
    3729## dummy
     
    4032noinst_LIBRARIES += libdummy.a
    4133libdummy_a_SOURCES = dummy/dummy.c
    42 libdummy_a_CPPFLAGS = $(AM_CPPFLAGS)
    4334
    4435## dumpbuf
    45 include_rtems_HEADERS += dumpbuf/dumpbuf.h
    46 
    4736noinst_LIBRARIES += libdumpbuf.a
    48 libdumpbuf_a_SOURCES = dumpbuf/dumpbuf.c
    49 libdumpbuf_a_CPPFLAGS = $(AM_CPPFLAGS)
     37libdumpbuf_a_SOURCES = dumpbuf/dumpbuf.c dumpbuf/dumpbuf.h
    5038
    5139## monitor
    52 
    53 include_rtems_HEADERS += monitor/monitor.h
     40noinst_LIBRARIES += libmonitor.a
    5441libmonitor_a_SOURCES = monitor/mon-command.c monitor/mon-symbols.c \
    5542    monitor/mon-prmisc.c monitor/mon-monitor.c monitor/mon-object.c \
     
    5744    monitor/mon-driver.c monitor/mon-dname.c monitor/mon-itask.c \
    5845    monitor/mon-extension.c monitor/mon-manager.c monitor/mon-config.c \
    59     monitor/symbols.h
     46    monitor/symbols.h monitor/monitor.h
    6047if HAS_MP
    6148libmonitor_a_SOURCES += monitor/mon-mpci.c
    6249endif
    6350
    64 noinst_LIBRARIES += libmonitor.a
    65 libmonitor_a_CPPFLAGS = $(AM_CPPFLAGS)
    66 
    6751EXTRA_DIST += monitor/README
    6852
    6953## mw-fb
    70 include_rtems_HEADERS += mw-fb/mw_fb.h mw-fb/mw_uid.h
    71 
    7254noinst_LIBRARIES += libmw-fb.a
    73 libmw_fb_a_SOURCES = mw-fb/mw_fb.c mw-fb/mw_uid.c
    74 libmw_fb_a_CPPFLAGS = $(AM_CPPFLAGS)
     55libmw_fb_a_SOURCES = mw-fb/mw_fb.c mw-fb/mw_uid.c mw-fb/mw_fb.h \
     56    mw-fb/mw_uid.h
    7557
    7658## shell
    7759
    7860if LIBSHELL
    79 include_rtems_HEADERS += shell/shell.h
    80 
    8161noinst_LIBRARIES += libshell.a
    82 libshell_a_SOURCES = shell/cmds.c shell/shell.c
    83 libshell_a_CPPFLAGS = $(AM_CPPFLAGS)
     62libshell_a_SOURCES = shell/cmds.c shell/shell.c shell/shell.h
    8463endif
    8564
     
    8766
    8867## rtmonuse
    89 include_rtems_HEADERS += rtmonuse/rtmonuse.h
    90 
    9168noinst_LIBRARIES += librtmonuse.a
    92 librtmonuse_a_SOURCES = rtmonuse/rtmonuse.c
    93 librtmonuse_a_CPPFLAGS = $(AM_CPPFLAGS)
     69librtmonuse_a_SOURCES = rtmonuse/rtmonuse.c rtmonuse/rtmonuse.h
    9470
    9571## serdbg
    9672
    9773if LIBSERDBG
    98 include_rtems_HEADERS += serdbg/serdbgcnf.h serdbg/serdbg.h \
    99     serdbg/termios_printk_cnf.h serdbg/termios_printk.h
    100 
    10174noinst_LIBRARIES += libserdbg.a
    10275libserdbg_a_SOURCES = serdbg/serdbg.c serdbg/serdbgio.c \
    103     serdbg/termios_printk.c
    104 libserdbg_a_CPPFLAGS = $(AM_CPPFLAGS)
     76    serdbg/termios_printk.c serdbg/serdbgcnf.h serdbg/serdbg.h \
     77    serdbg/termios_printk_cnf.h serdbg/termios_printk.h
    10578endif
    10679
     
    10881
    10982## stackchk
    110 
    111 include_rtems_HEADERS += stackchk/stackchk.h
    112 
    11383noinst_LIBRARIES += libstackchk.a
    114 libstackchk_a_SOURCES = stackchk/check.c stackchk/internal.h
    115 libstackchk_a_CPPFLAGS = $(AM_CPPFLAGS)
     84libstackchk_a_SOURCES = stackchk/check.c stackchk/internal.h \
     85    stackchk/stackchk.h
    11686
    11787EXTRA_DIST += stackchk/README
    11888
    11989## libuntar
    120 
    121 include_rtems_HEADERS += untar/untar.h
    122 
    12390noinst_LIBRARIES += libuntar.a
    124 libuntar_a_SOURCES = untar/untar.c
    125 libuntar_a_CPPFLAGS = $(AM_CPPFLAGS)
     91libuntar_a_SOURCES = untar/untar.c untar/untar.h
    12692
    12793EXTRA_DIST += untar/README
    12894
    12995## fsmount
    130 include_rtems_HEADERS += fsmount/fsmount.h
    131 
    13296noinst_LIBRARIES += libfsmount.a
    133 libfsmount_a_SOURCES = fsmount/fsmount.c
    134 libfsmount_a_CPPFLAGS = $(AM_CPPFLAGS)
     97libfsmount_a_SOURCES = fsmount/fsmount.c fsmount/fsmount.h
    13598
    13699EXTRA_DIST += fsmount/README
     
    140103all-local: $(PREINSTALL_FILES)
    141104
    142 PREINSTALL_DIRS =
    143 PREINSTALL_FILES =
    144 
    145 $(PROJECT_INCLUDE)/rtems/$(dirstamp):
    146         @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
    147         @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    148 PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    149 
    150 $(PROJECT_INCLUDE)/rtems/capture.h: capture/capture.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    151         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/capture.h
    152 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/capture.h
    153 
    154 $(PROJECT_INCLUDE)/rtems/capture-cli.h: capture/capture-cli.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    155         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/capture-cli.h
    156 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/capture-cli.h
    157 
    158 $(PROJECT_INCLUDE)/rtems/cpuuse.h: cpuuse/cpuuse.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    159         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/cpuuse.h
    160 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/cpuuse.h
    161 
    162 $(PROJECT_INCLUDE)/rtems/devnull.h: devnull/devnull.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    163         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/devnull.h
    164 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/devnull.h
    165 
    166 $(PROJECT_INCLUDE)/rtems/dumpbuf.h: dumpbuf/dumpbuf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    167         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/dumpbuf.h
    168 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/dumpbuf.h
    169 
    170 $(PROJECT_INCLUDE)/rtems/monitor.h: monitor/monitor.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    171         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/monitor.h
    172 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/monitor.h
    173 
    174 $(PROJECT_INCLUDE)/rtems/mw_fb.h: mw-fb/mw_fb.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    175         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mw_fb.h
    176 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mw_fb.h
    177 
    178 $(PROJECT_INCLUDE)/rtems/mw_uid.h: mw-fb/mw_uid.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    179         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/mw_uid.h
    180 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/mw_uid.h
    181 
    182 if LIBSHELL
    183 $(PROJECT_INCLUDE)/rtems/shell.h: shell/shell.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    184         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/shell.h
    185 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/shell.h
    186 endif
    187 
    188 $(PROJECT_INCLUDE)/rtems/rtmonuse.h: rtmonuse/rtmonuse.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    189         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/rtmonuse.h
    190 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtmonuse.h
    191 
    192 if LIBSERDBG
    193 $(PROJECT_INCLUDE)/rtems/serdbgcnf.h: serdbg/serdbgcnf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    194         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/serdbgcnf.h
    195 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/serdbgcnf.h
    196 
    197 $(PROJECT_INCLUDE)/rtems/serdbg.h: serdbg/serdbg.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    198         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/serdbg.h
    199 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/serdbg.h
    200 
    201 $(PROJECT_INCLUDE)/rtems/termios_printk_cnf.h: serdbg/termios_printk_cnf.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    202         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/termios_printk_cnf.h
    203 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/termios_printk_cnf.h
    204 
    205 $(PROJECT_INCLUDE)/rtems/termios_printk.h: serdbg/termios_printk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    206         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/termios_printk.h
    207 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/termios_printk.h
    208 endif
    209 
    210 $(PROJECT_INCLUDE)/rtems/stackchk.h: stackchk/stackchk.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    211         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/stackchk.h
    212 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stackchk.h
    213 
    214 $(PROJECT_INCLUDE)/rtems/untar.h: untar/untar.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    215         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/untar.h
    216 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/untar.h
    217 
    218 $(PROJECT_INCLUDE)/rtems/fsmount.h: fsmount/fsmount.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
    219         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/fsmount.h
    220 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fsmount.h
    221 
    222 CLEANFILES += $(PREINSTALL_FILES)
    223 DISTCLEANFILES = $(PREINSTALL_DIRS)
    224 
    225105include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.