summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/3c509/Makefile.am
blob: 6c741eea90966141475e4b75ec56cab82ba43438 (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
30
31
32
33
34
35
36
37
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

PGM = $(ARCH)/3c509.rel

C_FILES = 3c509.c elink.c
X3c509_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o)

H_FILES = 3c509.h elink.h

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../../../../automake/lib.am

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

AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__

$(PGM): $(X3c509_rel_OBJECTS)
	$(make-rel)

# the .rel file built here will be put into libbsp.a by
# 	../wrapup/Makefile

if HAS_NETWORKING
all-local: $(ARCH) $(X3c509_rel_OBJECTS) $(PGM)
endif

.PRECIOUS: $(PGM)

EXTRA_DIST = 3c509.c 3c509.h elink.c elink.h

include $(top_srcdir)/../../../../../../automake/local.am