source: rtems/c/src/libmisc/rootfs/Makefile.am @ d34d2e69

4.104.114.84.95
Last change on this file since d34d2e69 was d34d2e69, checked in by Joel Sherrill <joel.sherrill@…>, on 09/19/01 at 17:29:42

2001-09-19 Chris Johns <ccj@…>

  • 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.
  • Property mode set to 100644
File size: 747 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = librootfs-tmp
8LIB = $(ARCH)/$(LIBNAME).a
9
10C_FILES = mkrootfs.c
11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
12
13H_FILES = mkrootfs.h
14
15OBJS = $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../automake/lib.am
19
20$(PROJECT_INCLUDE)/rtems:
21        @$(mkinstalldirs) $@
22$(PROJECT_INCLUDE)/rtems/%.h: %.h
23        $(INSTALL_DATA) $< $@
24
25#
26# (OPTIONAL) Add local stuff here using +=
27#
28
29$(LIB): $(OBJS)
30        $(make-library)
31
32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
33    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
34
35all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
36
37.PRECIOUS: $(LIB)
38
39EXTRA_DIST = README mkrootfs.c mkrootfs.h
40
41include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.