-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
20 lines (14 loc) · 928 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SUBDIRS = . src
EXTRA_DIST = autogen.sh configure.sh
all-am:
## If MESAPATH is supplied, create a symlinked directory to it
test ! -n "$(MESAPATH)" || test ! -d "$(MESAPATH)" || test -d mesa || ln -r -s $(MESAPATH) mesa
## If the MESAPATH environment variable was not passed to configure, we grab mesa from Github
test -d mesa || git clone -b Develop https://MixFirmwareBuild:[email protected]/MiXTelematics/MESA mesa/
## Map all the relavant MESA folders into our process
test ! -d mesa || test -d "src/mesa/dbus-mesa-api" || ln -s -r mesa/targets/linux/services/dbus/gdbusCodeGen src/mesa/dbus-mesa-api
test ! -d mesa || test -d "src/mesa/parameter" || ln -s -r mesa/mesa/services/parameter src/mesa/parameter
test ! -d mesa || test -d "src/mesa/defines" || ln -s -r mesa/mesa/defines src/mesa/defines
distclean-local:
test ! -d mesa || rm -rf mesa *~
test ! -d "src/mesa/dbus" || rm -rf src/mesa/dbus