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

4.104.114.84.9
Last change on this file since 8accf46 was 8accf46, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 8, 2002 at 12:05:47 PM

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

  • rootfs/Makefile.am: Use include_rtems_HEADERS instead of H_FILES.
  • Property mode set to 100644
File size: 877 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
13include_rtemsdir = $(includedir)/rtems
14include_rtems_HEADERS = mkrootfs.h
15
16OBJS = $(C_O_FILES)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../automake/compile.am
20include $(top_srcdir)/../../../automake/lib.am
21
22$(PROJECT_INCLUDE)/rtems:
23        @$(mkinstalldirs) $@
24$(PROJECT_INCLUDE)/rtems/%.h: %.h
25        $(INSTALL_DATA) $< $@
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31$(LIB): $(OBJS)
32        $(make-library)
33
34PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
35    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
36
37if HAS_NETWORKING
38all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
39endif
40
41.PRECIOUS: $(LIB)
42
43EXTRA_DIST = README mkrootfs.c
44
45include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.