Changeset 8d46f4f in rtems


Ignore:
Timestamp:
Dec 1, 2003, 4:06:40 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5ef82f97
Parents:
0998f21
Message:

2003-11-30 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Add $(dirstamp) to compilation rules. Fix misc. typos.
Location:
cpukit/libmisc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/ChangeLog

    r0998f21 r8d46f4f  
     12003-11-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Add $(dirstamp) to compilation rules.
     4        Fix misc. typos.
     5
    162003-11-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/libmisc/Makefile.am

    r0998f21 r8d46f4f  
    1818
    1919libcapture_C_FILES = capture/capture.c capture/capture-cli.c
    20 libcapture_OBJS = $(C_FILES:capture/%.c=capture/$(ARCH)/%.$(OBJEXT))
     20libcapture_OBJS = $(libcapture_C_FILES:capture/%.c=capture/$(ARCH)/%.$(OBJEXT))
    2121
    2222include_rtems_HEADERS += capture/capture.h capture/capture-cli.h
    2323
    24 capture/$(ARCH):
    25         @$(mkinstalldirs) $@
    26 capture/$(ARCH)/%.$(OBJEXT): capture/%.c
     24capture/$(ARCH)/$(dirstamp):
     25        @$(mkinstalldirs) capture/$(ARCH)
     26        @: > capture/$(ARCH)/$(dirstamp)
     27capture/$(ARCH)/%.$(OBJEXT): capture/%.c capture/$(ARCH)/$(dirstamp)
    2728        ${COMPILE} -o $@ -c $<
    2829capture/$(ARCH)/libcapture.a: $(libcapture_OBJS)
    2930        $(make-library)
    3031
    31 LIBS += capture/$(ARCH) capture/$(ARCH)/libcapture.a
     32LIBS += capture/$(ARCH)/libcapture.a
    3233
    3334EXTRA_DIST += capture/README capture/capture.c capture/capture-cli.c
     
    4041include_rtems_HEADERS += cpuuse/cpuuse.h
    4142
    42 cpuuse/$(ARCH):
    43         @$(mkinstalldirs) $@
    44 cpuuse/$(ARCH)/%.$(OBJEXT): cpuuse/%.c
     43cpuuse/$(ARCH)/$(dirstamp):
     44        @$(mkinstalldirs) cpuuse/$(ARCH)
     45        @: > cpuuse/$(ARCH)/$(dirstamp)
     46cpuuse/$(ARCH)/%.$(OBJEXT): cpuuse/%.c cpuuse/$(ARCH)/$(dirstamp)
    4547        ${COMPILE} -o $@ -c $<
    4648cpuuse/$(ARCH)/libcpuuse.a: $(libcpuuse_OBJS)
    4749        $(make-library)
    4850
    49 LIBS += cpuuse/$(ARCH) cpuuse/$(ARCH)/libcpuuse.a
     51LIBS += cpuuse/$(ARCH)/libcpuuse.a
    5052EXTRA_DIST += cpuuse/README cpuuse/cpuuse.c
    5153
     
    5860include_rtems_HEADERS += devnull/devnull.h
    5961
    60 devnull/$(ARCH):
    61         @$(mkinstalldirs) $@
    62 devnull/$(ARCH)/%.$(OBJEXT): devnull/%.c
     62devnull/$(ARCH)/$(dirstamp):
     63        @$(mkinstalldirs) devnull/$(ARCH)
     64        @: > devnull/$(ARCH)/$(dirstamp)
     65devnull/$(ARCH)/%.$(OBJEXT): devnull/%.c devnull/$(ARCH)/$(dirstamp)
    6366        ${COMPILE} -o $@ -c $<
    6467devnull/$(ARCH)/libdevnull.a: $(libdevnull_OBJS)
    6568        $(make-library)
    6669
    67 LIBS += devnull/$(ARCH) devnull/$(ARCH)/libdevnull.a
     70LIBS += devnull/$(ARCH)/libdevnull.a
    6871
    6972EXTRA_DIST += devnull/devnull.c
     
    7477libdummy_OBJS = $(libdummy_C_FILES:dummy/%.c=dummy/$(ARCH)/%.$(OBJEXT))
    7578
    76 dummy/$(ARCH):
    77         @$(mkinstalldirs) $@
    78 dummy/$(ARCH)/%.$(OBJEXT): dummy/%.c
     79dummy/$(ARCH)/$(dirstamp):
     80        @$(mkinstalldirs) dummy/$(ARCH)
     81        @: > dummy/$(ARCH)/$(dirstamp)
     82dummy/$(ARCH)/%.$(OBJEXT): dummy/%.c dummy/$(ARCH)/$(dirstamp)
    7983        ${COMPILE} -o $@ -c $<
    8084dummy/$(ARCH)/libdummy.a: $(libdummy_OBJS)
    8185        $(make-library)
    8286
    83 LIBS += dummy/$(ARCH) dummy/$(ARCH)/libdummy.a
     87LIBS += dummy/$(ARCH)/libdummy.a
    8488
    8589EXTRA_DIST += dummy/README dummy/dummy.c
     
    9397include_rtems_HEADERS += dumpbuf/dumpbuf.h
    9498
    95 dumpbuf/$(ARCH):
    96         @$(mkinstalldirs) $@
    97 dumpbuf/$(ARCH)/%.$(OBJEXT): dumpbuf/%.c
     99dumpbuf/$(ARCH)/$(dirstamp):
     100        @$(mkinstalldirs) dumpbuf/$(ARCH)
     101        @: > dumpbuf/$(ARCH)/$(dirstamp)
     102dumpbuf/$(ARCH)/%.$(OBJEXT): dumpbuf/%.c dumpbuf/$(ARCH)/$(dirstamp)
    98103        ${COMPILE} -o $@ -c $<
    99104dumpbuf/$(ARCH)/libdumpbuf.a: $(libdumpbuf_OBJS)
    100105        $(make-library)
    101106
    102 LIBS += dumpbuf/$(ARCH) dumpbuf/$(ARCH)/libdumpbuf.a
     107LIBS += dumpbuf/$(ARCH)/libdumpbuf.a
    103108
    104109EXTRA_DIST += dumpbuf/dumpbuf.c
     
    126131noinst_HEADERS += monitor/symbols.h
    127132
    128 monitor/$(ARCH):
    129         @$(mkinstalldirs) $@
    130 monitor/$(ARCH)/%.$(OBJEXT): monitor/%.c
     133monitor/$(ARCH)/$(dirstamp):
     134        @$(mkinstalldirs) monitor/$(ARCH)
     135        @: > monitor/$(ARCH)/$(dirstamp)
     136monitor/$(ARCH)/%.$(OBJEXT): monitor/%.c monitor/$(ARCH)/$(dirstamp)
    131137        ${COMPILE} -o $@ -c $<
    132138monitor/$(ARCH)/libmonitor.a: $(libmonitor_OBJS)
    133139        $(make-library)
    134140
    135 LIBS += monitor/$(ARCH) monitor/$(ARCH)/libmonitor.a
     141LIBS += monitor/$(ARCH)/libmonitor.a
    136142
    137143EXTRA_DIST += monitor/README monitor/mon-command.c monitor/mon-config.c \
     
    149155include_rtems_HEADERS += mw-fb/mw_fb.h mw-fb/mw_uid.h
    150156
    151 mw-fb/$(ARCH):
    152         @$(mkinstalldirs) $@
    153 mw-fb/$(ARCH)/%.$(OBJEXT): mw-fb/%.c
     157mw-fb/$(ARCH)/$(dirstamp):
     158        @$(mkinstalldirs) mw-fb/$(ARCH)
     159        @: > mw-fb/$(ARCH)/$(dirstamp)
     160mw-fb/$(ARCH)/%.$(OBJEXT): mw-fb/%.c mw-fb/$(ARCH)/$(dirstamp)
    154161        ${COMPILE} -o $@ -c $<
    155162mw-fb/$(ARCH)/libmw-fb.a: $(libmw_fb_OBJS)
    156163        $(make-library)
    157164
    158 LIBS += mw-fb/$(ARCH) mw-fb/$(ARCH)/libmw-fb.a
     165LIBS += mw-fb/$(ARCH)/libmw-fb.a
    159166
    160167EXTRA_DIST += $(libmw_fb_C_FILES)
     
    169176endif
    170177
    171 shell/$(ARCH):
    172         @$(mkinstalldirs) $@
    173 shell/$(ARCH)/%.$(OBJEXT): shell/%.c
     178shell/$(ARCH)/$(dirstamp):
     179        @$(mkinstalldirs) shell/$(ARCH)
     180        @: > shell/$(ARCH)/$(dirstamp)
     181shell/$(ARCH)/%.$(OBJEXT): shell/%.c shell/$(ARCH)/$(dirstamp)
    174182        ${COMPILE} -o $@ -c $<
    175183shell/$(ARCH)/libshell.a: $(libshell_OBJS)
     
    177185
    178186if LIBSHELL
    179 LIBS += shell/$(ARCH) shell/$(ARCH)/libshell.a
     187LIBS += shell/$(ARCH)/libshell.a
    180188endif
    181189
     
    190198include_rtems_HEADERS += rtmonuse/rtmonuse.h
    191199
    192 rtmonuse/$(ARCH):
    193         @$(mkinstalldirs) $@
    194 rtmonuse/$(ARCH)/%.$(OBJEXT): rtmonuse/%.c
     200rtmonuse/$(ARCH)/$(dirstamp):
     201        @$(mkinstalldirs) rtmonuse/$(ARCH)
     202        @: > rtmonuse/$(ARCH)/$(dirstamp)
     203rtmonuse/$(ARCH)/%.$(OBJEXT): rtmonuse/%.c rtmonuse/$(ARCH)/$(dirstamp)
    195204        ${COMPILE} -o $@ -c $<
    196205rtmonuse/$(ARCH)/librtmonuse.a: $(librtmonuse_OBJS)
    197206        $(make-library)
    198207
    199 LIBS += rtmonuse/$(ARCH) rtmonuse/$(ARCH)/librtmonuse.a
     208LIBS += rtmonuse/$(ARCH)/librtmonuse.a
    200209
    201210EXTRA_DIST += rtmonuse/rtmonuse.c
     
    212221endif
    213222
    214 serdbg/$(ARCH):
    215         @$(mkinstalldirs) $@
    216 serdbg/$(ARCH)/%.$(OBJEXT): serdbg/%.c
     223serdbg/$(ARCH)/$(dirstamp):
     224        @$(mkinstalldirs) serdbg/$(ARCH)
     225        @: > serdbg/$(ARCH)/$(dirstamp)
     226serdbg/$(ARCH)/%.$(OBJEXT): serdbg/%.c serdbg/$(ARCH)/$(dirstamp)
    217227        ${COMPILE} -o $@ -c $<
    218228serdbg/$(ARCH)/libserdbg.a: $(libserdbg_OBJS)
     
    220230
    221231if LIBSERDBG
    222 LIBS += serdbg/$(ARCH) serdbg/$(ARCH)/libserdbg.a
     232LIBS += serdbg/$(ARCH)/libserdbg.a
    223233endif
    224234
     
    237247noinst_HEADERS += stackchk/internal.h
    238248
    239 stackchk/$(ARCH):
    240         @$(mkinstalldirs) $@
    241 stackchk/$(ARCH)/%.$(OBJEXT): stackchk/%.c
     249stackchk/$(ARCH)/$(dirstamp):
     250        @$(mkinstalldirs) stackchk/$(ARCH)
     251        @: > stackchk/$(ARCH)/$(dirstamp)
     252stackchk/$(ARCH)/%.$(OBJEXT): stackchk/%.c stackchk/$(ARCH)/$(dirstamp)
    242253        ${COMPILE} -o $@ -c $<
    243254stackchk/$(ARCH)/libstackchk.a: $(libstackchk_OBJS)
    244255        $(make-library)
    245256
    246 LIBS += stackchk/$(ARCH) stackchk/$(ARCH)/libstackchk.a
     257LIBS += stackchk/$(ARCH)/libstackchk.a
    247258
    248259EXTRA_DIST += stackchk/README stackchk/check.c
     
    255266include_rtems_HEADERS += untar/untar.h
    256267
    257 untar/$(ARCH):
    258         @$(mkinstalldirs) $@
    259 untar/$(ARCH)/%.$(OBJEXT): untar/%.c
     268untar/$(ARCH)/$(dirstamp):
     269        @$(mkinstalldirs) untar/$(ARCH)
     270        @: > untar/$(ARCH)/$(dirstamp)
     271untar/$(ARCH)/%.$(OBJEXT): untar/%.c untar/$(ARCH)/$(dirstamp)
    260272        ${COMPILE} -o $@ -c $<
    261273untar/$(ARCH)/libuntar.a: $(libuntar_OBJS)
    262274        $(make-library)
    263275
    264 LIBS += untar/$(ARCH) untar/$(ARCH)/libuntar.a
     276LIBS += untar/$(ARCH)/libuntar.a
    265277
    266278EXTRA_DIST += untar/README untar/untar.c
     
    274286include_rtems_HEADERS += fsmount/fsmount.h
    275287
    276 fsmount/$(ARCH):
    277         @$(mkinstalldirs) $@
    278 fsmount/$(ARCH)/%.$(OBJEXT): fsmount/%.c
     288fsmount/$(ARCH)/$(dirstamp):
     289        @$(mkinstalldirs) fsmount/$(ARCH)
     290        @: > fsmount/$(ARCH)/$(dirstamp)
     291fsmount/$(ARCH)/%.$(OBJEXT): fsmount/%.c fsmount/$(ARCH)/$(dirstamp)
    279292        ${COMPILE} -o $@ -c $<
    280293fsmount/$(ARCH)/libfsmount.a: $(libfsmount_OBJS)
    281294        $(make-library)
    282295
    283 LIBS += fsmount/$(ARCH) fsmount/$(ARCH)/libfsmount.a
     296LIBS += fsmount/$(ARCH)/libfsmount.a
    284297
    285298EXTRA_DIST += fsmount/README fsmount/fsmount.c
Note: See TracChangeset for help on using the changeset viewer.