Added KDE3 version of PikLab

git-svn-id: svn:// 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
tpearson 15 years ago
commit f508189682

@ -0,0 +1,339 @@
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

@ -0,0 +1,440 @@
0.15.2 (24 November 2007)
* fixed loading some hex files [thanks to Xiaofan Chen and Hector Martin]
* added 24FJ128/96/64
* added missing register information for some devices
* added ETT direct programmer [thanks to Jimkirk]
* added 16F690/913/917 support to Picstart+
* fixed crash when manually updating firmwares [reported by Claus Bjerre]
* fixed blank-checking with icd2 debugger
* fixed crashes when halting debugging session
* added option to create a library from a project (gputils, sdcc, picc)
* added simple views for object and library files
* fixed crash in configuration generation dialog [report by Milan]
* fixed several problems with progress bar
* fixed crash when closing main window while programming
* better watch window
* add memory graph view to device information [idea by F. Gerin]
* fixed disappearing bookmarks and save them in project file [report by Luke Orland]
* updated Spanish translation [thanks to Felipe Caminos]
* fixed piklab-prog option "target-self-powered"
0.15.1 (11 November 2007)
* added 18F66J11/66J16/67J11 86J11/86J16/87J11
18F65J50/66J50/66J55/67J50 85J50/86J50/86J55/87J50
18F6393/8393 6493/8493
* fixed config/template generator and I/O registers for some devices
* added "custom" toolchain for custom shell commands
* fixed coff parsing for PIC30 toolchain
* fixed crash when running device
* fixed device selection in project manager
* C source debugging (only for 18F devices due to sdcc/gputils bug)
* fixed debugging of C18 projects with gpsim 0.21.x
* fixed display of bootloader option window
* config bits comboboxes now ignore wheel events in hex editor
* added "piklab-coff", a command-line utility for viewing coff, object and library files
* updated French translation [thanks to Alain Portal]
* fixed some compilation issues
0.15.0 (20 October 2007)
* added 12F519 18F2423/4423/2523/4523 30F1010/2020/2023
18F24J10/25J10/44J10/45J10 65J10/65J15/66J10/66J15/67J10
18F85J10/85J15/86J10/86J15/87J10 18F63J11/64J11/65J11 83J11/84J11/85J11
18F63J90/64J90/65J90 83J90/84J90/85J90
* fixed checksum computations for some devices
* fixed configuration bits for some devices
* fixed config and template source generation for some devices
* fixed crash while programming 12F510 [report by Scott Dattalo]
* added option to disable eeprom programming
* added option to skip verification after programming
* fixed programming with picdem bootloader [thanks to Xiaofan Chen]
* fixed pickit2 bootloader [thanks to Xiaofan Chen]
* added icd2 support for 18F2450/4450/2423/4423/2523/4523/6527/6622/8527/8622
* fixed simulating some 18F devices with some versions of gpsim
* added support for EPE Toolkit mk3 direct programmer [thanks to Chris Lale]
* added support for the 'EPE Toolkit mk3' direct programmer [thanks to Chris Lale]
* better support for PIC30 toolchain [report by Brian Neltner]
* added option to run after successfull programming [proposed by jda2158]
* fixed "compile file" action [report by Alain Portal]
* fixed adding objects from outside project directory
* added option to automatically recompile before programming when the
project is modified [proposed by pryyanek]
* added status and feature filters in device chooser dialog
* added menu item to call "kfind" inside project directory [proposed by Polly Lister]
* added option to show/hide the close buttons on the tabs of the editor manager
[proposed by james and bjohan]
* added option to piklab-prog to set hardware type for direct programmers
* added check for device compatibility and file creation commands to piklab-hex
* move checksum command from piklab-prog to piklab-hex
0.14.5 (16 August 2007)
* better error reporting if USB not compiled in
* fixed USB support when compiling with qt only [report by Martin Goldack]
0.14.4 (5 August 2007)
* fixed bug where osccal would be lost and piklab would crash when programming
devices without osccal backup [report by Ed Spremolla]
* fixed "likeback" not showing
* added display in hex editor when configuration bits are invalid
* fixed CodeGuard configuration bits and hex editor
0.14.3 (26 July 2007)
* added support for 24H devices
* updated register definitions to MPLAB 7.41
* added 18F66J60 family [contribution by Alan Page]
* added 12F609/HV609 16F610/HV610 16F882
* added configuration for tiny bootloader (retries, port speed, delay)
* added configuration for picdem bootloader (USB ids)
* fixed tinybootloader for 16F88 [patch by Balaji Ramani]
* fixed direct programming of 16F87XA (again)
* fixed programming of 18F2410/2420/4410/4420 [report by Yuri Shnol]
* fixed problem with tab history [reported by agalliazzo]
* fixed crash in hex editor due to protected config bits (12F675, ...)
* Spanish translation by Felipe Caminos
* Czech translation by Milan Horák
* try to open unrecognized devices as serial port
instead of just failing in piklab-prog [reported by Jan Berkel]
* fixed crash using upload_firmware in piklab-prog [report by John McCullough]
* more resilient hex file parser [reported by Stefan Vonhalenbach]
0.14.2b (14 June 2007)
* support for USB ICD2 under Windows [fixed by Minh Nguyen]
0.14.2 (9 April 2007)
* device id and eeprom fixes for some 18F devices
* fixed debugging of 18F2455 family [report by Florian Brabetz]
* added parallel port support for FreeBSD (with ppbus)
* added support for Pickit2 and Picdem fsusb bootloaders (untested + no data eeprom operations)
* fixed device memory reading [broken in 0.14.1, report by Xiaofan Chen]
* fixed direct programming of 16F87XA [report by Jorus Cbaoth]
* do not open empty editor when file does not exit
* no "added file to project" in new file dialog when there is no project
* also include code for absent source files in disassembly listing (fixed debugging with sdcc + 18F devices)
* fixed output hex filename for CCSC projects [report by krengersi and Bill Sack]
* fixed CCSC options for version 3 (only detected for linux executables)
0.14.1 (11 March 2007)
* fixed alignment problem with icd2 (for some 18F devices)
* fixed some i18n inconsistency [thanks to Alain Portal]
* fixed crash with config/template generator [report by Alain Portal]
* fixed adding files in same directory with project wizard
* fixed output hex filename for CC5X projects [report by philter_777]
* fixed inverted "read-only" toggle for hex editor
* fixed saving in editors (freeze with hex editor and display for text files)
* support for Tiny Bootloader
0.14.0 (4 March 2007)
* merge in kate gui for source editor (many more menu items available)
* added console tool [idea by Rajesh Sankaran]
* new project wizard
* template source file generator
* fixed gui problems with fast comment system
* fixed crash when compiling assembler file with sdcc [report by Stefan von Halenbach]
* fixed support for linux version of CCSC [report by Alan Page and Rajesh Sankaran]
* fixed configuration dialog for PIC30 toolchain
* added support for MPC and CCX5 compilers
* added possibility to use custom device name for serial and parallel port
* allow read/write/erase of individual memory range with command-line utility
* speed-up programming and fixed timeouts for pickit2 [patch from Mark Stanley]
* added pickit2 support for 16F87X
* fixed freeze for connecting gpsim with an empty project [report by Florian Brabetz]
* fixed crash when showing PC while debugging [report by Florian Brabetz]
* added "--force" option for command-line programmer (answer "yes" to question and overwrite files)
* new command-line utility for manipulating hex files (check, info, fix, and compare)
* added Hungarian translation [thanks to Nagy Lázló]
0.13.3 (8 February 2007)
* fixed compilation for OpenSuse and Fedora 5 [report by Xiaofan Chen and Alain Portal]
* fixed support for CCSC
* fixlet for asm highlighting
* possibility to added several source files at once [idea by Gyula Kampfner]
* fixed tool views (new user layout; fixed "show all" menu item; added "reset layout" menu item)
* fixed toolchain config dialog: update/reset buttons work better
* added serial USB devices under Slackware [thanks to Mark Stanley]
0.13.2 (31 January 2007)
* better support for CCSC (windows and linux executables) [thanks to Mark Stanley]
* german translation by Stephan von Halenbach
* fixed 16F7X7 debugging
* fixed Picstart+ support [thanks to Mark Stanley]
* fixed debug executive name for some 18F devices [thanks to mkgrajek]
* fixed register view for 18F devices
* added icd2 support for 16F946
* fixed spurious errors with gpsim
* show warning when config generation is incomplete
0.13.1 (27 January 2007)
* proper fixed for debug vector write/read for 18F devices with icd2 [thanks to Martin Forster]
* fixed 16F877 debugging [thanks to Martin Forster]
* fixed for ICD2 programming (verifying would fail when the code is at a large offset) [reported by Luke Cole]
* fixed compilation with KDE 3.3
* use toggle menu items for tool views [idea by Christoph Schäfer]
* fixed view unsplitting [reported by Christoph Schäfer]
* rows of 16 bytes for eeprom hex view [idea by Gyula Kampfner]
* allow includes and better messages parsing for jalv2
0.13.0 (19 January 2007)
* more flexible interface (by using dockable windows)
* better editor navigation
* fixed bug in register watch
* debugging from a standalone file is now possible
* read/write 24C eeproms with direct programmers
* added support for 18F1230/1330, 18F2682/4682/2685/4685 (direct programmers + ICD2)
* added direct programming support for 18F2439/4439/2539/4539,
18F6310/6410/8310/8410, 18F6390/6490/8390/8490
* "as-we-read" verify
* more robust usb detection (hopefully)
* more flexible compilation configuration
* added support for CCS, JALV2, BoostC, BoostC++, and BoostBasic compilers
* support for GPSim 0.22
* less CPU usage and errors when verifying with serial ICD2 [fixed from Steve Moskovchenko]
* extend even more the erase timeout for serial ICD2 [report by Ramiro del Corro]
0.12.2 (16 October 2006)
* fixed register view while not debugging
* fixed compilation for Slackware
0.12.1 (5 October 2006)
* fixes for Qt4
* fixed crash in advanced dialog
* added French translation [thanks to Alain Portal]
* fixed for sdcc and custom or debugging linker scripts
* only use icd2 linker script with icd2 debugger
0.12.0 (1 October 2006)
* pinout schematic for some devices
* added LikeBack for fast feedback
* icd2 debugging for 18F devices (tested with 18F452)
* more robust icd2 programming (fixed timeout for long erase) [bug reported by lonely_soul]
* fixed register view for 18F devices
* added detailed I/O and combined registers into watch view
* added register write to watch view
* save/restore watched registers per project
* fixed some problems with gpsim debugging
* fixed "--target-self-powered" option for command-line programmer
* added register read/write and breakpoints to command-line programmer
* fixed launching of pikloops [bug reported by chcarver]
* fixed 30F devices detection [bug reported by Yuri Ovcharenko]
* fixed for custom libraries and custom script for PIC30 [bug reported by Yuri Ovcharenko]
* fixed config generator for some 30F devices [bug reported by Yuri Ovcharenko]
* fixed some issues with PICC integration [bugs reported by gduprey]
* fixed integration of SDCC 2.6.0 [bugs reported by ambro]
* much faster parsing and correct disassembly listing for coff files generated by picc
* speed-up interface
* fixed select all/find in editor [bug reported by gduprey]
0.11.3 (7 September 2006)
* fixed crashes due to dependence on libkio for piklab-prog
0.11.2 (6 September 2006)
* fixed compilation by detecting libncurses under Suse
* fixed custom direct programmer configuration not appearing in dialog
* fixed duplicated message boxes
* fixed "command-list" option for command-line programmer
* fixed crash in register view for 18F devices
* fixed device information view
0.11.1 (23 August 2006)
* fixed crashes with command-line programmer
* fixed debugging for custom-made ICD2 [thanks to Nagy László]
0.11.0 (19 August 2006)
* support for the Picstart+ programmer [many thanks to Nestor A. Marchesini for testing]
* added support for gpsim (mid-range devices only)
* speed-up coff file parsing at end of compilation with picc compilers
* correctly highlight C lines in disassembly listing
* fixed register view to work correctly in debugging
* fixed watch view: changed status of registers was not correctly updated
* added variable names in register and watch views
* improved breakpoints management: fixed interaction with program counter
display, invalid and reached indicators, breakpoints can be disabled,
and listing tab.
* added action to switch between header and implementation
* added "port", "firmware-dir", and "target-self-powered" options to command-line programmer
* command-line programmer can be compiled without kdelibs (Qt3 or Qt4)
* command-line programmer for Windows (Qt4): works for serial ICD2 and serial "direct" programmers
* interactive mode for command-line programmer with debugging support
0.10.0 (7 July 2006)
* added support for JAL compiler + editor syntax highlighting
* source files can be reordered by drag and drop in project manager
* added disassembly listing for PICC compilers
* added support for C18 compiler
* added support for C30 with Wine and with coff format
* added support for custom linker script in project (GPUtils/SDCC and C18)
* display file full path as tooltip in project manager
* speed-up serial ICD1/2 programming [help by Steve Moskovchenko]
* fixed alignment bug in ICD2 programming [reported by Steve Moskovchenko]
* fixed "verify only programmed" option for ICD2 programming
* improved breakpoints management (updated in all editors, persistent if editors are closed)
* ICD2 debugging supported with PICC compilers
* fixed bug in register watching
* fixed slow update on keystroke in editor [reported by zoiks]
* some fixes and enhancements in asm and disassembly highlighting
0.9.0 (29 May 2006)
* added calibration information and debug executive version to advanced dialog
* added osccal regeneration for PICkit1 and PICkit2 (12F629/675/630/676)
* fixed PICkit2 firmware upload
* support for new PICkit2 firmware
* fixed programming of 18F devices with PICkit2
* initial support of ICD1 (not tested at all)
* fixed bug in parallel direct programming [thanks to kein0r]
* fixed checksum computation for some devices
* added devices 12F615 16F616/16F631/677 18F2450/4450
* faster loading, smaller executable, and smaller memory footprint
* fixed crash opening config generator with auto device
* added native coff parser (remove reliance on gpvo) + fixed disassembly highlighting
* added native disassembler (remove reliance on gpdasm) + now includes user ids and eeprom data
* support development version of sdcc and gputils
0.8.0 (6 May 2006)
* added support for 16F716, 16HV785, and 16F87/88 with PICkit2
* added action button for memory ranges (read/program/verify/erase/clear/zero/reload)
* added option to preserve data eeprom and to blank check after erase
* icd2 debugging: fixed STATUS/FSR/PCL/PCLATH read/write + added WREG/PC/STATUS/bank in status bar
* icd2 debugging: disable watchdog timer
* several fixes for hex editor
* added checksum computation (with command-line too)
* added option to set user id to unprotected checksum
* added read-only/read-write toggle to editors
* only display first and last banks for 18C/F chips (too slow otherwise...)
* fixed dsPICS programming with ICD2 [thanks to Laurent Pinchard]
* fixed calibration programming for baseline devices
* added option to run tools with wine
* added "advanced" dialog to programmers (firmware version + voltages)
* added manual firmware uploading for ICD2 (with command-line too)
0.7.0 (23 April 2006)
* fixed "program calibration" to write second word when present
* speed-up direct programming for some devices
* fixed direct programming of 18F devices
* fixed direct programmers on parallel port [thanks to Andrea Fadda]
* added direct programming for all remaining 16F and 18F devices
but 18FXX39-X310-X410-X390-X490
* option to only verify programmed words for direct programming
* added support for 16F946 and 18F devices with pickit2
* added support for Pickit1 programmer (baseline and midrange devices)
* added 16C84, 16CR73/74/76/77 devices
* added configuration generator for dsPICs and PIC30 toolchain
* added "power device" toolbar/menu entry
* fixed some issues with libusb
* read/write/watch registers while debugging
0.6.1 (22 March 2006)
* warn when hex file cannot be saved [reported by freddy]
* tweak desktop file
* added mimetype for project file
* fixed lost calibration word for some 12F and 16F parts [reported by Xiaofan Chen]
* fixed crash when creating new hex file with "auto" device
0.6.0 (14 March 2006)
* save dialog sizes and splitter positions
* config generator (baseline, midrange and some 18F devices)
* support for pic30 toolchain
* support for PICC-Lite, PICC and PICC-18
* configurable executable paths
* save opened files per project
* fixed crash with "auto" device [reported by y2kmi]
* added 16F7X7 support for direct programmers
* warn if firmware version is not the one tested
* fixed osccal read/write with pickit2 [reported by Xiaofan Chen]
* fixed alignment bug in 18F programming [reported by Xiaofan Chen]
* added device view to project manager
* added register view to project manager
0.5.2 (1 March 2006)
* partial fixed for aligment bug in 18F programming [reported by Xiaofan Chen]
* fixed broken hex file save
0.5.1 (28 February 2006)
* fixed crash at startup [reported by Ed Bennett]
0.5.0 (24 February 2006)
* new project file format (xml)
* several fixes in user interface
* breapoints for ICD2 debugging of 16F parts
* support for Small Device C Compiler (sdcc)
* group config options for standalone file inside its own section
* fixed compilation for gcc>4.0.1
* added devices 16F506, 16F946, and 30F6010A/6011A/6012A/6013A/6014A/6015
* added 10F2XX, 12F5XX, 14000, all 12C and 16C parts support for direct programmers
* added 12F510, 16F59/627/628/685/687/689/690/7X/785/84A/91X,
30F2011/2012/3011/3014/5011/5013 to icd2 programmer
* fixed configuration blank check for several 18F devices
0.4.2 (18 February 2006)
* if self-test failed, ask user if he wants to continue (ICD2)
* added support for 12F510, 16F54-57-59 and 16F7X7 for PICkit2
* fixed osccal and user ids read/write for some baseline chips with PICkit2 (12F508...)
* fixed osccal read/write for some mid-range chips with PICkit2 (12F675...)
* fixed osccal read/write for 12F675 with direct programmer
* fixed compilation issue
0.4.1 (14 February 2006)
* linker now generates coff files by default (fixed disassembly listing)
* warn when device not supported by gputils
* correctly display bang gap bits
0.4.0 (12 February 2006)
* option to only program memory than need to be programmed (speed-up)
* several fixes for editors
* disassembly listing
* warn if DEBUG configuration bit is on when not debugging
* added included files in project listview
* support for PICkit2 (baseline and midrange devices)
* option to program after successful build
* option to power off target after programming
* basic ICD2 debugging (start/interrupt/step)
* fixed for calibration words and band gap bits
0.3.2 (27 January 2006)
* fixed for 16F81X/F87/F88 and 16F87XA direct programming bug
* fixed compilation (gcc 3.4)
* command-line programmer should now work without any running X server
0.3.1 (22 January 2006)
* fixed freeze if serial cable disconnected from ICD2
0.3.0 (21 January 2006)
* protected areas are excluded from verification
* display code memory blocks in hex editor
* display protected areas in hex editor
* better configuration center
* make compilation framework more flexible
* show linker script in project listview
* stand alone files now act as pseudo-projects
* direct programmers now use global device data
* JDM-type serial programmer works
* fixed and simplify direct programmer configuration widget
* incorporate some fixes from pikdev 0.8.2
* fixed crash and bugs with ICD2 [reported by Xiaofan Chen]
* fixed detection of libusb [reported by Xiaofan Chen]
* fixed some FreeBSD compilation issues [help by Xiaofan Chen]
* make serial and usb operations more reliable
0.2.0 (11 December 2005)
* command line programmer
* use XML files for device data (hex editor is now independent from
selected programmer).
* enhanced device chooser: sorts devices by family;
information page (with link to device page on Microchip website and status).
* "connect" and "hold_reset" programmer action
* incorporate some fixes from pikdev 0.8.1
* enhanced hex editor: disable wheel scrolling on config comboboxes;
fixed memory display focus; added navigation keys; check compatibility with
device type.
* upload firmware for icd2
* icd2 over USB
0.1.0 (22 June 2005)
* convert config and new project windows to KDialogBase
* added ICD2 programmer infrastructure (from "lplab")
* reorganize in subprojects
* clean-up and factor code
* convert programmer window in hex editor
* lots of GUI fixes
This changelog is relative to pikdev 0.7.2


File diff suppressed because it is too large Load Diff

@ -0,0 +1,8 @@
- "make -f Makefile.cvs" (usually not needed for distributed tarballs)
- "./configure --enable-debug=full" (check ./configure --help for other options)
- "make"
- "make install" (as root)

@ -0,0 +1,13 @@
AUTOMAKE_OPTIONS = foreign 1.5
MAINTAINERCLEANFILES = configure.files subdirs
cd $(top_distdir) && perl $(top_srcdir)/admin/am_edit -padmin
rm -rf autom4te.cache
rm -f svn-commit.*

@ -0,0 +1,12 @@
AUTOMAKE_OPTIONS = foreign 1.5
MAINTAINERCLEANFILES = configure.files subdirs
cd $(top_distdir) && perl $(top_srcdir)/admin/am_edit -padmin
rm -rf autom4te.cache
rm -f svn-commit.*

@ -0,0 +1,20 @@
@echo "This Makefile is only for the SVN repository"
@echo ""
@if test ! -d admin; then \
echo "Please update this module!" ;\
exit 1 ;\
@echo "Extract messages"
$(MAKE) -f admin/Makefile.common package-messages
cd po && sh
@echo ""
@echo "Create configure & co"
$(MAKE) -f admin/Makefile.common cvs
@echo "Extract messages"
$(MAKE) -f admin/Makefile.common package-messages
cd po && sh

@ -0,0 +1,27 @@
Piklab: An integrated development environment for PIC microcontrollers
Copyright (C) 2005-2007 Nicolas Hadacek <>
Copyright (C) 2006 Sébastien Laoût
Copyright (C) 2002-2005 Alain Gibaud
Copyright (C) 2003-2004 Stephen Landamore
Copyright (C) 2001-2005 Craig Franklin
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
BEWARE: this is beta software. BUGS are likely!!!
IMPORTANT: see for support and notes.
FEEDBACK is greatly appreciated (go to or
send me an email at report bugs, successes,...


@ -0,0 +1,145 @@
icd2: assert in progress when programming with icd2 debugger
TODO programmers:
* icd1/2: optimize programming/reading: only program/read what's necessary!!
* direct: alternate method to direct-program "Vdd first" chips (needed ?)
* pickit2: protocol for firmware 2.x
* support for other bootloaders (AN851, ...)
* look into xwisp2/avrdude
* pickit1/2: speed-up by not programming mask words and by programming 4/n words when possible...
* pickit2: now supports 16F886/887
* add promate2
* direct: support dsPIC
* add option to not autoload firmware (?)
* direct: support 16F88X devices
* icd2: 12F609/615 16F610 16F677(debug) 16F88X 30F1010/2020/2023
famid for 18J devices
* pickit2: configuration to set target voltage to different values (?)
* icd2: progress for firmware uploading
* psp: add 18F support
* psp: detection of programmer type (PSP, JuPIC, or Warp13)
* psp: for Warp13, there are some differences for 18F devices...
TODO debuggers:
* gpsim: add stopwatch feature + clock speed config
* icd2: fix 16FXXX debugging: init + reset + ...
* 18F1330-ICD ?
* icd2: how to read PORTB from 16F7X7
* device power toggle action: problem while running/debugging... (?)
* should be able to read/verify/blankcheck while debugging: restart debug: ask ?
* icd2: support more than one breakpoint for 18F
* advanced breakpoints (register, function, ...)
* add icd1 debugging
* support sdcdb (?)
* support ICD from CCS
* PIC30: no disassembly in disassembly listing
TODO interface:
* set breakpoint in disassembly listing, close, reopen: not displayed...
* escaping in string register entry
* add serial terminal
* "read all" registers is slow (gui refresh for each read)
* add PC and goto PC in breakpoint list view (?)
* add "random/set_range/..." actions to each range in hex editor
* more filters in device selector
* undo/redo + better selection in hex editor
* .o view: more complete (?)
* renaming of source files
* COFF disassembly highlighting does not properly highlight multiline comments for C
TODO toolchains:
* support CC8E
* PICC: no need to compile and assemble in two steps for C files
* PICC: test debugging (from C or ASM files)
* mix different compiler and assembler in a project... (subproject ?)
* support for MPASM/MPLINK (mpasm freezes my version of wine...)
* error/warning filter for C30/PICC/JAL/C18
* syntax highlighting for JAL: highlight assembler blocks
* better syntax highlighting for Boost Basic
* PICC Lite windows executable crashes with wine
* support dsPICC: demo windows only and not working with wine
* support C2C, C2C++, P2C: exception in wine...
* support Proton Basic compiler
* library project: other toolchains ?
TODO generators:
* fix cname generation for BSSEC/BSSIZ SSSEC/SSSIZ (none supported yet by gputils/sdcc ?)
* add missing template generators
* config generator: add/fix config names for gpasm/sdcc (18F) + picc + ...
TODO command-line:
* add "merge" commands to "piklab-hex"
* add utility to disassemble (?)
TODO misc:
* if CTRL+D in konsole: should restart it...
* check endianness: it should be alright since we are reading from hex file and outputing strings (?)
* add log settings: log file / timestamp
* allow saving hex to other formats
* shouldn't we always use the IHX32 format for devices 18 and up ???
* Vdd-frequency graphs ignore different osc/modes...
* code for UserId disassembly doesn't seem to be right...
- finish checking device XML with XML Schema...
- make an automatic parser for file "gpprocessor.c" of gputils to extract coff codes.
- check list of devices against MPLAB for missing devices and discrepencies.
- config bits: check config bits from MPLAB
- vdd/freq: not sure I understand the Vdd range in 30F datasheets
- sometimes "vpp" depends on "vdd"...
- revision names...
- 16F630-ICD has lower Vdd requirements for read/write
- for 18F1230/1330 16F88X: Vdd-F graphs not available yet...
- 12F6XX-16F6XX-ICD have lower Vdd requirements for bulk erase
- checksums:
unknown : 16C641/C661/C84 18J 18F2XXX/4XXX
all wrong (?) : 16CE923/CE925 30F
protected wrong (?) : 16CR73/CR74/CR76/CR77 16F72/F73/F74/F76/F77 16F873A/874A
datasheet wrong (?) : 12F508(Off:cc=DC68)
16C55A (All:cc=F332) 16C56A(All:not XOR4)
16F616 (All:bc=FFBE cc=CBD8)
18F4331(same as 18F2331)
18F2439/4439/6520/8520 (wrong program size)
blank value discrepencies : 18F6525
- 16C433: config bits datasheet do not agree with progsheet (used progsheet)
- 16CR54/16C557: status ?
- 16HV540: discrepency between datasheet and progsheet for CP bits
- 18F2585/4585/2680/4680: data sheet is wrong for block description (boot block size is variable)
- 18F6X10/6X90: discrepencies between datasheet and progsheet for PM and EBTR bits
- unknown devices (from gpasm) : 18F2681/F4681/F64J15/F84J15
- 16CR57A ?
- nr: PS501 PS810 PS700
- new devices:
18F6628/8628/6723/8723 (compatible 18F8722)
- future devices:
GPUTILS: 0.13.5
- 16C54A: _CP_ON doesn't yield 0x007 [fixed in trunk]
- 16C715: _CP_75 is missing [fixed in trunk]
- 16F737/767/777 16F87/88: _FCMEN_OFF doesn't yield 0xFFE [submitted]
- 16F883/884/886/887: BORV_21 doesn't yield 0xEFF
- 17C42A/C43/C44: _PMC_MODE doesn't yield 0x7FAF
- 18F1230/1330: BORV doesn't have the correct values in .inc file
- 18F258/458: BORV_25 should be BORV_20
- 18F2510: using 12F510 lkr (?)
- 18F6X10/6X90/8X10/8X90: missing PM/EBTR (if they exists on these devices ??)
- 18J: config bits commented in "inc" file
SDCC: 2.7.0
- 16CR620A/CR73/CR74/CR76/CR77: missing include
- 16F616/F747/F946: missing include
- 16F737/767/777/87/88: cf gputils
- 16F886/887: missing DEBUG define [fixed in trunk]
- 18F1320/2320/2525/4525: missing include
- 18F2221/2321/4221/4320: not supported by GPUtils 0.13.5
- 18F4455/4550: missing ENICPORT_ON
- 18F4620: missing XINST

File diff suppressed because it is too large Load Diff

aclocal.m4 vendored

@ -0,0 +1,863 @@
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
# 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
# -------------------------------
# Call AM_AUTOMAKE_VERSION so it can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
# Of course, Automake must honor this variable whenever it calls a
# tool from the auxiliary directory. The problem is that $srcdir (and
# therefore $ac_aux_dir as well) can be either absolute or relative,
# depending on how configure is run. This is pretty annoying, since
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
# source directory, any form will work fine, but in subdirectories a
# relative path needs to be adjusted first.
# $ac_aux_dir/missing
# fails when called from a subdirectory if $ac_aux_dir is relative
# $top_srcdir/$ac_aux_dir/missing
# fails if $ac_aux_dir is absolute,
# fails when called from a subdirectory in a VPATH build with
# a relative $ac_aux_dir
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
# are both prefixed by $srcdir. In an in-source build this is usually
# harmless because $srcdir is `.', but things will broke when you
# start a VPATH build or use an absolute $srcdir.
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
# and then we would define $MISSING as
# MISSING="\${SHELL} $am_aux_dir/missing"
# This will work as long as MISSING is not called from configure, because
# unfortunately $(top_srcdir) has no meaning in configure.
# However there are other variables, like CC, which are often used in
# configure, and could therefore not use this "fixed" $ac_aux_dir.
# Another solution, used here, is to always expand $ac_aux_dir to an
# absolute PATH. The drawback is that using absolute paths prevent a
# configured tree to be moved without reconfiguration.
[dnl Rely on autoconf to set up CDPATH properly.
# expand $ac_aux_dir to an absolute path
am_aux_dir=`cd $ac_aux_dir && pwd`
# AM_CONDITIONAL -*- Autoconf -*-
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 7
# -------------------------------------
# Define a conditional.
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
if $2; then
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
AC_MSG_ERROR([[conditional "$1" was never defined.
Usually this means the macro was only invoked conditionally.]])
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 8
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
# will think it sees a *use*, and therefore will trigger all it's
# C support machinery. Also note that it means that autoscan, seeing
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
# ----------------------
# See how the compiler implements dependency checking.
# NAME is "CC", "CXX", "GCJ", or "OBJC".
# We try a few techniques and use that to set a single cache variable.
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
# dependency, and given that the user is not expected to run this macro,
# just rely on AC_PROG_CC.
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
AC_CACHE_CHECK([dependency style of $depcc],
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named `D' -- because `-MD' means `put the output
# in D'.
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
cp "$am_depcomp" conftest.dir
cd conftest.dir
# We will build objects and dependencies in a subdirectory because
# it helps to detect inapplicable dependency modes. For instance
# both Tru64's cc and ICC support -MD to output dependencies as a
# side effect of compilation, but ICC will put the dependencies in
# the current directory while Tru64 will put them in the object
# directory.
mkdir sub
if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
for depmode in $am_compiler_list; do
# Setup a source with many dependencies, because some compilers
# like to wrap large dependency lists on column 80 (with \), and
# we should not choose a depcomp mode which is confused by this.
# We need to recreate these files for each test, as the compiler may
# overwrite some of them when testing with obscure command lines.
# This happens at least with the AIX C compiler.
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
# Solaris 8's {/usr,}/bin/sh.
touch sub/conftst$i.h
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
case $depmode in
# after this tag, mechanisms are not by side-effect, so they'll
# only be used when explicitly requested
if test "x$enable_dependency_tracking" = xyes; then
none) break ;;
# We check with `-c' and `-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
# handle `-M -o', and we need to detect this.
if depmode=$depmode \
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
>/dev/null 2>conftest.err &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
# When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
if (grep 'ignoring option' conftest.err ||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
cd ..
rm -rf conftest.dir
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
AM_CONDITIONAL([am__fastdep$1], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
# -------------
# Choose a directory name for dependency files.
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
# ------------
[ --disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors])
if test "x$enable_dependency_tracking" != xno; then
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
# Generate code to set up dependency tracking. -*- Autoconf -*-
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
#serial 3
# ------------------------------
[for mf in $CONFIG_FILES; do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named `', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each and add a new line on top of each file to say so.
# So let's grep whole file.
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
# Extract the definition of DEPDIR, am__include, and am__quote
# from the Makefile without running `make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
test -z "am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# When using ansi2knr, U may be empty or an underscore; expand it
U=`sed -n 's/^U = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
# This code is only required when automatic dependency tracking
# is enabled. FIXME. This creates each `.P' file that we will
# need in order to bootstrap the dependency handling code.
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 8
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 12
# This macro actually does too much. Some checks are only needed if
# your package does certain things. But this isn't really a big deal.
# -----------------------------------------------
# The call with PACKAGE and VERSION arguments is the old style
# call (pre autoconf-2.50), which is being phased out. PACKAGE
# and VERSION should now be passed to AC_INIT and removed from
# the call to AM_INIT_AUTOMAKE.
# We support both call styles for the transition. After
# the next Automake release, Autoconf can make the AC_INIT
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
# test to see if srcdir already configured
if test "`cd $srcdir && pwd`" != "`pwd`" &&
test -f $srcdir/config.status; then
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
# test whether we have cygpath
if test -z "$CYGPATH_W"; then
if (cygpath --version) >/dev/null 2>/dev/null; then
CYGPATH_W='cygpath -w'
# Define the identity of the package.
dnl Distinguish between old-style and new-style calls.
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
# Some tools Automake needs.
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated. The stamp files are numbered to have different names.
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
# loop where config.status creates the headers, so we can generate
# our stamp files there.
[# Compute $1's index in $config_headers.
for _am_header in $config_headers :; do
case $_am_header in
$1 | $1:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# ------------------
# Define $install_sh.
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# Check whether the underlying file-system supports filenames
# with a leading dot. For instance MS-DOS doesn't.
[rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
rmdir .tst 2>/dev/null
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 3
# -----------------
# Check to see how make treats includes.
cat > confinc << 'END'
@echo done
.PHONY: am__doit
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
# First try GNU make style include.
echo "include confinc" > confmf
# We grep out `Entering directory' and `Leaving directory'
# messages which can occur if `w' ends up in MAKEFLAGS.
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
rm -f confinc confmf
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 4
# ------------------------------
# ------------------
# Define MISSING if not defined so far and test if it supports --run.
# If it does, set am_missing_run to use it, otherwise, to nothing.
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
am_missing_run="$MISSING --run "
AC_MSG_WARN([`missing' script is too old or missing])
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# ---------------
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
# created by `make install' are always world readable, even if the
# installer happens to have an overly restrictive umask (e.g. 077).
# This was a mistake. There are at least two reasons why we must not
# use `-m 0755':
# - it causes special bits like SGID to be ignored,
# - it may be too restrictive (some setups expect 775 directories).
# Do not use -m 0755 and let people choose whatever they expect by
# setting umask.
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
# Some implementations (such as Solaris 8's) are not thread-safe: if a
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
# concurrently, both version can detect that a/ is missing, but only
# one can create it and the other will error out. Consequently we
# restrict ourselves to GNU make (using the --version option ensures
# this.)
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
# We used to keeping the `.' as first argument, in order to
# allow $(mkdir_p) to be used without argument. As in
# $(mkdir_p) $(somedir)
# where $(somedir) is conditionally defined. However this is wrong
# for two reasons:
# 1. if the package is installed by a user who cannot write `.'
# make install will fail,
# 2. the above comment should most certainly read
# $(mkdir_p) $(DESTDIR)$(somedir)
# so it does not work when $(somedir) is undefined and
# $(DESTDIR) is not.
# To support the latter case, we have to write
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
# so the `.' trick is pointless.
mkdir_p='mkdir -p --'