4.104.114.84.95
Last change
on this file since 05b8b60 was
8accf46,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/08/02 at 12:05:47
|
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 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | LIBNAME = librootfs-tmp |
---|
8 | LIB = $(ARCH)/$(LIBNAME).a |
---|
9 | |
---|
10 | C_FILES = mkrootfs.c |
---|
11 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
12 | |
---|
13 | include_rtemsdir = $(includedir)/rtems |
---|
14 | include_rtems_HEADERS = mkrootfs.h |
---|
15 | |
---|
16 | OBJS = $(C_O_FILES) |
---|
17 | |
---|
18 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
19 | include $(top_srcdir)/../../../automake/compile.am |
---|
20 | include $(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 | |
---|
34 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \ |
---|
35 | $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%) |
---|
36 | |
---|
37 | if HAS_NETWORKING |
---|
38 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) |
---|
39 | endif |
---|
40 | |
---|
41 | .PRECIOUS: $(LIB) |
---|
42 | |
---|
43 | EXTRA_DIST = README mkrootfs.c |
---|
44 | |
---|
45 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.