source:
rtems/c/src/libmisc/untar/Makefile.in
@
08b5f55
Last change on this file since 08b5f55 was 08b5f55, checked in by Joel Sherrill <joel.sherrill@…>, on 07/26/99 at 20:31:49 | |
---|---|
|
|
File size: 1.4 KB |
Rev | Line | |
---|---|---|
[6693a68] | 1 | # |
[b08d3ed9] | 2 | # $Id$ |
3 | # | |
4 | ||
5 | @SET_MAKE@ | |
6 | srcdir = @srcdir@ | |
7 | top_srcdir = @top_srcdir@ | |
[6693a68] | 8 | top_builddir = ../.. |
9 | subdir = libmisc/untar | |
[b08d3ed9] | 10 | |
[6693a68] | 11 | RTEMS_ROOT = @RTEMS_ROOT@ |
[b08d3ed9] | 12 | PROJECT_ROOT = @PROJECT_ROOT@ |
13 | ||
14 | VPATH = @srcdir@ | |
15 | ||
[6693a68] | 16 | LIB = ${ARCH}/libuntar-tmp.a |
[b08d3ed9] | 17 | |
18 | # C source names, if any, go here -- minus the .c | |
[6693a68] | 19 | C_PIECES = untar |
20 | C_FILES = $(C_PIECES:%=%.c) | |
21 | C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) | |
[b08d3ed9] | 22 | |
[6693a68] | 23 | H_FILES = $(srcdir)/untar.h |
[b08d3ed9] | 24 | |
[6693a68] | 25 | SRCS = $(C_FILES) $(H_FILES) $(INSTALLED_H_FILES) |
26 | OBJS = $(C_O_FILES) | |
[b08d3ed9] | 27 | |
[6693a68] | 28 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
[b08d3ed9] | 29 | include $(RTEMS_ROOT)/make/lib.cfg |
30 | ||
[6693a68] | 31 | INSTALL_CHANGE = @INSTALL_CHANGE@ |
32 | mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs | |
33 | ||
34 | INSTALLDIRS = $(PROJECT_INCLUDE)/rtems | |
35 | ||
36 | $(INSTALLDIRS): | |
37 | @$(mkinstalldirs) $(INSTALLDIRS) | |
38 | ||
[b08d3ed9] | 39 | # |
40 | # (OPTIONAL) Add local stuff here using += | |
41 | # | |
42 | ||
[6693a68] | 43 | DEFINES += |
[b08d3ed9] | 44 | CPPFLAGS += -I. |
[6693a68] | 45 | CFLAGS += |
[b08d3ed9] | 46 | |
[6693a68] | 47 | LD_PATHS += |
48 | LD_LIBS += | |
49 | LDFLAGS += | |
[b08d3ed9] | 50 | |
51 | # | |
52 | # Add your list of files to delete here. The config files | |
53 | # already know how to delete some stuff, so you may want | |
54 | # to just run 'make clean' first to see what gets missed. | |
55 | # 'make clobber' already includes 'make clean' | |
56 | # | |
57 | ||
58 | CLEAN_ADDITIONS += | |
59 | CLOBBER_ADDITIONS += | |
60 | ||
61 | ${LIB}: ${SRCS} ${OBJS} | |
62 | $(make-library) | |
63 | ||
[6693a68] | 64 | all: ${ARCH} $(SRCS) $(LIB) |
65 | @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems | |
[b08d3ed9] | 66 | |
[08b5f55] | 67 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
[b08d3ed9] | 68 | cd $(top_builddir) \ |
69 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
Note: See TracBrowser
for help on using the repository browser.