Changeset b98d0013 in rtems


Ignore:
Timestamp:
Nov 7, 2005, 7:30:36 AM (14 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
bb202459
Parents:
fd35059
Message:

Partial conversion to automake.

Location:
testsuites/samples
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/base_mp/node1/Makefile.am

    rfd35059 rb98d0013  
    99MANAGERS = io mp
    1010
    11 C_FILES = ../init.c ../apptask.c
    12 C_O_FILES = $(C_FILES:../%.c=${ARCH}/%.$(OBJEXT))
     11noinst_LIBRARIES = lib.a
     12lib_a_SOURCES = ../init.c ../apptask.c
    1313
    1414$(ARCH)/%.$(OBJEXT): ../%.c $(ARCH)/$(dirstamp)
    1515        ${COMPILE} -o $@ -c $<
    1616
    17 H_FILES = system.h
     17lib_a_SOURCES += system.h
    1818
    1919DOCTYPES = doc scn
    2020DOCS = $(DOCTYPES:%=base_mp.%)
    2121
    22 SRCS = $(DOCS) $(C_FILES) $(H_FILES)
    23 OBJS = $(C_O_FILES)
     22SRCS = $(DOCS)
     23OBJS = $(lib_a_OBJECTS)
    2424
    2525PRINT_SRCS = $(DOCS)
    2626
    2727include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    28 include $(top_srcdir)/../automake/compile.am
     28include $(top_srcdir)/../automake/amcompile.am
    2929include $(top_srcdir)/../automake/leaf.am
    3030include $(top_srcdir)/sample.am
  • testsuites/samples/base_mp/node2/Makefile.am

    rfd35059 rb98d0013  
    99MANAGERS = io mp
    1010
    11 C_FILES = ../init.c ../apptask.c
    12 C_O_FILES = $(C_FILES:../%.c=${ARCH}/%.$(OBJEXT))
     11noinst_LIBRARIES = lib.a
     12lib_a_SOURCES = ../init.c ../apptask.c
    1313
    1414$(ARCH)/%.$(OBJEXT): ../%.c $(ARCH)/$(dirstamp)
    1515        ${COMPILE} -o $@ -c $<
    1616
    17 H_FILES = system.h
     17lib_a_SOURCES += system.h
    1818
    1919DOCTYPES = doc scn
    2020DOCS = $(DOCTYPES:%=base_mp.%)
    2121
    22 SRCS = $(DOCS) $(C_FILES) $(H_FILES)
    23 OBJS = $(C_O_FILES)
     22SRCS = $(DOCS)
     23OBJS = $(lib_a_OBJECTS)
    2424
    2525PRINT_SRCS = $(DOCS)
    2626
    2727include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    28 include $(top_srcdir)/../automake/compile.am
     28include $(top_srcdir)/../automake/amcompile.am
    2929include $(top_srcdir)/../automake/leaf.am
    3030include $(top_srcdir)/sample.am
  • testsuites/samples/base_sp/Makefile.am

    rfd35059 rb98d0013  
    88MANAGERS = io
    99
    10 C_FILES = init.c apptask.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
    12 
    13 H_FILES = system.h
    14 noinst_HEADERS = $(H_FILES)
     10noinst_LIBRARIES = lib.a
     11lib_a_SOURCES = init.c apptask.c system.h
    1512
    1613DOCTYPES = doc scn
    1714DOCS = $(DOCTYPES:%=$(SAMPLE).%)
    1815
    19 SRCS = $(DOCS) $(C_FILES) $(H_FILES)
    20 OBJS = $(C_O_FILES)
     16SRCS = $(DOCS)
     17OBJS = $(lib_a_OBJECTS)
    2118
    2219PRINT_SRCS = $(DOCS)
    2320
    2421include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    25 include $(top_srcdir)/../automake/compile.am
     22include $(top_srcdir)/../automake/amcompile.am
    2623include $(top_srcdir)/../automake/leaf.am
    2724include $(top_srcdir)/sample.am
     
    3633        $(make-exe)
    3734
    38 EXTRA_DIST = $(C_FILES) $(DOCS)
     35EXTRA_DIST = $(DOCS)
    3936
    4037CLEANFILES = $(TMPINSTALL_FILES)
  • testsuites/samples/cdtest/Makefile.am

    rfd35059 rb98d0013  
    88MANAGERS = all
    99
    10 C_FILES = init.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
    12 
    13 CC_FILES = main.cc
    14 CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.$(OBJEXT))
    15 
    16 H_FILES = system.h
    17 noinst_HEADERS = $(H_FILES)
     10noinst_LIBRARIES = lib.a
     11lib_a_SOURCES = init.c main.cc system.h
    1812
    1913DOCTYPES = scn
    2014DOCS = $(DOCTYPES:%=$(SAMPLE).%)
    2115
    22 SRCS = $(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES)
    23 OBJS = $(C_O_FILES) $(CC_O_FILES)
     16SRCS = $(DOCS)
     17OBJS = $(lib_a_OBJECTS)
    2418
    2519PRINT_SRCS = $(DOCS)
    2620
    2721include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    28 include $(top_srcdir)/../automake/compile.am
     22include $(top_srcdir)/../automake/amcompile.am
    2923include $(top_srcdir)/../automake/leaf.am
    3024include $(top_srcdir)/sample.am
     
    4135all-local: $(TMPINSTALL_FILES)
    4236
    43 EXTRA_DIST = $(C_FILES) $(CC_FILES) $(DOCS)
     37EXTRA_DIST = $(DOCS)
    4438
    4539CLEANFILES = $(TMPINSTALL_FILES)
  • testsuites/samples/fileio/Makefile.am

    rfd35059 rb98d0013  
    88MANAGERS = io message semaphore
    99
    10 C_FILES = init.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
    12 
    13 H_FILES = system.h
    14 noinst_HEADERS = $(H_FILES)
     10noinst_LIBRARIES = lib.a
     11lib_a_SOURCES = init.c system.h
    1512
    1613DOCTYPES = doc
    1714DOCS = $(DOCTYPES:%=$(SAMPLE).%)
    1815
    19 SRCS = $(DOCS) $(C_FILES) $(H_FILES)
    20 OBJS = $(C_O_FILES)
     16SRCS = $(DOCS)
     17OBJS = $(lib_a_OBJECTS)
    2118
    2219PRINT_SRCS = $(DOCS)
    2320
    2421include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    25 include $(top_srcdir)/../automake/compile.am
     22include $(top_srcdir)/../automake/amcompile.am
    2623include $(top_srcdir)/../automake/leaf.am
    2724include $(top_srcdir)/sample.am
     
    3835endif
    3936
    40 EXTRA_DIST = $(C_FILES) $(DOCS)
     37EXTRA_DIST = $(DOCS)
    4138
    4239CLEANFILES = $(TMPINSTALL_FILES)
  • testsuites/samples/hello/Makefile.am

    rfd35059 rb98d0013  
    88MANAGERS = io
    99
    10 C_FILES = init.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
    12 
    13 H_FILES = system.h
    14 noinst_HEADERS = $(H_FILES)
     10noinst_LIBRARIES = lib.a
     11lib_a_SOURCES = init.c system.h
    1512
    1613DOCTYPES = doc scn
    1714DOCS = $(DOCTYPES:%=$(SAMPLE).%)
    1815
    19 SRCS = $(DOCS) $(C_FILES) $(H_FILES)
    20 OBJS = $(C_O_FILES)
     16SRCS = $(DOCS)
     17OBJS = $(lib_a_OBJECTS)
    2118
    2219PRINT_SRCS = $(DOCS)
    2320
    2421include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    25 include $(top_srcdir)/../automake/compile.am
     22include $(top_srcdir)/../automake/amcompile.am
    2623include $(top_srcdir)/../automake/leaf.am
    2724include $(top_srcdir)/sample.am
     
    3633        $(make-exe)
    3734
    38 EXTRA_DIST = $(C_FILES) $(DOCS)
     35EXTRA_DIST = $(DOCS)
    3936
    4037CLEANFILES = $(TMPINSTALL_FILES)
  • testsuites/samples/iostream/Makefile.am

    rfd35059 rb98d0013  
    88MANAGERS = io
    99
    10 CC_FILES = init.cc
    11 CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.$(OBJEXT))
    12 
    13 H_FILES = system.h
    14 noinst_HEADERS = $(H_FILES)
     10noinst_LIBRARIES = lib.a
     11lib_a_SOURCES = init.cc system.h
    1512
    1613DOCTYPES = doc scn
    1714DOCS = $(DOCTYPES:%=$(SAMPLE).%)
    1815
    19 SRCS = $(DOCS) $(CC_FILES) $(H_FILES)
    20 OBJS = $(CC_O_FILES)
     16SRCS = $(DOCS)
     17OBJS = $(lib_a_OBJECTS)
    2118
    2219PRINT_SRCS = $(DOCS)
    2320
    2421include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    25 include $(top_srcdir)/../automake/compile.am
     22include $(top_srcdir)/../automake/amcompile.am
    2623include $(top_srcdir)/../automake/leaf.am
    2724include $(top_srcdir)/sample.am
     
    3633        $(make-cxx-exe)
    3734
    38 EXTRA_DIST = $(C_FILES) $(DOCS)
     35EXTRA_DIST = $(DOCS)
    3936
    4037CLEANFILES = $(TMPINSTALL_FILES)
  • testsuites/samples/loopback/Makefile.am

    rfd35059 rb98d0013  
    88MANAGERS = io event
    99
    10 C_FILES = init.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
     10noinst_LIBRARIES = lib.a
     11lib_a_SOURCES = init.c
    1212
    1313DOCTYPES = scn
    1414DOCS = $(DOCTYPES:%=$(SAMPLE).%)
    1515
    16 SRCS = $(DOCS) $(C_FILES) $(H_FILES)
    17 OBJS = $(C_O_FILES)
     16SRCS = $(DOCS)
     17OBJS = $(lib_a_OBJECTS)
    1818
    1919PRINT_SRCS = $(DOCS)
    2020
    2121include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    22 include $(top_srcdir)/../automake/compile.am
     22include $(top_srcdir)/../automake/amcompile.am
    2323include $(top_srcdir)/../automake/leaf.am
    2424include $(top_srcdir)/sample.am
     
    3333        $(make-exe)
    3434
    35 EXTRA_DIST = $(C_FILES) $(DOCS)
     35EXTRA_DIST = $(DOCS)
    3636
    3737CLEANFILES = $(TMPINSTALL_FILES)
  • testsuites/samples/minimum/Makefile.am

    rfd35059 rb98d0013  
    88MANAGERS = all
    99
    10 C_FILES = init.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
     10noinst_LIBRARIES = lib.a
     11lib_a_SOURCES = init.c
    1212
    1313DOCTYPES = doc scn
    1414DOCS = $(DOCTYPES:%=$(SAMPLE).%)
    1515
    16 SRCS = $(DOCS) $(C_FILES) $(H_FILES)
    17 OBJS = $(C_O_FILES)
     16SRCS = $(DOCS)
     17OBJS = $(lib_a_OBJECTS)
    1818
    1919PRINT_SRCS = $(DOCS)
    2020
    2121include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    22 include $(top_srcdir)/../automake/compile.am
     22include $(top_srcdir)/../automake/amcompile.am
    2323include $(top_srcdir)/../automake/leaf.am
    2424include $(top_srcdir)/sample.am
     
    3434        $(make-exe)
    3535
    36 EXTRA_DIST = $(C_FILES) $(DOCS)
     36EXTRA_DIST = $(DOCS)
    3737
    3838CLEANFILES = $(TMPINSTALL_FILES)
  • testsuites/samples/paranoia/Makefile.am

    rfd35059 rb98d0013  
    88MANAGERS = all
    99
    10 C_FILES = init.c paranoia.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
    12 
    13 H_FILES = system.h
    14 noinst_HEADERS = $(H_FILES)
     10noinst_LIBRARIES = lib.a
     11lib_a_SOURCES = init.c paranoia.c system.h
    1512
    1613DOCTYPES = doc
    1714DOCS = $(DOCTYPES:%=$(SAMPLE).%)
    1815
    19 SRCS = $(DOCS) $(C_FILES) $(H_FILES)
    20 OBJS = $(C_O_FILES)
     16SRCS = $(DOCS)
     17OBJS = $(lib_a_OBJECTS)
    2118
    2219PRINT_SRCS = $(DOCS)
    2320
    2421include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    25 include $(top_srcdir)/../automake/compile.am
     22include $(top_srcdir)/../automake/amcompile.am
    2623include $(top_srcdir)/../automake/leaf.am
    2724include $(top_srcdir)/sample.am
     
    4239        $(make-exe)
    4340
    44 EXTRA_DIST = $(C_FILES) $(DOCS)
     41EXTRA_DIST = $(DOCS)
    4542
    4643CLEANFILES = $(TMPINSTALL_FILES)
  • testsuites/samples/pppd/Makefile.am

    rfd35059 rb98d0013  
    88MANAGERS = io event semaphore
    99
    10 C_FILES = init.c pppdapp.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
     10noinst_LIBRARIES = lib.a
     11lib_a_SOURCES = init.c pppdapp.c netconfig.h system.h
    1212
    13 H_FILES = netconfig.h system.h
    14 
    15 SRCS = $(C_FILES) $(H_FILES)
    16 OBJS = $(C_O_FILES)
     13OBJS = $(lib_a_OBJECTS)
    1714
    1815PRINT_SRCS = $(DOCS)
    1916
    2017include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    21 include $(top_srcdir)/../automake/compile.am
     18include $(top_srcdir)/../automake/amcompile.am
    2219include $(top_srcdir)/../automake/leaf.am
    2320include $(top_srcdir)/sample.am
     
    3431        $(make-exe)
    3532
    36 EXTRA_DIST = $(C_FILES) $(H_FILES)
    37 
    3833CLEANFILES = $(TMPINSTALL_FILES)
    3934
  • testsuites/samples/ticker/Makefile.am

    rfd35059 rb98d0013  
    88MANAGERS = io
    99
    10 C_FILES = init.c tasks.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
    12 
    13 H_FILES = system.h
    14 noinst_HEADERS = $(H_FILES)
     10noinst_LIBRARIES = lib.a
     11lib_a_SOURCES = init.c tasks.c system.h
    1512
    1613DOCTYPES = doc scn
    1714DOCS = $(DOCTYPES:%=$(SAMPLE).%)
    1815
    19 SRCS = $(DOCS) $(C_FILES) $(H_FILES)
    20 OBJS = $(C_O_FILES)
     16SRCS = $(DOCS)
     17OBJS = $(lib_a_OBJECTS)
    2118
    2219PRINT_SRCS = $(DOCS)
    2320
    2421include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    25 include $(top_srcdir)/../automake/compile.am
     22include $(top_srcdir)/../automake/amcompile.am
    2623include $(top_srcdir)/../automake/leaf.am
    2724include $(top_srcdir)/sample.am
     
    3633        $(make-exe)
    3734
    38 EXTRA_DIST = $(C_FILES) $(DOCS)
     35EXTRA_DIST = $(DOCS)
    3936
    4037CLEANFILES = $(TMPINSTALL_FILES)
  • testsuites/samples/unlimited/Makefile.am

    rfd35059 rb98d0013  
    88MANAGERS = io event
    99
    10 C_FILES = init.c test1.c test2.c test3.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
    12 
    13 H_FILES = system.h
    14 noinst_HEADERS = $(H_FILES)
     10noinst_LIBRARIES = lib.a
     11lib_a_SOURCES = init.c test1.c test2.c test3.c system.h
    1512
    1613DOCTYPES = doc scn
    1714DOCS = $(DOCTYPES:%=$(SAMPLE).%)
    1815
    19 SRCS = $(DOCS) $(C_FILES) $(H_FILES)
    20 OBJS = $(C_O_FILES)
     16SRCS = $(DOCS)
     17OBJS = $(lib_a_OBJECTS)
    2118
    2219PRINT_SRCS = $(DOCS)
    2320
    2421include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    25 include $(top_srcdir)/../automake/compile.am
     22include $(top_srcdir)/../automake/amcompile.am
    2623include $(top_srcdir)/../automake/leaf.am
    2724include $(top_srcdir)/sample.am
     
    3633        $(make-exe)
    3734
    38 EXTRA_DIST = $(C_FILES) $(DOCS)
     35EXTRA_DIST = $(DOCS)
    3936
    4037CLEANFILES = $(TMPINSTALL_FILES)
Note: See TracChangeset for help on using the changeset viewer.