summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/Makefile.am
blob: 13b0a27c6c8d41a9d6037f3da5eacbed9aff8f63 (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
30
31
32
33
34
##
## $Id$
##


VPATH = @srcdir@:@srcdir@/../../shared/openpic

C_FILES = openpic.c

include_bspdir = $(includedir)/bsp
include_bsp_HEADERS = ../../shared/openpic/openpic.h

H_FILES = ../../shared/openpic/openpic.h

OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))

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

$(PROJECT_INCLUDE)/bsp:
	$(mkinstalldirs) $< $@

$(PROJECT_INCLUDE)/bsp/openpic.h: ../../shared/openpic/openpic.h
	$(INSTALL_DATA) $< $@

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

PREINSTALL_FILES = $(PROJECT_INCLUDE)/bsp $(PROJECT_INCLUDE)/bsp/openpic.h

all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS)

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