summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/wrapup/Makefile.am
blob: 83aa6d50807bbbfeeb3b1f13613f8d4b9e2aa90a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
##
## $Id$
##


if HAS_POSIX
POSIX_PIECES = rtems_webserver
endif

NET_O_PIECES = rtems_servers \
    rtems_telnetd pppd $(POSIX_PIECES)
OBJS = $(foreach piece, $(NET_O_PIECES), ../$(piece)/$(ARCH)/*.$(OBJEXT))
LIB = $(ARCH)/libnetapps.a

include $(top_srcdir)/automake/compile.am
include $(top_srcdir)/automake/lib.am

#
# (OPTIONAL) Add local stuff here using +=
#

if HAS_NETWORKING
$(LIB): $(OBJS)
	$(make-library)

all-local: $(ARCH) $(OBJS) $(LIB)
endif

include $(top_srcdir)/automake/local.am