4 COMMON_OPTIONS
= -DCMAKE_INSTALL_PREFIX
=..
/debian
/tmp
/usr \
5 -DSIMULATOR_INSTALL_PREFIX
=/usr \
9 -DALLOW_NIGHTLY_BUILDS
=NO \
10 -DVERSION_SUFFIX
=__VERSION_SUFFIX__
12 STM32_OPTIONS
= -DLUA
=YES
14 # secondly called by launchpad
18 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) -DPCB
=9X ..
/ ; make libsimulator
19 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) -DPCB
=GRUVIN9X ..
/ ; make libsimulator
20 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) -DPCB
=MEGA2560 ..
/ ; make libsimulator
21 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) -DPCB
=SKY9X ..
/ ; make libsimulator
22 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) -DPCB
=9XRPRO ..
/ ; make libsimulator
24 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) $(STM32_OPTIONS
) -DPCB
=X7 ..
/ ; make libsimulator
25 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) $(STM32_OPTIONS
) -DPCB
=X9D ..
/ ; make libsimulator
26 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) $(STM32_OPTIONS
) -DPCB
=X9D
+ ..
/ ; make libsimulator
27 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) $(STM32_OPTIONS
) -DPCB
=X9E ..
/ ; make libsimulator
28 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) $(STM32_OPTIONS
) -DPCB
=X12S ..
/ ; make libsimulator
29 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) $(STM32_OPTIONS
) -DPCB
=JUMPERT12 ..
/ ; make libsimulator
30 cd
$(BUILDDIR
); cmake
$(COMMON_OPTIONS
) $(STM32_OPTIONS
) -DPCB
=JUMPERT16 ..
/ ; make libsimulator
32 make
-C
$(BUILDDIR
) companion22 simulator22
34 # thirdly called by launchpad
35 binary
: binary-indep binary-arch
41 # final cmake neede in order to find all simulators
42 cd
$(BUILDDIR
); cmake ..
/
43 cd
$(BUILDDIR
); cmake
-P cmake_install.cmake
44 mkdir debian
/tmp
/DEBIAN
45 dpkg-shlibdeps debian
/tmp
/usr
/bin
/companion22 debian
/tmp
/usr
/bin
/simulator22 debian
/tmp
/usr
/lib
/companion22
/*
46 dpkg-gencontrol
-popentx-companion22
47 dpkg
--build debian
/tmp ..
49 # firstly called by launchpad
53 .PHONY
: binary binary-arch binary-indep
clean