I'm writing a code generator in Java that will generate GNU linker scripts and C header files for microcontrollers made by Microchip Technology. I want both the code generator itself and the files it creates to be BSD-3 licensed.
Microchip provides linker script and header files that I have been using as a reference so I know what I actually need to generate, though my output will not be exactly the same. These files are also BSD-3 licensed, except they put their name right in the license (instead of using the generic "copyright holders and contributors" terms of the default license). Here is a copy of their license for reference:
Copyright (c) 2018, Microchip Technology Inc. and its subsidiaries ("Microchip") All rights reserved.
This software is developed by Microchip Technology Inc. and its subsidiaries ("Microchip").
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Microchip's name may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY MICROCHIP "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROCHIP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWSOEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This leaves me with questions as to how I properly give attribution to the original copyright holder.
Is there a simple way to indicate that I want to release my code under the same terms, but include myself in the places where Microchip put their name? Would it be sufficient to include my copyright notice and a note that says something along the lines of "this code is distributed under the same terms that the original copyright holder provided, except read 'Microchip and above copyright holders' in place of 'Microchip'" followed by the original license notice?
Where would I attribute Microchip, in the generator sources or in the generated files or both? Which one would be considered the derived work? The generator will probably end up containing snippets from Microchip's code that will be used to generate the output.