4.104.114.84.95
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | VPATH = @srcdir@ |
---|
8 | RTEMS_ROOT = @top_srcdir@ |
---|
9 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
10 | |
---|
11 | LIBNAME=lib.a |
---|
12 | LIB=${ARCH}/${LIBNAME} |
---|
13 | |
---|
14 | # C and C++ source names, if any, go here -- minus the .c or .cc |
---|
15 | C_PIECES=if if_ethersubr if_loop \ |
---|
16 | radix route rtsock \ |
---|
17 | raw_cb raw_usrreq |
---|
18 | C_FILES=$(C_PIECES:%=%.c) |
---|
19 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
20 | |
---|
21 | SRCS=$(C_FILES) |
---|
22 | OBJS=$(C_O_FILES) |
---|
23 | |
---|
24 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
25 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
26 | |
---|
27 | # |
---|
28 | # Add local stuff here using += |
---|
29 | # |
---|
30 | |
---|
31 | DEFINES += |
---|
32 | CPPFLAGS += |
---|
33 | CFLAGS += |
---|
34 | |
---|
35 | # |
---|
36 | # Add your list of files to delete here. The config files |
---|
37 | # already know how to delete some stuff, so you may want |
---|
38 | # to just run 'make clean' first to see what gets missed. |
---|
39 | # 'make clobber' already includes 'make clean' |
---|
40 | # |
---|
41 | |
---|
42 | CLEAN_ADDITIONS += $(LIB) |
---|
43 | CLOBBER_ADDITIONS += |
---|
44 | |
---|
45 | all: ${ARCH} $(LIB) |
---|
46 | |
---|
47 | $(LIB): $(SRCS) ${OBJS} |
---|
48 | $(make-library) |
---|
Note: See
TracBrowser
for help on using the repository browser.