4.104.114.84.95
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | if HAS_POSIX |
---|
8 | POSIX_PIECES = rtems_webserver |
---|
9 | endif |
---|
10 | |
---|
11 | NET_O_PIECES = kern lib libc net netinet nfs rtems rtems_servers pppd \ |
---|
12 | $(POSIX_PIECES) |
---|
13 | OBJS = $(foreach piece, $(NET_O_PIECES), ../$(piece)/$(ARCH)/*.o) |
---|
14 | LIB = $(ARCH)/libnetworking.a |
---|
15 | |
---|
16 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
17 | include $(top_srcdir)/../../../automake/lib.am |
---|
18 | |
---|
19 | # |
---|
20 | # (OPTIONAL) Add local stuff here using += |
---|
21 | # |
---|
22 | |
---|
23 | $(LIB): $(OBJS) |
---|
24 | $(make-library) |
---|
25 | |
---|
26 | $(PROJECT_RELEASE)/lib/libnetworking$(LIB_VARIANT).a: $(LIB) |
---|
27 | $(INSTALL_DATA) $< $@ |
---|
28 | |
---|
29 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libnetworking$(LIB_VARIANT).a |
---|
30 | |
---|
31 | all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES) |
---|
32 | |
---|
33 | .PRECIOUS: $(LIB) |
---|
34 | |
---|
35 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.