# > SJAR_FLAGS: list of paths to include in the source jar file (`-C dir path`)
# > PREFIX: the usual prefix to (un)install to -- you may of course override it
#
-NAME = program
-MAIN = be/nikiroo/program/Main
-TEST = be/nikiroo/tests/program/Test
+NAME = nikiroo-utils
+MAIN = be/nikiroo/tests/utils/Test
+TEST = be/nikiroo/tests/utils/Test
JAR_MISC = -C ./ LICENSE -C ./ VERSION -C libs/ licenses
JAR_FLAGS += -C bin/ be -C bin/ org $(JAR_MISC)
SJAR_FLAGS += -C src/ be -C src/ org $(JAR_MISC)
#
# Special Options for this program: you can modify the previous var if needed
-# > OPTION=non-default-value (or OPTION=default-value by default)
+# > UI=android (or UI=awt by default)
#
-ifeq ($(OPTION),non-default-value)
-MORE += be/nikiroo/utils/android/test/TestAndroid
-TEST += be/nikiroo/utils/android/ImageUtilsAndroid
+ifeq ($(UI),android)
+MORE+= be/nikiroo/utils/android/ImageUtilsAndroid
+TEST += be/nikiroo/utils/android/test/TestAndroid
else
MORE += be/nikiroo/utils/ui/ImageUtilsAwt
MORE += be/nikiroo/utils/ui/ImageTextAwt