summaryrefslogtreecommitdiffstats
path: root/c/src/libmisc/rootfs/Makefile.am
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-19 17:29:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-19 17:29:42 +0000
commitd34d2e695714fcaf3827ac0132d19f5781b986d0 (patch)
tree801edfaeeb00baf764e51a2c48b85e7dcbc7b4c3 /c/src/libmisc/rootfs/Makefile.am
parent5dfa8c1e4450e09b3d2d1f0fc7ea3a8f32e09a4e (diff)
downloadrtems-d34d2e695714fcaf3827ac0132d19f5781b986d0.tar.bz2
2001-09-19 Chris Johns <ccj@acm.org>
* 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.
Diffstat (limited to '')
-rw-r--r--c/src/libmisc/rootfs/Makefile.am41
1 files changed, 41 insertions, 0 deletions
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