summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/ppc403/tty_drv/Makefile.am
blob: f445fec6d8c6f78c4430dc9c81ebe79c9d6daccd (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
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

PGM = $(ARCH)/tty_drv.rel

include_HEADERS = tty_drv.h

C_FILES = tty_drv.c

tty_drv_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o)

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

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

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

all-local: $(ARCH) $(tty_drv_rel_OBJECTS) $(PGM)

.PRECIOUS: $(PGM)

EXTRA_DIST = tty_drv.c tty_drv.h

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