androidcamera: Prettify the gstahccallback.c generation line in the makefile

This commit is contained in:
Youness Alaoui 2012-11-19 18:25:12 -05:00 committed by Nicolas Dufresne
parent 0cc2e86492
commit 178ef6e9b7

View file

@ -36,12 +36,12 @@ CLEANFILES = gstahccallback.c
if HAVE_ANDROID_SDK
gstahccallback.c: $(JAVA_SOURCE)
@echo " JAVAC $(JAVA_SOURCE)"
@echo -e " JAVAC\t $(JAVA_SOURCE)"
@$(JAVAC) -target 1.6 -source 1.6 -nowarn \
-classpath $(ANDROID_SDK_DIR)/platforms/android-$(ANDROID_PLATFORM)/android.jar $(JAVA_SOURCE)
@echo " DEX $(JAVA_SOURCE:.java=.class)"
@echo -e " DEX\t $(JAVA_SOURCE:.java=.class)"
@$(DX) --dex --output GstAhcCallback.jar $(JAVA_SOURCE:.java=.class)
@echo " GEN $@"
@echo -e " GEN\t $@"
@echo "#include \"gstahccallback.h\"" > $@
@echo "" >> $@
@echo "const static guint8 jar_file[] = {" >> $@
@ -53,7 +53,7 @@ gstahccallback.c: $(JAVA_SOURCE)
@rm -f GstAhcCallback.jar
else
gstahccallback.c:
@echo " GEN $@"
@echo -e " GEN\t $@"
@echo "#include \"gstahccallback.h\"" > $@
@echo "" >> $@
@echo "const guint8 *gst_ahc_callback_jar = NULL;" >> $@