Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8124746

Clean up makefile in javafx-font-native

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • None

      The makefile in javafx-font-native is getting hard to maintain.
      It requires several variables to be added every time a new package containing classes with native methods is added:
      see JFXFONT_T2K_PKG, JFXFONT_LAYOUT_PKG, JFXFONT_FONT_PKG, JFXFONT_T2K_PKG_PATH, JFXFONT_LAYOUT_PKG_PATH, JFXFONT_FONT_PKG_PATH, JFXFONT_T2K_JNI_PKG, JFXFONT_LAYOUT_JNI_PKG, JFXFONT_FONT_JNI_PKG

      It also calls javah on all .class in each folder, it creates 43 .h instead of 9 which are really needed.

      Finally, in my opinion, it should be setting the VPATH instead of repeat a recipe for each different source folder.


            fheidric Felipe Heidrich (Inactive)
            fheidric Felipe Heidrich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: