summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/wrapup/Makefile.am
blob: d425887bf947002e30fb2c442594544bd32a9bc7 (plain) (blame)
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: $(OBJS) $(LIB)
endif

PREINSTALL_FILES =

include $(top_srcdir)/automake/local.am