4.104.114.84.95
Last change
on this file since 620e8263 was
620e8263,
checked in by Joel Sherrill <joel.sherrill@…>, on 02/05/01 at 18:26:26
|
2001-02-03 Ralf Corsepius <corsepiu@…>
- untar/Makefile.am, monitor/Makefile.am, dummy/Makefile.am,
devnull/Makefile.am, dumpbuf/Makefile.am, mw-fb/Makefile.am,
stackchk/Makefile.am, rtmonuse/Makefile.am, cpuuse/Makefile.am:
Apply include_*HEADERS instead of H_FILES.
|
-
Property mode set to
100644
|
File size:
846 bytes
|
Rev | Line | |
---|
[85d03e2] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
| 4 | |
---|
| 5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
| 6 | |
---|
[620e8263] | 7 | include_rtemsdir = $(includedir)/rtems |
---|
| 8 | |
---|
[85d03e2] | 9 | LIBNAME = libdevnull-tmp |
---|
| 10 | LIB = $(ARCH)/$(LIBNAME).a |
---|
| 11 | |
---|
| 12 | C_FILES = devnull.c |
---|
| 13 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
| 14 | |
---|
[620e8263] | 15 | include_rtems_HEADERS = devnull.h |
---|
[85d03e2] | 16 | |
---|
| 17 | OBJS = $(C_O_FILES) |
---|
| 18 | |
---|
| 19 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
| 20 | include $(top_srcdir)/../../../automake/compile.am |
---|
| 21 | include $(top_srcdir)/../../../automake/lib.am |
---|
| 22 | |
---|
| 23 | $(PROJECT_INCLUDE)/rtems: |
---|
| 24 | @$(mkinstalldirs) $@ |
---|
| 25 | $(PROJECT_INCLUDE)/rtems/%.h: %.h |
---|
| 26 | $(INSTALL_DATA) $< $@ |
---|
| 27 | |
---|
| 28 | # |
---|
| 29 | # (OPTIONAL) Add local stuff here using += |
---|
| 30 | # |
---|
| 31 | |
---|
| 32 | $(LIB): $(OBJS) |
---|
| 33 | $(make-library) |
---|
| 34 | |
---|
| 35 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \ |
---|
[620e8263] | 36 | $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%) |
---|
[85d03e2] | 37 | |
---|
| 38 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) |
---|
| 39 | |
---|
| 40 | .PRECIOUS: $(LIB) |
---|
| 41 | |
---|
| 42 | EXTRA_DIST = devnull.c |
---|
| 43 | |
---|
| 44 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.