1117N/A
1117N/AThe fbconf_xorg/src directory contains these Makefiles:
1117N/A
1117N/A Makefile Master Makefile, builds fbconf_xorg(1M), et. al.
1117N/A Makefile.common Common definitions, included by all other Makefile.* files
1117N/A Makefile.fbc Builds libfbconf_xorg.so.1 for fbconf_xorg(1M)
1117N/A Makefile.gfx Builds gfx/libgfx.a as a stripped-down, PIC version
1117N/A Makefile.xf86 Builds xf86/libxf86conf.a, the open source XFree86 parser
1117N/A
1117N/A Makefile.<xfb> Builds libSUNW<xfb>_conf.so.1 for <xfb>
1117N/A
1117N/A
1117N/ATo implement a new libSUNW<xfb>_conf.so.1 shared library for a new <xfb>
1117N/Aframe buffer device:
1117N/A
1117N/A Create the fbconf_xorg/<xfb> source directory.
1117N/A
1117N/A Start populating the new source directory by creating
1117N/A fbconf_xorg/<xfb>/<xfb>_properties.c
1117N/A and
1117N/A fbconf_xorg/<xfb>/<xfb>_properties.h,
1537N/A based on existing examples.
1117N/A Prominent details will be:
1117N/A SUNW<xfb>_api_version
1117N/A API version number (prominent but trivial)
1117N/A <xfb>_option[]
1117N/A Command line option descriptors
1117N/A (see fbopt_descr_t, etc. in fbc_getargs.h)
1117N/A <xfb>_propt_fn[]
1117N/A -propt display function addresses
1117N/A (see fbc_propt.c)
1117N/A SUNW<xfb>_get_properties()
1117N/A Initialization function for the <xfb> varient of
1117N/A fbconfig_xorg(1M)
1117N/A (see fbc_varient_t in fbc_properties.h)
1117N/A
1117N/A Repeat the process with other fbconf_xorg/<xfb>/*.[ch] sources
1117N/A as needed, until all of the anticipated symbols have been defined
1117N/A and the intended <xfb> functionality has been implemented.
1117N/A
1117N/A When it makes sense, move sufficiently common code into
1117N/A fbconf_xorg/fbc to be incorporated into libfbconf_xorg.so.1 (or
1117N/A into fbconf_xorg, if the code isn't referenced from a shared
1117N/A library).
1117N/A
1117N/A Create a fbconf_xorg/Makefile.<xfb> makefile. Invoke it from
1117N/A fbconf_xorg/Makefile, following existing examples. Update
1117N/A fbconf_xorg/Makefile.common as necessary.
1117N/A