ArDrone SDK 1.8 added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ARDroneLib / VP_SDK / Build / parrotOS_codec.makefile
diff --git a/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VP_SDK/Build/parrotOS_codec.makefile b/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VP_SDK/Build/parrotOS_codec.makefile
new file mode 100644 (file)
index 0000000..2d2c39b
--- /dev/null
@@ -0,0 +1,44 @@
+
+###########################################################################################
+#
+# Designed to build ParrotOS Codec library using generic.makefile
+# ----------------------------------------------------------------------------------
+# Author : sylvain.gaeremynck@parrot.com
+# Date   : 2009/06/09
+#
+###########################################################################################
+
+include common.makefile
+
+
+GENERIC_LIBRARY_TARGET_DIR=$(PARROTOS_CODEC_TARGET_DIR)
+GENERIC_TARGET_LIBRARY=$(GENERIC_LIBRARY_TARGET_DIR)/libparrotOS_codec.a
+
+# Check these defines against ParrotOs/codec/Makefile.global
+GENERIC_CFLAGS+=-DPOS_LINUX
+GENERIC_CFLAGS+=-D_XOPEN_SOURCE=600
+GENERIC_CFLAGS+=-DSUP_U32_IS_ATOMIC
+
+GENERIC_LIBRARY_SOURCE_FILES=                  \
+                       pal_codec.c
+
+GENERIC_LIBRARY_SOURCE_DIR=$(PARROTOS_CODEC_SOURCE_DIR)
+
+# All that needs to be exported
+########################
+export GENERIC_LIBRARY_TARGET_DIR
+export GENERIC_TARGET_LIBRARY
+export GENERIC_INCLUDES
+export GENERIC_LIBRARY_SOURCE_DIR
+export GENERIC_LIBRARY_SOURCE_FILES
+
+# All that shall not be defined
+########################
+export PARROTOS_MAKEFILE=
+export GENERIC_BINARIES_SOURCE_ENTRYPOINTS=
+export GENERIC_BINARIES_COMMON_SOURCE_FILES=
+
+
+all $(MAKECMDGOALS):
+       @$(MAKE) -f generic.makefile $(MAKECMDGOALS)
+