source:
rtems/c/src/librtems++/src/Makefile.in
@
e49d7c3
Last change on this file since e49d7c3 was e49d7c3, checked in by Joel Sherrill <joel.sherrill@…>, on 08/30/99 at 15:02:20 | |
---|---|
|
|
File size: 1.3 KB |
Rev | Line | |
---|---|---|
[0074691a] | 1 | # |
2 | # $Id$ | |
3 | # | |
4 | ||
5 | @SET_MAKE@ | |
6 | srcdir = @srcdir@ | |
[d8ff793] | 7 | top_srcdir = @top_srcdir@ |
[6693a68] | 8 | top_builddir = .. |
9 | subdir = librtems++ | |
[0074691a] | 10 | |
[6693a68] | 11 | RTEMS_ROOT = @RTEMS_ROOT@ |
[d8ff793] | 12 | PROJECT_ROOT = @PROJECT_ROOT@ |
13 | ||
14 | VPATH = @srcdir@ | |
15 | ||
[6693a68] | 16 | LIBNAME = librtems++.a |
17 | LIB = ${ARCH}/${LIBNAME} | |
[0074691a] | 18 | |
19 | # C and C++ source names, if any, go here -- minus the .c or .cc | |
[6693a68] | 20 | CC_PIECES = rtemsEvent rtemsInterrupt rtemsMessageQueue rtemsSemaphore \ |
21 | rtemsStatusCode rtemsTask rtemsTimer | |
22 | CC_FILES = $(CC_PIECES:%=%.cc) | |
23 | CC_O_FILES = $(CC_PIECES:%=${ARCH}/%.o) | |
[0074691a] | 24 | |
[6693a68] | 25 | SRCS = $(CC_FILES) |
26 | OBJS = $(CC_O_FILES) | |
[0074691a] | 27 | |
[6693a68] | 28 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
[cb5bfe4] | 29 | include $(RTEMS_ROOT)/make/lib.cfg |
[0074691a] | 30 | |
[6693a68] | 31 | INSTALL_CHANGE = @INSTALL_CHANGE@ |
32 | ||
[0074691a] | 33 | # |
34 | # Add local stuff here using += | |
35 | # | |
36 | ||
[e49d7c3] | 37 | DEFINES += |
[0074691a] | 38 | CPPFLAGS += |
[6693a68] | 39 | CFLAGS += $(LIBC_DEFINES) |
[0074691a] | 40 | |
41 | # | |
42 | # Add your list of files to delete here. The config files | |
43 | # already know how to delete some stuff, so you may want | |
44 | # to just run 'make clean' first to see what gets missed. | |
45 | # 'make clobber' already includes 'make clean' | |
46 | # | |
47 | ||
48 | CLEAN_ADDITIONS += $(LIB) | |
49 | CLOBBER_ADDITIONS += | |
50 | ||
[6693a68] | 51 | all: ${ARCH} $(LIB) |
52 | @$(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib | |
[0074691a] | 53 | |
54 | $(LIB): $(SRCS) ${OBJS} | |
55 | $(make-library) | |
56 | ||
[08b5f55] | 57 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
[d8ff793] | 58 | cd $(top_builddir) \ |
59 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
Note: See TracBrowser
for help on using the repository browser.