From d34d2e695714fcaf3827ac0132d19f5781b986d0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 19 Sep 2001 17:29:42 +0000 Subject: 2001-09-19 Chris Johns * Added support for populating the initial "root" filesystem with information obtained via the DHCP response. * rootfs: New directory. * rootfs/.cvsignore, rootfs/Makefile.am, rootfs/mkrootfs.c, rootfs/mkrootfs.h: New files. * configure.in, Makefile.am: Modified to reflect addition. --- c/src/libmisc/rootfs/Makefile.am | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 c/src/libmisc/rootfs/Makefile.am (limited to 'c/src/libmisc/rootfs/Makefile.am') diff --git a/c/src/libmisc/rootfs/Makefile.am b/c/src/libmisc/rootfs/Makefile.am new file mode 100644 index 0000000000..891cbd88e1 --- /dev/null +++ b/c/src/libmisc/rootfs/Makefile.am @@ -0,0 +1,41 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +LIBNAME = librootfs-tmp +LIB = $(ARCH)/$(LIBNAME).a + +C_FILES = mkrootfs.c +C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) + +H_FILES = mkrootfs.h + +OBJS = $(C_O_FILES) + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../automake/lib.am + +$(PROJECT_INCLUDE)/rtems: + @$(mkinstalldirs) $@ +$(PROJECT_INCLUDE)/rtems/%.h: %.h + $(INSTALL_DATA) $< $@ + +# +# (OPTIONAL) Add local stuff here using += +# + +$(LIB): $(OBJS) + $(make-library) + +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \ + $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%) + +all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) + +.PRECIOUS: $(LIB) + +EXTRA_DIST = README mkrootfs.c mkrootfs.h + +include $(top_srcdir)/../../../automake/local.am -- cgit v1.2.3