source:
rtems/cpukit/libmisc/dumpbuf/Makefile.am
@
edeed26
Last change on this file since edeed26 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 15:00:15 | |
---|---|
|
|
File size: 737 bytes |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[4e36a2f] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[9608320] | 4 | |
5 | AUTOMAKE_OPTIONS = foreign 1.4 | |
6 | ||
7 | LIBNAME = libdumpbuf-tmp | |
[4e36a2f] | 8 | LIB = $(ARCH)/$(LIBNAME).a |
[9608320] | 9 | |
10 | C_FILES = dumpbuf.c | |
[4e36a2f] | 11 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
[9608320] | 12 | |
13 | H_FILES = dumpbuf.h | |
14 | ||
15 | OBJS = $(C_O_FILES) | |
16 | ||
17 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg | |
[4e36a2f] | 18 | include $(top_srcdir)/../../../automake/lib.am |
[9608320] | 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 | ||
[4e36a2f] | 29 | $(LIB): $(OBJS) |
[9608320] | 30 | $(make-library) |
31 | ||
[4e36a2f] | 32 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \ |
33 | $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%) | |
34 | ||
35 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) | |
36 | ||
37 | .PRECIOUS: $(LIB) | |
[9608320] | 38 | |
[4e36a2f] | 39 | EXTRA_DIST = dumpbuf.c dumpbuf.h |
[9608320] | 40 | |
41 | include $(top_srcdir)/../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.