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

4.104.114.84.95
Last change on this file since 2543311 was 2543311, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 21, 2001 at 2:02:27 PM

2001-09-14 Joel Sherrill <joel@…>

  • configure.in, rootfs/Makefile.am: Added conditional to make sure rootfs does not get built with networking is disabled. Also added include of compile.am to rootfs/Makefile.am.
  • wrapup/Makefile.am: Added rootfs conditionally if networking enabled.
  • Property mode set to 100644
File size: 822 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/compile.am
19include $(top_srcdir)/../../../automake/lib.am
20
21$(PROJECT_INCLUDE)/rtems:
22        @$(mkinstalldirs) $@
23$(PROJECT_INCLUDE)/rtems/%.h: %.h
24        $(INSTALL_DATA) $< $@
25
26#
27# (OPTIONAL) Add local stuff here using +=
28#
29
30$(LIB): $(OBJS)
31        $(make-library)
32
33PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
34    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
35
36if HAS_NETWORKING
37all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
38endif
39
40.PRECIOUS: $(LIB)
41
42EXTRA_DIST = README mkrootfs.c mkrootfs.h
43
44include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.