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= base64 \ |
---|
16 | gethostbydns gethostbyht gethostbynis gethostnamadr \ |
---|
17 | herror \ |
---|
18 | inet_addr inet_ntoa inet_ntop inet_pton \ |
---|
19 | map_v4v6 \ |
---|
20 | nsap_addr ns_name ns_netint ns_parse ns_print ns_ttl \ |
---|
21 | res_comp res_data res_debug res_init res_mkquery res_mkupdate \ |
---|
22 | res_query res_send res_stubs res_update \ |
---|
23 | strsep |
---|
24 | C_FILES=$(C_PIECES:%=%.c) |
---|
25 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
26 | |
---|
27 | SRCS=$(C_FILES) |
---|
28 | OBJS=$(C_O_FILES) |
---|
29 | |
---|
30 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
31 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
32 | |
---|
33 | # |
---|
34 | # Add local stuff here using += |
---|
35 | # |
---|
36 | |
---|
37 | DEFINES += |
---|
38 | CPPFLAGS += |
---|
39 | CFLAGS += |
---|
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 | |
---|
51 | all: ${ARCH} $(LIB) |
---|
52 | |
---|
53 | $(LIB): $(SRCS) ${OBJS} |
---|
54 | $(make-library) |
---|
Note: See
TracBrowser
for help on using the repository browser.