719 fi |
741 fi |
720 if [ ! -z "${LDFLAGS}" ]; then |
742 if [ ! -z "${LDFLAGS}" ]; then |
721 echo "TK_LDFLAGS += $LDFLAGS" >> $TEMP_DIR/config.mk |
743 echo "TK_LDFLAGS += $LDFLAGS" >> $TEMP_DIR/config.mk |
722 fi |
744 fi |
723 |
745 |
|
746 # Target: note |
|
747 CFLAGS= |
|
748 LDFLAGS= |
|
749 CXXFLAGS= |
|
750 |
|
751 dependency_sqlite |
|
752 if [ $? -ne 0 ]; then |
|
753 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED sqlite " |
|
754 ERROR=1 |
|
755 fi |
|
756 |
|
757 # Features |
|
758 |
|
759 |
|
760 echo >> $TEMP_DIR/config.mk |
|
761 if [ ! -z "${CFLAGS}" ]; then |
|
762 echo "NOTE_CFLAGS += $CFLAGS" >> $TEMP_DIR/config.mk |
|
763 fi |
|
764 if [ ! -z "${CXXFLAGS}" ]; then |
|
765 echo "NOTE_CXXFLAGS += $CXXFLAGS" >> $TEMP_DIR/config.mk |
|
766 fi |
|
767 if [ ! -z "${LDFLAGS}" ]; then |
|
768 echo "NOTE_LDFLAGS += $LDFLAGS" >> $TEMP_DIR/config.mk |
|
769 fi |
|
770 |
724 if [ $ERROR -ne 0 ]; then |
771 if [ $ERROR -ne 0 ]; then |
725 echo |
772 echo |
726 echo "Error: Unresolved dependencies" |
773 echo "Error: Unresolved dependencies" |
727 echo $DEPENDENCIES_FAILED |
774 echo $DEPENDENCIES_FAILED |
728 rm -Rf $TEMP_DIR |
775 rm -Rf $TEMP_DIR |