cp -f $$file install_temp/lib/$(ANDROID_ABI); \
fi \
done
+ifneq ($(NDK_BUILD_SHARED),)
cp -f $(NDK_BUILD_SHARED) install_temp/lib/$(ANDROID_ABI)
+endif
# Package everything. Specifying the assets on this command line is
# necessary for AAssetManager_getNextFileName to work on old versions
# of Android.
paint.setStyle (Paint.Style.STROKE);
+ /* Since drawLine has PostScript style behavior, adjust the
+ coordinates appropriately. */
+
if (gc.clip_mask == null)
- canvas.drawLine ((float) x, (float) y,
- (float) x2, (float) y2,
+ canvas.drawLine ((float) x + 0.5f, (float) y + 0.5f,
+ (float) x2 + 0.5f, (float) y2 + 0.5f,
paint);
/* DrawLine with clip mask not implemented; it is not used by
# There is also a binary named `android-emacs' which simply calls
# emacs.so.
-android-emacs: libemacs.so android-emacs.o
- $(AM_V_CCLD)$(CC) -o $@ $(ALL_CFLAGS) $(LDFLAGS) \
- $(LIBEGNU_ARCHIVE) -L. "-l:libemacs.so" android-emacs.o
+android-emacs: libemacs.so android-emacs.c
+ $(AM_V_CCLD)$(CC) $(lastword $^) -o $@ \
+ $(ALL_CFLAGS) $(LDFLAGS) \
+ $(LIBEGNU_ARCHIVE) -L. "-l:libemacs.so"
endif
## The following oldxmenu-related rules are only (possibly) used if