Changeset c321496 in rtems for cpukit/libblock/Makefile.am


Ignore:
Timestamp:
07/31/02 05:48:15 (20 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b55fbf5
Parents:
e6cf7a3
Message:

2002-07-31 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Merge src/Makefile.am.
  • src/Makefile.am: Remove.
  • configure.ac: Remove src/Makefile.am
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/Makefile.am

    re6cf7a3 rc321496  
    55ACLOCAL_AMFLAGS = -I ../aclocal
    66
    7 SUBDIRS = src
     7include $(top_srcdir)/../automake/multilib.am
     8include $(top_srcdir)/../automake/compile.am
     9include $(top_srcdir)/../automake/lib.am
    810
    911include_rtemsdir = $(includedir)/rtems
     
    2224    $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
    2325
    24 all-local: $(PREINSTALL_FILES)
     26LIB = ${ARCH}/libblock.a
    2527
    26 EXTRA_DIST = README
     28C_FILES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c
    2729
    28 include $(top_srcdir)/../automake/subdirs.am
     30C_O_FILES = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
     31
     32SRCS = $(C_FILES)
     33OBJS = $(C_O_FILES)
     34
     35AM_CFLAGS += $(LIBC_DEFINES)
     36
     37${ARCH}/%.$(OBJEXT): src/%.c
     38        ${COMPILE} -o $@ -c $<
     39
     40$(LIB): ${OBJS}
     41        $(make-library)
     42
     43all-local: $(PREINSTALL_FILES) ${ARCH} $(LIB)
     44
    2945include $(top_srcdir)/../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.