-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
executable file
·43 lines (31 loc) · 1.42 KB
/
Makefile.am
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
38
39
40
41
42
43
MAKEFLAGS=@$MAKEFLAGS@
ACLOCAL_AMFLAGS = -I m4
include progstm32.mk
.PHONY: uartsdk app clean-local maintainer-clean-local javadoc
all: uartsdk app
uartsdk:
$(MAKE) -C $(top_srcdir)/sdk -$(MAKEFLAGS) $@
app:
$(MAKE) -C $(top_srcdir)/application -$(MAKEFLAGS) $@
javadoc:
$(MAKE) -C $(top_srcdir)/sdk $@
install-exec-hook:
$(MAKE) -C $(top_srcdir)/application $@
uninstall-local:
$(MAKE) -C $(top_srcdir)/application $@
clean-local:
$(MAKE) -C $(top_srcdir)/sdk $@
$(MAKE) -C $(top_srcdir)/application $@
AUTO_FILES_1 = INSTALL m4 configure Makefile.in depcomp config.guess config.sub missing aclocal.m4 install-sh ltmain.sh
AUTO_FILES_2 = config.h config.h.in config.h.in~ configdata.pm autom4te.cache config.status config.log stamp-h1 compile
SDK_FILES = sdk/Makefile sdk/Makefile.in sdk/bin
APP_FILES = application/Makefile application/Makefile.in application/bin
JAR_FILES = build/progstm32app.jar build/progstm32uart.jar build/sp-core.jar build/sp-tty.jar
DOC_FILES = documentation/uartsdk-javadocs
maintainer-clean-local:
[ -n "$(top_srcdir)" ] && cd $(top_srcdir) && rm -rf $(AUTO_FILES_1)
[ -n "$(top_srcdir)" ] && cd $(top_srcdir) && rm -rf $(AUTO_FILES_2)
[ -n "$(top_srcdir)" ] && cd $(top_srcdir) && rm -rf $(APP_FILES)
[ -n "$(top_srcdir)" ] && cd $(top_srcdir) && rm -rf $(SDK_FILES)
[ -n "$(top_srcdir)" ] && cd $(top_srcdir) && rm -rf $(JAR_FILES)
[ -n "$(top_srcdir)" ] && cd $(top_srcdir) && rm -rf $(DOC_FILES)