commit
bdeb76c8e9
42
AUTHORS
Normal file
42
AUTHORS
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
Developers:
|
||||||
|
--------------
|
||||||
|
Yiannis Mandravellos: Developer - Project leader
|
||||||
|
Thomas Denk : Developer
|
||||||
|
Lieven de Cock : Developer
|
||||||
|
"tiwag" : Developer
|
||||||
|
Martin Halle : Developer
|
||||||
|
Biplab Modak : Developer
|
||||||
|
Jens Lody : Developer - Fedora, CentOS and Debian nightlies
|
||||||
|
Yuchen Deng : Developer
|
||||||
|
Teodor Petrov : Developer
|
||||||
|
Daniel Anselmi : Developer
|
||||||
|
Yuanhui Zhang : Developer
|
||||||
|
Damien Moore : Developer
|
||||||
|
Ricardo Garcia : All-hands person
|
||||||
|
Paul A. Jimenez : Help and AStyle plugins
|
||||||
|
Thomas Lorblanches : CodeStat and Profiler plugins
|
||||||
|
Bartlomiej Swiecki : wxSmith RAD plugin
|
||||||
|
Jerome Antoine : ThreadSearch plugin
|
||||||
|
Pecan Heber : Keybinder, BrowseTracker, DragScroll
|
||||||
|
CodeSnippets plugins
|
||||||
|
Arto Jonsson : CodeSnippets plugin (passed on to Pecan)
|
||||||
|
Mario Cupelli : User's manual
|
||||||
|
Anders F Bjoerklund : wxMac compatibility
|
||||||
|
|
||||||
|
Contributors (in no special order):
|
||||||
|
-----------------------------------
|
||||||
|
Daniel Orb : RPM spec file and packages
|
||||||
|
Mario Cupelli : Compiler support for embedded systems
|
||||||
|
byo,elvstone, me22 : Conversion to Unicode
|
||||||
|
pasgui : Providing Ubuntu nightly packages
|
||||||
|
Hakki Dogusan : DigitalMars compiler support
|
||||||
|
ybx : OpenWatcom compiler support
|
||||||
|
Tim Baker : Patches for the direct-compile-mode
|
||||||
|
dependencies generation system
|
||||||
|
David Perfors : Unicode tester and future documentation writer
|
||||||
|
Sylvain Prat : Initial MSVC workspace and project importers
|
||||||
|
Chris Raschko : Design of the 3D logo for Code::Blocks
|
||||||
|
J.A. Ortega : 3D Icon based on the above
|
||||||
|
|
||||||
|
All contributors that provided patches.
|
||||||
|
|
3
BUGS
Normal file
3
BUGS
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Code::Blocks is under heavy development.
|
||||||
|
|
||||||
|
Please visit our bugtracker at http://sourceforge.net/p/codeblocks/tickets/
|
74
BUILD
Normal file
74
BUILD
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
These notes are for developers wishing to build Code::Blocks from source.
|
||||||
|
|
||||||
|
The only external library needed to build Code::Blocks is wxWidgets.
|
||||||
|
You must compile wxWidgets as a monolithic DLL. Refer to the build documentation in the wxWidgets
|
||||||
|
sources on how to do it.
|
||||||
|
|
||||||
|
Win32 build instructions:
|
||||||
|
-------------------------
|
||||||
|
To build these sources, you must have a recent Code::Blocks nightly build installed
|
||||||
|
(http://www.codeblocks.org/nightly). Open the src/CodeBlocks.cbp and hit "Build". This should build
|
||||||
|
the IDE and the core plugins. Close the project now and open src/ContribPlugins.workspace. Hit
|
||||||
|
"Build". This builds all the contributed plugins.
|
||||||
|
|
||||||
|
When you 're done with the above, close Code::Blocks and run src/update.bat. This creates a working
|
||||||
|
environment for Code::Blocks, by copying needed files under folders "devel" and "output".
|
||||||
|
|
||||||
|
Unix build instructions:
|
||||||
|
------------------------
|
||||||
|
You need a working autotools environment (autoconf, automake, libtool, make, etc).
|
||||||
|
In a terminal, go to the top level folder.
|
||||||
|
If you fetched the sources from SVN, you need to bootstrap the program first. So type:
|
||||||
|
|
||||||
|
./bootstrap
|
||||||
|
|
||||||
|
This will adapt the project's configuration file to your environment. This only needs to be done
|
||||||
|
once: the first time you checkout the SVN version.
|
||||||
|
|
||||||
|
After this, type the following:
|
||||||
|
|
||||||
|
./configure --with-contrib-plugins=all
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
|
For the last step you must be root.
|
||||||
|
That's it.
|
||||||
|
|
||||||
|
or:
|
||||||
|
|
||||||
|
./configure --prefix=/usr --with-contrib-plugins=all,-help
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
|
"all" compiles all contrib plugins
|
||||||
|
"all,-help" compiles all contrib plugins except the help plugin
|
||||||
|
By default, no contrib plugins are compiled
|
||||||
|
Plugin names are:
|
||||||
|
AutoVersioning, BrowseTracker, byogames, Cccc, CppCheck, cbkoders, codesnippets, codestat,
|
||||||
|
copystrings, Cscope, DoxyBlocks, dragscroll, EditorConfig, EditorTweaks, envvars, FileManager,
|
||||||
|
headerfixup, help, hexeditor, incsearch, keybinder, libfinder, MouseSap, NassiShneiderman,
|
||||||
|
ProjectOptionsManipulator, profiler, regex, ReopenEditor, rndgen, exporter, symtab,
|
||||||
|
ThreadSearch, ToolsPlus, Valgrind, wxsmith, wxsmithcontrib,wxsmithaui
|
||||||
|
|
||||||
|
If the NassiShneiderman-plugin should be build, you might see this error, when you run configure:
|
||||||
|
|
||||||
|
checking whether the Boost::System library is available... yes
|
||||||
|
configure: error: Could not find a version of the library!
|
||||||
|
|
||||||
|
If this happens, you have to explicitly set the boost-libdir.
|
||||||
|
You should try to add "--with-boost-libdir=LIB_DIR" to the configure-line.
|
||||||
|
Depending on your system, LIB_DIR might be "/usr/lib" or "/usr/lib64".
|
||||||
|
|
||||||
|
Working on Code::Blocks sources from within Code::Blocks!
|
||||||
|
---------------------------------------------------------
|
||||||
|
The following apply for all platforms where you have Code::Blocks installed and working.
|
||||||
|
|
||||||
|
These two folders will contain the same files and directory structure and you can use the IDE from
|
||||||
|
either of these two directories. This structure has been created so that you can work in
|
||||||
|
Code::Blocks while editing Code::Blocks' sources ;). Basically, you 'll be using the
|
||||||
|
"output/CodeBlocks.exe" executable. Code::Blocks' project settings are such that all output goes
|
||||||
|
under "devel". So you can edit Code::Blocks' sources inside Code::Blocks and, when pressing "Run",
|
||||||
|
it will run the "devel/CodeBlocks.exe" executable ;). This way, you can't ruin the main executable
|
||||||
|
you 're using (under "output"). When your changes satisfy you and all works well, quit Code::Blocks,
|
||||||
|
run "make update" from command line and re-launch "output/CodeBlocks.exe". You 'll be working on
|
||||||
|
your brand new IDE!
|
44
COMPILERS
Normal file
44
COMPILERS
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
What follows is a description of the steps required to install a compiler for use in Code::Blocks.
|
||||||
|
|
||||||
|
Unix platforms
|
||||||
|
----------------
|
||||||
|
Code::Blocks comes with pre-configured settings for the GNU GCC compiler & GDB debugger. Just make sure they are installed. This depends on your distribution, but virtually all wide-spread distributions today include them by default.
|
||||||
|
|
||||||
|
Windows platform
|
||||||
|
----------------
|
||||||
|
Code::Blocks does not come with a compiler nor a debugger. It is left up to you to decide which compiler you want to use.
|
||||||
|
At this moment, Code::Blocks natively supports the following compilers:
|
||||||
|
|
||||||
|
* GNU GCC compiler & GDB debugger
|
||||||
|
* Microsoft Visual C++ Free Toolkit 2003
|
||||||
|
* Borland C++ Compiler 5.5
|
||||||
|
|
||||||
|
When you launch Code::Blocks for the first time, it will scan the system for the above compilers (it takes virtually no time). After this scan completes, Code::Blocks will have been configured for the found compiler(s). Code::Blocks will also be configured even for compilers that were not found (default installation settings will be used for each of those compilers).
|
||||||
|
|
||||||
|
For more info on how to download and install each of the above compilers, please read on.
|
||||||
|
|
||||||
|
|
||||||
|
Downloading the GNU GCC compiler & GDB debugger
|
||||||
|
-----------------------------------------------
|
||||||
|
Go to "http://www.mingw.org/download.shtml" and download the file named MinGW-x.y.z.exe, where x, y and z are version numbers. At the time of this writing, this file is MinGW-3.1.0-1.exe.
|
||||||
|
This setup file contains everything needed to compile and debug windows programs.
|
||||||
|
|
||||||
|
|
||||||
|
Downloading the Microsoft Visual C++ Free Toolkit 2003
|
||||||
|
------------------------------------------------------
|
||||||
|
Go to "http://msdn.microsoft.com/visualc/vctoolkit2003" and click on the link labeled "Download the Visual C++ Toolkit 2003". This will download the setup file.
|
||||||
|
|
||||||
|
|
||||||
|
Downloading the Borland C++ Compiler 5.5
|
||||||
|
----------------------------------------
|
||||||
|
NOTE: At some point, by following the steps described below, you will be asked to register with Borland and fill out a survey. Registration is free.
|
||||||
|
|
||||||
|
Go to "http://www.borland.com/products/downloads/download_cbuilder.html#" and click on the link labeled "Compiler". After you accept the license agreement, you will be provided with download links to the setup file.
|
||||||
|
|
||||||
|
|
||||||
|
Compiler-neutral setup steps
|
||||||
|
----------------------------
|
||||||
|
Now that you have downloaded the setup file, launch the installation by double-clicking on the setup file. The actual installation process is really simple. Just press "Next" all the way and you 're done.
|
||||||
|
|
||||||
|
If you installed the compiler on a directory other than its default, launch Code::Blocks. If it is the first time you launch it, the compiler will be auto-detected. If not, go to "Settings/Configure plugins/Compiler", select the compiler you installed, switch to the "Programs" tab and press "Auto-detect". If you get a message saying that the compiler was auto-detected, congratulations! If not, then press the button with the three dots next to the "Auto-detect" button and select the installation directory of your compiler manually.
|
||||||
|
|
675
COPYING
Normal file
675
COPYING
Normal file
|
@ -0,0 +1,675 @@
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
the GNU General Public License is intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users. We, the Free Software Foundation, use the
|
||||||
|
GNU General Public License for most of our software; it applies also to
|
||||||
|
any other work released this way by its authors. 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
|
||||||
|
them 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 prevent others from denying you
|
||||||
|
these rights or asking you to surrender the rights. Therefore, you have
|
||||||
|
certain responsibilities if you distribute copies of the software, or if
|
||||||
|
you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must pass on to the recipients the same
|
||||||
|
freedoms that you received. 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 rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps:
|
||||||
|
(1) assert copyright on the software, and (2) offer you this License
|
||||||
|
giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains
|
||||||
|
that there is no warranty for this free software. For both users' and
|
||||||
|
authors' sake, the GPL requires that modified versions be marked as
|
||||||
|
changed, so that their problems will not be attributed erroneously to
|
||||||
|
authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run
|
||||||
|
modified versions of the software inside them, although the manufacturer
|
||||||
|
can do so. This is fundamentally incompatible with the aim of
|
||||||
|
protecting users' freedom to change the software. The systematic
|
||||||
|
pattern of such abuse occurs in the area of products for individuals to
|
||||||
|
use, which is precisely where it is most unacceptable. Therefore, we
|
||||||
|
have designed this version of the GPL to prohibit the practice for those
|
||||||
|
products. If such problems arise substantially in other domains, we
|
||||||
|
stand ready to extend this provision to those domains in future versions
|
||||||
|
of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents.
|
||||||
|
States should not allow patents to restrict development and use of
|
||||||
|
software on general-purpose computers, but in those that do, we wish to
|
||||||
|
avoid the special danger that patents applied to a free program could
|
||||||
|
make it effectively proprietary. To prevent this, the GPL assures that
|
||||||
|
patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey 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;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If 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 convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU Affero General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the special requirements of the GNU Affero General Public License,
|
||||||
|
section 13, concerning interaction through a network will apply to the
|
||||||
|
combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU 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 that a certain numbered version of the GNU General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
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
|
||||||
|
state 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 3 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
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
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, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program does terminal interaction, make it output a short
|
||||||
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
<program> Copyright (C) <year> <name of author>
|
||||||
|
This program 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, your program's commands
|
||||||
|
might be different; for a GUI interface, you would use an "about box".
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
|
<http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
The GNU 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. But first, please read
|
||||||
|
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||||
|
|
384
ChangeLog.xsl
Normal file
384
ChangeLog.xsl
Normal file
|
@ -0,0 +1,384 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
Changelog.xsl - xslt stylesheet for converting codeblocks svn log
|
||||||
|
to a normal changelog
|
||||||
|
|
||||||
|
version 0.1
|
||||||
|
|
||||||
|
based on svn2cl.xsl version 0.9
|
||||||
|
|
||||||
|
original copyright-notice:
|
||||||
|
|
||||||
|
<snip>
|
||||||
|
|
||||||
|
This file is based on several implementations of this conversion
|
||||||
|
that I was not completely happy with and some other common
|
||||||
|
xslt constructs found on the web.
|
||||||
|
|
||||||
|
Copyright (C) 2004, 2005, 2006, 2007 Arthur de Jong.
|
||||||
|
|
||||||
|
</snip>
|
||||||
|
|
||||||
|
Copyright (c) 2008-2010 Jens Lody
|
||||||
|
|
||||||
|
|
||||||
|
Usage (replace ++ with two minus signs which aren't allowed
|
||||||
|
inside xml comments):
|
||||||
|
svn ++verbose ++xml log | \
|
||||||
|
xsltproc ++stringparam strip-prefix `basename $(pwd)` \
|
||||||
|
++stringparam linelen 75 \
|
||||||
|
++stringparam groupbyday yes \
|
||||||
|
++stringparam separate-daylogs yes \
|
||||||
|
++stringparam include-rev yes \
|
||||||
|
++stringparam breakbeforemsg yes/2 \
|
||||||
|
++stringparam reparagraph yes \
|
||||||
|
++stringparam authorsfile FILE \
|
||||||
|
++stringparam ignore-message-starting \
|
||||||
|
Changelog.xsl - > ChangeLog
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
1. Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
2. 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.
|
||||||
|
3. The name of the author may not be used to endorse or promote
|
||||||
|
products derived from this software without specific prior
|
||||||
|
written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||||
|
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR 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) HOWEVER 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.
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!DOCTYPE xsl:stylesheet [
|
||||||
|
<!ENTITY space " ">
|
||||||
|
]>
|
||||||
|
|
||||||
|
<xsl:stylesheet
|
||||||
|
version="1.0"
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||||
|
|
||||||
|
<xsl:output
|
||||||
|
method="text"
|
||||||
|
encoding="utf-8"
|
||||||
|
media-type="text/plain"
|
||||||
|
omit-xml-declaration="yes"
|
||||||
|
standalone="yes"
|
||||||
|
indent="no" />
|
||||||
|
|
||||||
|
<xsl:strip-space elements="*" />
|
||||||
|
|
||||||
|
<!-- the prefix of pathnames to strip -->
|
||||||
|
<xsl:param name="strip-prefix" select="'/'" />
|
||||||
|
|
||||||
|
<!-- the length of a line to wrap messages at -->
|
||||||
|
<xsl:param name="linelen" select="75" />
|
||||||
|
|
||||||
|
<!-- whether entries should be grouped by day -->
|
||||||
|
<xsl:param name="groupbyday" select="'no'" />
|
||||||
|
|
||||||
|
<!-- whether to seperate log messages by empty lines -->
|
||||||
|
<xsl:param name="separate-daylogs" select="'no'" />
|
||||||
|
|
||||||
|
<!-- whether a revision number should be included -->
|
||||||
|
<xsl:param name="include-rev" select="'no'" />
|
||||||
|
|
||||||
|
<!-- whether the log message should start on a new line -->
|
||||||
|
<xsl:param name="breakbeforemsg" select="'no'" />
|
||||||
|
|
||||||
|
<!-- whether the message should be rewrapped within one paragraph -->
|
||||||
|
<xsl:param name="reparagraph" select="'no'" />
|
||||||
|
|
||||||
|
<!-- whether certain messages should be ignored -->
|
||||||
|
<xsl:param name="ignore-message-starting" select="''" />
|
||||||
|
|
||||||
|
<!-- location of authors file if any -->
|
||||||
|
<xsl:param name="authorsfile" select="''" />
|
||||||
|
<xsl:key name="author-lookup" match="author" use="@uid" />
|
||||||
|
<xsl:variable name="authors-top" select="document($authorsfile)/authors" />
|
||||||
|
|
||||||
|
<!-- match the topmost log entry -->
|
||||||
|
<xsl:template match="log">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$ignore-message-starting != ''">
|
||||||
|
<!-- only handle logentries with don't contain the string -->
|
||||||
|
<xsl:apply-templates select="logentry[not(starts-with(msg,$ignore-message-starting))]" />
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:apply-templates select="logentry" />
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
<!-- add newlines at the end of the changelog -->
|
||||||
|
<xsl:text>
</xsl:text>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- format one entry from the log -->
|
||||||
|
<xsl:template match="logentry">
|
||||||
|
<xsl:choose>
|
||||||
|
<!-- if we're grouping we should omit some headers -->
|
||||||
|
<xsl:when test="$groupbyday='yes'">
|
||||||
|
<!-- save log entry number -->
|
||||||
|
<xsl:variable name="pos" select="position()" />
|
||||||
|
<!-- fetch previous entry's date -->
|
||||||
|
<xsl:variable name="prevdate">
|
||||||
|
<xsl:apply-templates select="../logentry[position()=(($pos)-1)]/date" />
|
||||||
|
</xsl:variable>
|
||||||
|
<!-- fetch previous entry's author -->
|
||||||
|
<xsl:variable name="prevauthor">
|
||||||
|
<xsl:value-of select="normalize-space(../logentry[position()=(($pos)-1)]/author)" />
|
||||||
|
</xsl:variable>
|
||||||
|
<!-- fetch this entry's date -->
|
||||||
|
<xsl:variable name="date">
|
||||||
|
<xsl:apply-templates select="date" />
|
||||||
|
</xsl:variable>
|
||||||
|
<!-- fetch this entry's author -->
|
||||||
|
<xsl:variable name="author">
|
||||||
|
<xsl:value-of select="normalize-space(author)" />
|
||||||
|
</xsl:variable>
|
||||||
|
<!-- check if header is changed -->
|
||||||
|
<xsl:if test="($prevdate!=$date) or ($prevauthor!=$author)">
|
||||||
|
<!-- add newline -->
|
||||||
|
<xsl:if test="not(position()=1)">
|
||||||
|
<xsl:text>
</xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<!-- date -->
|
||||||
|
<xsl:value-of select="$date" />
|
||||||
|
<!-- two spaces -->
|
||||||
|
<xsl:text>&space;&space;</xsl:text>
|
||||||
|
<!-- author's name -->
|
||||||
|
<xsl:apply-templates select="author" />
|
||||||
|
<!-- two newlines -->
|
||||||
|
<xsl:text>
</xsl:text>
|
||||||
|
<xsl:if test="$separate-daylogs!='yes'"><xsl:text>
</xsl:text></xsl:if>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:when>
|
||||||
|
<!-- write the log header -->
|
||||||
|
<xsl:otherwise>
|
||||||
|
<!-- add newline -->
|
||||||
|
<xsl:if test="not(position()=1)">
|
||||||
|
<xsl:text>
</xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<!-- date -->
|
||||||
|
<xsl:apply-templates select="date" />
|
||||||
|
<!-- two spaces -->
|
||||||
|
<xsl:text>&space;&space;</xsl:text>
|
||||||
|
<!-- author's name -->
|
||||||
|
<xsl:apply-templates select="author" />
|
||||||
|
<!-- two newlines -->
|
||||||
|
<xsl:text>

</xsl:text>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
<!-- get revision number -->
|
||||||
|
<xsl:variable name="rev">
|
||||||
|
<xsl:if test="$include-rev='yes'">
|
||||||
|
<xsl:text>svn</xsl:text>
|
||||||
|
<xsl:value-of select='format-number(@revision,"0000")' />
|
||||||
|
<xsl:text>:  </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:variable>
|
||||||
|
<!-- trim trailing newlines -->
|
||||||
|
<xsl:variable name="msg">
|
||||||
|
<!-- add a line break before the log message -->
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$breakbeforemsg='yes'">
|
||||||
|
<xsl:text>
</xsl:text>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:when test="number($breakbeforemsg)>0">
|
||||||
|
<xsl:call-template name="newlines">
|
||||||
|
<xsl:with-param name="count" select="number($breakbeforemsg)" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:when>
|
||||||
|
</xsl:choose>
|
||||||
|
<xsl:call-template name="trim-newln">
|
||||||
|
<xsl:with-param name="txt" select="msg" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<!-- add newline here if separate-daylogs is in effect -->
|
||||||
|
<xsl:if test="$groupbyday='yes' and $separate-daylogs='yes'"><xsl:text>
</xsl:text></xsl:if>
|
||||||
|
<!-- print the message nicely wrapped -->
|
||||||
|
<xsl:call-template name="wrap">
|
||||||
|
<xsl:with-param name="txt" select="concat($rev,$msg)" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- format date -->
|
||||||
|
<xsl:template match="date">
|
||||||
|
<xsl:variable name="date" select="normalize-space(.)" />
|
||||||
|
<!-- output date part -->
|
||||||
|
<xsl:value-of select="substring($date,1,10)" />
|
||||||
|
<!-- output time part -->
|
||||||
|
<xsl:if test="$groupbyday!='yes'">
|
||||||
|
<xsl:text>&space;</xsl:text>
|
||||||
|
<xsl:value-of select="substring($date,12,5)" />
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- format author -->
|
||||||
|
<xsl:template match="author">
|
||||||
|
<xsl:variable name="uid" select="normalize-space(.)" />
|
||||||
|
<!-- try to lookup author in authorsfile -->
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$authorsfile!=''">
|
||||||
|
<xsl:for-each select="$authors-top">
|
||||||
|
<xsl:variable name="author" select="key('author-lookup',$uid)" />
|
||||||
|
<!-- present result -->
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="string($author/.)">
|
||||||
|
<xsl:apply-templates select="$author/node()" mode="copy" />
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of select="$uid" />
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:for-each>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of select="$uid" />
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- copy but normalize text -->
|
||||||
|
<xsl:template match="text()" mode="copy">
|
||||||
|
<xsl:value-of select="normalize-space(.)" />
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- simple copy template -->
|
||||||
|
<xsl:template match="@*|node()" mode="copy">
|
||||||
|
<xsl:copy>
|
||||||
|
<xsl:apply-templates select="@*|node()" mode="copy" />
|
||||||
|
</xsl:copy>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- string-wrapping template -->
|
||||||
|
<xsl:template name="wrap">
|
||||||
|
<xsl:param name="txt" />
|
||||||
|
<xsl:variable name="normtxt" select="normalize-space($txt)" />
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="contains($txt,'
')">
|
||||||
|
<!-- text contains newlines, do the first line -->
|
||||||
|
<xsl:call-template name="wrap">
|
||||||
|
<xsl:with-param name="txt" select="substring-before($txt,'
')" />
|
||||||
|
</xsl:call-template>
|
||||||
|
<!-- print tab -->
|
||||||
|
<xsl:text>	&space;&space;</xsl:text>
|
||||||
|
<!-- wrap the rest of the text -->
|
||||||
|
<xsl:call-template name="wrap">
|
||||||
|
<xsl:with-param name="txt" select="substring-after($txt,'
')" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:when test="(string-length($normtxt) < (($linelen)-9)) or not(contains($normtxt,' '))">
|
||||||
|
<!-- this is easy, nothing to do -->
|
||||||
|
<xsl:value-of select="$normtxt" />
|
||||||
|
<!-- add newline -->
|
||||||
|
<xsl:text>
</xsl:text>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<!-- find the first line -->
|
||||||
|
<xsl:variable name="tmp" select="substring($normtxt,1,(($linelen)-9))" />
|
||||||
|
<xsl:variable name="line">
|
||||||
|
<xsl:choose>
|
||||||
|
<!-- if our attempt contains spaces wrap on that -->
|
||||||
|
<xsl:when test="contains($tmp,' ')">
|
||||||
|
<xsl:call-template name="find-line">
|
||||||
|
<xsl:with-param name="txt" select="$tmp" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:when>
|
||||||
|
<!-- otherwise use the first non-space characters from the text -->
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of select="substring-before($normtxt,' ')" />
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:variable>
|
||||||
|
<!-- print line -->
|
||||||
|
<xsl:value-of select="$line" />
|
||||||
|
<!-- print newline and tab -->
|
||||||
|
<xsl:text>
	&space;&space;</xsl:text>
|
||||||
|
<!-- wrap the rest of the text -->
|
||||||
|
<xsl:call-template name="wrap">
|
||||||
|
<xsl:with-param name="txt" select="normalize-space(substring($normtxt,string-length($line)+1))" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- template to trim line to contain space as last char -->
|
||||||
|
<xsl:template name="find-line">
|
||||||
|
<xsl:param name="txt" />
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="substring($txt,string-length($txt),1)=' '">
|
||||||
|
<xsl:value-of select="substring($txt,1,string-length($txt)-1)" />
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:call-template name="find-line">
|
||||||
|
<xsl:with-param name="txt" select="substring($txt,1,string-length($txt)-1)" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- template to trim trailing and starting newlines -->
|
||||||
|
<xsl:template name="trim-newln">
|
||||||
|
<xsl:param name="txt" />
|
||||||
|
<xsl:choose>
|
||||||
|
<!-- find starting newlines -->
|
||||||
|
<xsl:when test="substring($txt,1,1) = '
'">
|
||||||
|
<xsl:call-template name="trim-newln">
|
||||||
|
<xsl:with-param name="txt" select="substring($txt,2)" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:when>
|
||||||
|
<!-- find trailing newlines -->
|
||||||
|
<xsl:when test="substring($txt,string-length($txt),1) = '
'">
|
||||||
|
<xsl:call-template name="trim-newln">
|
||||||
|
<xsl:with-param name="txt" select="substring($txt,1,string-length($txt)-1)" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:when>
|
||||||
|
<!-- if the message has paragrapgs, find the first one -->
|
||||||
|
<xsl:when test="$reparagraph='yes' and contains($txt,'

')">
|
||||||
|
<!-- remove newlines from first paragraph -->
|
||||||
|
<xsl:value-of select="normalize-space(substring-before($txt,'

'))" />
|
||||||
|
<!-- paragraph separator -->
|
||||||
|
<xsl:text>

</xsl:text>
|
||||||
|
<!-- do the rest of the text -->
|
||||||
|
<xsl:call-template name="trim-newln">
|
||||||
|
<xsl:with-param name="txt" select="substring-after($txt,'

')" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:when>
|
||||||
|
<!-- remove more single newlines -->
|
||||||
|
<xsl:when test="$reparagraph='yes'">
|
||||||
|
<xsl:value-of select="normalize-space($txt)" />
|
||||||
|
</xsl:when>
|
||||||
|
<!-- no newlines found, we're done -->
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of select="$txt" />
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- insert a number of newlines -->
|
||||||
|
<xsl:template name="newlines">
|
||||||
|
<xsl:param name="count" />
|
||||||
|
<xsl:text>
</xsl:text>
|
||||||
|
<xsl:if test="$count>1">
|
||||||
|
<xsl:call-template name="newlines">
|
||||||
|
<xsl:with-param name="count" select="($count)-1" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
50
Makefile.am
Normal file
50
Makefile.am
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
SUBDIRS = src
|
||||||
|
|
||||||
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = codeblocks.pc
|
||||||
|
|
||||||
|
# Add some files needed only when making a bundle
|
||||||
|
if DARWIN
|
||||||
|
osxbundledir = $(pkgdatadir)/osx_bundle
|
||||||
|
dist_osxbundle_DATA = bundle.sh \
|
||||||
|
codeblocks.plist
|
||||||
|
|
||||||
|
osxbundle_iconsdir = $(osxbundledir)/icons
|
||||||
|
dist_osxbundle_icons_DATA = $(top_srcdir)/src/src/resources/icons/*.icns
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST = bootstrap \
|
||||||
|
codeblocks.spec \
|
||||||
|
codeblocks.spec.fedora \
|
||||||
|
codeblocks.plist \
|
||||||
|
BUGS \
|
||||||
|
BUILD \
|
||||||
|
COMPILERS \
|
||||||
|
$(srcdir)/update* \
|
||||||
|
ChangeLog.xsl \
|
||||||
|
codeblocks.appdata.xml \
|
||||||
|
codeblocks-contrib.metainfo.xml \
|
||||||
|
debian
|
||||||
|
|
||||||
|
clean-zipfiles:
|
||||||
|
find . -name "*.zip" | xargs rm -f
|
||||||
|
|
||||||
|
clean-bin:
|
||||||
|
find . -name "*.la" | xargs rm -f
|
||||||
|
rm -f src/src/codeblocks
|
||||||
|
|
||||||
|
all-local:
|
||||||
|
if HAVE_WX29
|
||||||
|
cp $(top_srcdir)/debian/codeblocks-headers.install.wx30 $(top_srcdir)/debian/codeblocks-headers.install
|
||||||
|
else
|
||||||
|
cp $(top_srcdir)/debian/codeblocks-headers.install.wx28 $(top_srcdir)/debian/codeblocks-headers.install
|
||||||
|
endif
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
rm -f $(top_srcdir)/debian/codeblocks-headers.install
|
||||||
|
|
||||||
|
appdatadir = $(datarootdir)/appdata
|
||||||
|
dist_appdata_DATA = $(top_srcdir)/codeblocks.appdata.xml
|
1123
Makefile.in
Normal file
1123
Makefile.in
Normal file
File diff suppressed because it is too large
Load diff
1
NEWS
Normal file
1
NEWS
Normal file
|
@ -0,0 +1 @@
|
||||||
|
For current news, check the Code::Blocks website at http://www.codeblocks.org
|
4
README
Normal file
4
README
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
This is the Code::Blocks IDE version 20.03
|
||||||
|
For license info, see the file "COPYING"
|
||||||
|
For compilers info, see the file "COMPILERS"
|
||||||
|
For support/feedback visit http://www.codeblocks.org
|
2345
aclocal.m4
vendored
Normal file
2345
aclocal.m4
vendored
Normal file
File diff suppressed because it is too large
Load diff
74
bootstrap
Normal file
74
bootstrap
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Check for proper versions of autotools
|
||||||
|
# We require:
|
||||||
|
# - autoconf 2.50+
|
||||||
|
# - automake 1.7+, 1.9+ for make dist
|
||||||
|
# - libtool 1.4+
|
||||||
|
|
||||||
|
# Touch revision.m4
|
||||||
|
if [ -f ./update_revision.sh ]; then
|
||||||
|
./update_revision.sh;
|
||||||
|
elif [ ! -f ./revision.m4 ]; then
|
||||||
|
echo "m4_define([SVN_REV], 0)" > ./revision.m4;
|
||||||
|
echo "m4_define([SVN_REVISION], trunk-r0)" >> ./revision.m4;
|
||||||
|
echo "m4_define([SVN_DATE], )" >> ./revision.m4;
|
||||||
|
fi
|
||||||
|
|
||||||
|
# create m4 directory or we break older systems like RedHat/CentOS 5
|
||||||
|
mkdir -p m4
|
||||||
|
|
||||||
|
# Deal with some gentoo-specific issues
|
||||||
|
WANT_AUTOMAKE='1.11 1.9 1.8 1.7' #latest of these is chosen or default if none hits
|
||||||
|
export WANT_AUTOMAKE
|
||||||
|
WANT_AUTOCONF='2.5'
|
||||||
|
export WANT_AUTOCONF
|
||||||
|
|
||||||
|
# Default program names
|
||||||
|
test -z "$AUTOCONF" && AUTOCONF=autoconf
|
||||||
|
test -z "$AUTOHEADER" && AUTOHEADER=autoheader
|
||||||
|
|
||||||
|
test -z "$AUTOMAKE" && AUTOMAKE=automake
|
||||||
|
test -z "$ACLOCAL" && ACLOCAL=aclocal
|
||||||
|
|
||||||
|
test -z "$LIBTOOL" && for LIBTOOL in glibtool libtool; do
|
||||||
|
($LIBTOOL --version) < /dev/null > /dev/null 2>&1 && break
|
||||||
|
done
|
||||||
|
test -z "$LIBTOOLIZE" && for LIBTOOLIZE in glibtoolize libtoolize; do
|
||||||
|
($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 && break
|
||||||
|
done
|
||||||
|
|
||||||
|
## Using prereq in autoconf rather than here, mostly for the debian systems at
|
||||||
|
## this point
|
||||||
|
if test -n "`$AUTOCONF --version 2>&1|head -n 1|egrep '1\.[0-9]+|2\.[0-4]+'`"; then
|
||||||
|
echo "Autoconf 2.50 or above is required. Aborting build...";
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '\<1\.[0-6](\.[0-9]+)?\>'`"; then
|
||||||
|
echo "Automake 1.7 or above is required. Aborting build...";
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '\<1\.7(\.[0-9]+)?|\<1\.8(\.[0-9]+)?'`"; then
|
||||||
|
echo "make dist only supported with automake 1.9 or above" >&2;
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -n "`$LIBTOOL --version 2>&1|head -n 1|cut -f 4 -d ' '|egrep '1\.[0-3](\.[0-9]+)?$'`"; then
|
||||||
|
echo "Libtool 1.4 or above is required. Aborting build...";
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
# clean up files which cause confusion when switch versions of auto*
|
||||||
|
rm -rf autom4te.cache
|
||||||
|
|
||||||
|
# Make the build more robust if a Makefile.am is removed from the file system, but it is not removed
|
||||||
|
# from the configure.ac file.
|
||||||
|
find . | grep -v wxSmithSTC/stc| grep Makefile.in$ | xargs rm -v
|
||||||
|
|
||||||
|
# Fire up autotools
|
||||||
|
$LIBTOOLIZE --force --copy && \
|
||||||
|
$ACLOCAL $ACLOCAL_FLAGS && \
|
||||||
|
$AUTOHEADER && \
|
||||||
|
$AUTOMAKE --include-deps --add-missing --foreign --copy && \
|
||||||
|
$AUTOCONF
|
93
bundle.sh
Normal file
93
bundle.sh
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
PREFIX_DIR="/usr/local"
|
||||||
|
INSTALL_SHAREDIR="${PREFIX_DIR}/share/codeblocks"
|
||||||
|
APPNAME="CodeBlocks"
|
||||||
|
APPDIR="${APPNAME}.app"
|
||||||
|
SHAREDATADIR="`pwd`/${APPDIR}/Contents/Resources/share/codeblocks"
|
||||||
|
|
||||||
|
if [ ! -d "$APPDIR" ]
|
||||||
|
then
|
||||||
|
echo "Building ${APPDIR} directory..."
|
||||||
|
mkdir "${APPDIR}"
|
||||||
|
mkdir "${APPDIR}/Contents"
|
||||||
|
mkdir "${APPDIR}/Contents/MacOS"
|
||||||
|
mkdir "${APPDIR}/Contents/Resources"
|
||||||
|
mkdir -p "${SHAREDATADIR}/plugins/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp ${INSTALL_SHAREDIR}/osx_bundle/codeblocks.plist "$APPDIR/Contents/Info.plist"
|
||||||
|
cp ${INSTALL_SHAREDIR}/osx_bundle/icons/*.icns "${APPDIR}/Contents/Resources"
|
||||||
|
|
||||||
|
|
||||||
|
PLUGINS=`echo ${PREFIX_DIR}/lib/codeblocks/plugins/*.dylib `
|
||||||
|
EXECUTABLES=`echo ${PREFIX_DIR}/bin/* `
|
||||||
|
|
||||||
|
ALL_DEPS=""
|
||||||
|
|
||||||
|
copy_deps() {
|
||||||
|
for dep in `otool -L "$1" | sed -n 's/\(.*[^\\ ]\) (.*/\1/gp'`
|
||||||
|
do
|
||||||
|
current_dep=$(basename $dep)
|
||||||
|
if [[ $dep =~ libcodeblocks ]]
|
||||||
|
then
|
||||||
|
install_name_tool -change $dep @executable_path/$(basename $dep) $1
|
||||||
|
fi
|
||||||
|
if [[ $dep =~ libwx ]]
|
||||||
|
then
|
||||||
|
oldfile=$dep
|
||||||
|
oldlink=$dep
|
||||||
|
newfile=$dep
|
||||||
|
while [ -L $newfile ]
|
||||||
|
do
|
||||||
|
newfile=`readlink $newfile`
|
||||||
|
if ! echo $newfile | grep '^/'
|
||||||
|
then
|
||||||
|
newfile=$(dirname $oldfile)/$newfile
|
||||||
|
fi
|
||||||
|
oldfile=$newfile
|
||||||
|
done
|
||||||
|
dep=$newfile
|
||||||
|
current_dep=$(basename $dep)
|
||||||
|
install_name_tool -change $oldlink "@executable_path/$current_dep" $1
|
||||||
|
if [[ ! $ALL_DEPS =~ $current_dep ]]
|
||||||
|
then
|
||||||
|
ALL_DEPS="$ALL_DEPS $current_dep"
|
||||||
|
echo "Copying $dep"
|
||||||
|
cp "$dep" "$APPDIR/Contents/MacOS/"
|
||||||
|
install_name_tool -id "@executable_path/$current_dep" "$APPDIR/Contents/MacOS/$current_dep"
|
||||||
|
copy_deps "$APPDIR/Contents/MacOS/$current_dep"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "Copying libcodeblocks ..."
|
||||||
|
cp -v ${PREFIX_DIR}/lib/libcodeblocks.0.dylib "$APPDIR/Contents/MacOS/"
|
||||||
|
copy_deps "${APPDIR}/Contents/MacOS/libcodeblocks.0.dylib"
|
||||||
|
install_name_tool -id "@executable_path/libcodeblocks.0.dylib" "$APPDIR/Contents/MacOS/libcodeblocks.0.dylib"
|
||||||
|
|
||||||
|
echo "Copying binaries"
|
||||||
|
for file in ${EXECUTABLES}
|
||||||
|
do
|
||||||
|
echo $file
|
||||||
|
cp $file "${APPDIR}/Contents/MacOS"
|
||||||
|
copy_deps "${APPDIR}/Contents/MacOS/$(basename $file)"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Copying plugins"
|
||||||
|
for file in ${PLUGINS}
|
||||||
|
do
|
||||||
|
echo $file
|
||||||
|
cp $file "${APPDIR}/Contents/Resources/share/codeblocks/plugins/"
|
||||||
|
install_name_tool -id @loader_path/$(basename $file) "${SHAREDATADIR}/plugins/$(basename $file)"
|
||||||
|
copy_deps "${SHAREDATADIR}/plugins/$(basename $file)"
|
||||||
|
done
|
||||||
|
|
||||||
|
rsync -lpdtgou --include='*.zip' --exclude='*' ${INSTALL_SHAREDIR}/ ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/images ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/templates ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/lexers ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/scripts ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/compilers ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/SpellChecker ${SHAREDATADIR}/
|
93
bundle.sh.in
Normal file
93
bundle.sh.in
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
PREFIX_DIR="@prefix@"
|
||||||
|
INSTALL_SHAREDIR="${PREFIX_DIR}/share/codeblocks"
|
||||||
|
APPNAME="CodeBlocks"
|
||||||
|
APPDIR="${APPNAME}.app"
|
||||||
|
SHAREDATADIR="`pwd`/${APPDIR}/Contents/Resources/share/codeblocks"
|
||||||
|
|
||||||
|
if [ ! -d "$APPDIR" ]
|
||||||
|
then
|
||||||
|
echo "Building ${APPDIR} directory..."
|
||||||
|
mkdir "${APPDIR}"
|
||||||
|
mkdir "${APPDIR}/Contents"
|
||||||
|
mkdir "${APPDIR}/Contents/MacOS"
|
||||||
|
mkdir "${APPDIR}/Contents/Resources"
|
||||||
|
mkdir -p "${SHAREDATADIR}/plugins/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp ${INSTALL_SHAREDIR}/osx_bundle/codeblocks.plist "$APPDIR/Contents/Info.plist"
|
||||||
|
cp ${INSTALL_SHAREDIR}/osx_bundle/icons/*.icns "${APPDIR}/Contents/Resources"
|
||||||
|
|
||||||
|
|
||||||
|
PLUGINS=`echo ${PREFIX_DIR}/lib/codeblocks/plugins/*.dylib `
|
||||||
|
EXECUTABLES=`echo ${PREFIX_DIR}/bin/* `
|
||||||
|
|
||||||
|
ALL_DEPS=""
|
||||||
|
|
||||||
|
copy_deps() {
|
||||||
|
for dep in `otool -L "$1" | sed -n 's/\(.*[^\\ ]\) (.*/\1/gp'`
|
||||||
|
do
|
||||||
|
current_dep=$(basename $dep)
|
||||||
|
if [[ $dep =~ libcodeblocks ]]
|
||||||
|
then
|
||||||
|
install_name_tool -change $dep @executable_path/$(basename $dep) $1
|
||||||
|
fi
|
||||||
|
if [[ $dep =~ libwx ]]
|
||||||
|
then
|
||||||
|
oldfile=$dep
|
||||||
|
oldlink=$dep
|
||||||
|
newfile=$dep
|
||||||
|
while [ -L $newfile ]
|
||||||
|
do
|
||||||
|
newfile=`readlink $newfile`
|
||||||
|
if ! echo $newfile | grep '^/'
|
||||||
|
then
|
||||||
|
newfile=$(dirname $oldfile)/$newfile
|
||||||
|
fi
|
||||||
|
oldfile=$newfile
|
||||||
|
done
|
||||||
|
dep=$newfile
|
||||||
|
current_dep=$(basename $dep)
|
||||||
|
install_name_tool -change $oldlink "@executable_path/$current_dep" $1
|
||||||
|
if [[ ! $ALL_DEPS =~ $current_dep ]]
|
||||||
|
then
|
||||||
|
ALL_DEPS="$ALL_DEPS $current_dep"
|
||||||
|
echo "Copying $dep"
|
||||||
|
cp "$dep" "$APPDIR/Contents/MacOS/"
|
||||||
|
install_name_tool -id "@executable_path/$current_dep" "$APPDIR/Contents/MacOS/$current_dep"
|
||||||
|
copy_deps "$APPDIR/Contents/MacOS/$current_dep"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "Copying libcodeblocks ..."
|
||||||
|
cp -v ${PREFIX_DIR}/lib/libcodeblocks.0.dylib "$APPDIR/Contents/MacOS/"
|
||||||
|
copy_deps "${APPDIR}/Contents/MacOS/libcodeblocks.0.dylib"
|
||||||
|
install_name_tool -id "@executable_path/libcodeblocks.0.dylib" "$APPDIR/Contents/MacOS/libcodeblocks.0.dylib"
|
||||||
|
|
||||||
|
echo "Copying binaries"
|
||||||
|
for file in ${EXECUTABLES}
|
||||||
|
do
|
||||||
|
echo $file
|
||||||
|
cp $file "${APPDIR}/Contents/MacOS"
|
||||||
|
copy_deps "${APPDIR}/Contents/MacOS/$(basename $file)"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Copying plugins"
|
||||||
|
for file in ${PLUGINS}
|
||||||
|
do
|
||||||
|
echo $file
|
||||||
|
cp $file "${APPDIR}/Contents/Resources/share/codeblocks/plugins/"
|
||||||
|
install_name_tool -id @loader_path/$(basename $file) "${SHAREDATADIR}/plugins/$(basename $file)"
|
||||||
|
copy_deps "${SHAREDATADIR}/plugins/$(basename $file)"
|
||||||
|
done
|
||||||
|
|
||||||
|
rsync -lpdtgou --include='*.zip' --exclude='*' ${INSTALL_SHAREDIR}/ ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/images ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/templates ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/lexers ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/scripts ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/compilers ${SHAREDATADIR}/
|
||||||
|
rsync -rlpdtgou ${INSTALL_SHAREDIR}/SpellChecker ${SHAREDATADIR}/
|
41
codeblocks-contrib.metainfo.xml
Normal file
41
codeblocks-contrib.metainfo.xml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="addon">
|
||||||
|
<id>codeblocks-contrib</id>
|
||||||
|
<extends>codeblocks.desktop</extends>
|
||||||
|
<name>Code::Blocks Plugins</name>
|
||||||
|
<summary>Additional plugins for the Code::Blocks IDE</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
Contains over 40 additional plugins for the Code::Blocks IDE, including:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
AutoVersioning -- Auto increments the version and build number of your application every time a change has been made
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
BrowseTracker -- Browse to previous source positions
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
BYO Games -- A collection of Games
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Koders query -- Searches the Koders website for keywords, and returns results
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Cccc -- runs the C and C++ Code Counter (CCCC) on the current project
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Code snippets -- create and save code snippets for later use
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Copy Strings -- copies all strings in the editor to the clipboard, and removes duplicates
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
CppCheck -- runs CppCheck over the current project
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</description>
|
||||||
|
<url type="homepage">http://www.codeblocks.org/cbplugins</url>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<updatecontact>jens_at_codeblocks.org</updatecontact>
|
||||||
|
</component>
|
29
codeblocks.appdata.xml
Normal file
29
codeblocks.appdata.xml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="desktop">
|
||||||
|
<id>codeblocks.desktop</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<summary>IDE for C, C++ and Fortran</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
Code::Blocks is a highly extensible Integrated Development Environment (IDE) for the C, C++ and Fortran programming languages. It features support for a wide range of compilers, parallel builds, multi-target projects, and also provides an interface with GNU GDB.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
The code editor in Code::Blocks features: syntax highlighting, code folding, a tabbed interface, code completion, a class browser and smart indenting.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<url type="homepage">http://www.codeblocks.org/</url>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<image>http://www.codeblocks.org/images/stories/imagebrowser/scr1.png</image>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<update_contact>jens_at_codeblocks.org</update_contact>
|
||||||
|
|
||||||
|
<project_license>GPL-3.0+</project_license>
|
||||||
|
|
||||||
|
<developer_name>The Code::Blocks team</developer_name>
|
||||||
|
|
||||||
|
<url type="bugtracker">https://sourceforge.net/p/codeblocks/tickets/</url>
|
||||||
|
|
||||||
|
<url type="help">http://codeblocks.org/user-manual</url>
|
||||||
|
</component>
|
18
codeblocks.pc.in
Normal file
18
codeblocks.pc.in
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
datarootdir = @datarootdir@
|
||||||
|
plugindir=@datadir@/@PACKAGE@/plugins
|
||||||
|
sharedir=@datadir@
|
||||||
|
|
||||||
|
Name: codeblocks
|
||||||
|
Description: Code::Blocks IDE
|
||||||
|
Version: @VERSION@
|
||||||
|
Libs: -L${libdir} -lcodeblocks
|
||||||
|
Cflags: -I${includedir}/@PACKAGE@ \
|
||||||
|
-I${includedir}/@PACKAGE@/tinyxml \
|
||||||
|
-I${includedir}/@PACKAGE@/scripting/include \
|
||||||
|
-I${includedir}/@PACKAGE@/scripting/bindings \
|
||||||
|
-I${includedir}/@PACKAGE@/scripting/sqplus \
|
||||||
|
-I${includedir}/@PACKAGE@/wxscintilla/include
|
159
codeblocks.plist
Normal file
159
codeblocks.plist
Normal file
|
@ -0,0 +1,159 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>NSPrincipalClass</key>
|
||||||
|
<string>NSApplication</string>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>CodeBlocks</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>CodeBlocks</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>app.icns</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>CodeBlocks version 20.03</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>CodeBlocks version 20.03</string>
|
||||||
|
<key>LSRequiresCarbon</key>
|
||||||
|
<true/>
|
||||||
|
<key>CFBundleGetInfoString</key>
|
||||||
|
<string>CodeBlocks version 20.03, (c) 2004-2020 Code::Blocks</string>
|
||||||
|
<key>CFBundleLongVersionString</key>
|
||||||
|
<string>CodeBlocks version 20.03 SVN revision 11997, (c) 2004-2020 Code::Blocks</string>
|
||||||
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
<string>Copyright 2004-2020, The Code::Blocks Team</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>org.codeblocks.app</string>
|
||||||
|
<key>CFBundleDocumentTypes</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>cbp</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>cbp.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>CodeBlocks Project File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>workspace</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>csd.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>CodeBlocks Workspace File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
<key>LSIsAppleDefaultForType</key>
|
||||||
|
<true/>
|
||||||
|
<key>LSTypeIsPackage</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>h</string>
|
||||||
|
<string>pch</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>h.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>C Header Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>hp</string>
|
||||||
|
<string>hpp</string>
|
||||||
|
<string>hxx</string>
|
||||||
|
<string>h++</string>
|
||||||
|
<string>pch++</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>h.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>C++ Header Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>c</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>c.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>C Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>cc</string>
|
||||||
|
<string>cp</string>
|
||||||
|
<string>cpp</string>
|
||||||
|
<string>cxx</string>
|
||||||
|
<string>c++</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>cpp.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>C++ Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>d</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>d.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>D Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>s</string>
|
||||||
|
<string>asm</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>Assembly Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>*</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>Plain Text File</string>
|
||||||
|
<key>CFBundleTypeOSTypes</key>
|
||||||
|
<array>
|
||||||
|
<string>****</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
159
codeblocks.plist.in
Normal file
159
codeblocks.plist.in
Normal file
|
@ -0,0 +1,159 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>NSPrincipalClass</key>
|
||||||
|
<string>NSApplication</string>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>CodeBlocks</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>CodeBlocks</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>app.icns</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>CodeBlocks version 20.03</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>CodeBlocks version 20.03</string>
|
||||||
|
<key>LSRequiresCarbon</key>
|
||||||
|
<true/>
|
||||||
|
<key>CFBundleGetInfoString</key>
|
||||||
|
<string>CodeBlocks version 20.03, (c) 2004-2020 Code::Blocks</string>
|
||||||
|
<key>CFBundleLongVersionString</key>
|
||||||
|
<string>CodeBlocks version 20.03 SVN revision @REVISION@, (c) 2004-2020 Code::Blocks</string>
|
||||||
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
<string>Copyright 2004-2020, The Code::Blocks Team</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>org.codeblocks.app</string>
|
||||||
|
<key>CFBundleDocumentTypes</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>cbp</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>cbp.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>CodeBlocks Project File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>workspace</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>csd.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>CodeBlocks Workspace File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
<key>LSIsAppleDefaultForType</key>
|
||||||
|
<true/>
|
||||||
|
<key>LSTypeIsPackage</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>h</string>
|
||||||
|
<string>pch</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>h.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>C Header Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>hp</string>
|
||||||
|
<string>hpp</string>
|
||||||
|
<string>hxx</string>
|
||||||
|
<string>h++</string>
|
||||||
|
<string>pch++</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>h.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>C++ Header Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>c</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>c.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>C Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>cc</string>
|
||||||
|
<string>cp</string>
|
||||||
|
<string>cpp</string>
|
||||||
|
<string>cxx</string>
|
||||||
|
<string>c++</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>cpp.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>C++ Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>d</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeIconFile</key>
|
||||||
|
<string>d.icns</string>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>D Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>s</string>
|
||||||
|
<string>asm</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>Assembly Source File</string>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleTypeExtensions</key>
|
||||||
|
<array>
|
||||||
|
<string>*</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeName</key>
|
||||||
|
<string>Plain Text File</string>
|
||||||
|
<key>CFBundleTypeOSTypes</key>
|
||||||
|
<array>
|
||||||
|
<string>****</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleTypeRole</key>
|
||||||
|
<string>Editor</string>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
545
codeblocks.spec
Normal file
545
codeblocks.spec
Normal file
|
@ -0,0 +1,545 @@
|
||||||
|
%define _svnrev 11997
|
||||||
|
%define req_wxgtk 2.8.0
|
||||||
|
%define _redhat %(if [ -f /etc/redhat-release ]; then echo 1; else echo 0; fi)
|
||||||
|
%define _mandrake %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)
|
||||||
|
%define _version 20.03
|
||||||
|
%define _rel 1
|
||||||
|
%define _release %{_rel}
|
||||||
|
%define jobs %(if [ -e /usr/bin/getconf ]; then echo $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 )); else echo 1; fi)
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%define _release %{_rel}.suse%{suse_version}
|
||||||
|
%endif
|
||||||
|
%if 0%{?mandriva_version}
|
||||||
|
%define _release %{_rel}.mdk%{mandrake_version}
|
||||||
|
%define _redhat 0
|
||||||
|
%endif
|
||||||
|
%if 0%{?fedora}
|
||||||
|
%define _release %{_rel}.fc%{fedora}
|
||||||
|
%define _redhat 0
|
||||||
|
%endif
|
||||||
|
%if 0%{?_redhat}
|
||||||
|
%define _redhat_prefix %(grep -q "Red Hat Linux" /etc/redhat-release && echo rhl || echo el)
|
||||||
|
%define _redhat_vernum %(cat /etc/redhat-release | sed -rn 's/[^0-9]*([0-9]*).*/\\1/p')
|
||||||
|
%define _release %{_rel}.%{_redhat_prefix}%{_redhat_vernum}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 930
|
||||||
|
%define debugrpm 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?mandriva_version}
|
||||||
|
%define debugrpm 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%define nassi_shneiderman 1
|
||||||
|
%define spellchecker 1
|
||||||
|
|
||||||
|
%if 0%{?_redhat_vernum}
|
||||||
|
%if 0%{?_redhat_vernum} < 6
|
||||||
|
%define nassi_shneiderman 0
|
||||||
|
%define spellchecker 0
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?nassi_shneiderman}
|
||||||
|
%define no_nassi_flag ""
|
||||||
|
%else
|
||||||
|
%define no_nassi_flag ,-NassiShneiderman
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?spellchecker}
|
||||||
|
%define no_spellchecker_flag ""
|
||||||
|
%else
|
||||||
|
%define no_spellchecker_flag ,-spellchecker
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Name: codeblocks
|
||||||
|
Version: %{_version}
|
||||||
|
Release: %{_release}
|
||||||
|
Summary: OpenSource Cross Platform Free C++ IDE
|
||||||
|
Group: Development/Tools
|
||||||
|
License: GPLv3+
|
||||||
|
URL: http://www.codeblocks.org/
|
||||||
|
Source: %{name}-20.03.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}
|
||||||
|
Requires: xterm
|
||||||
|
|
||||||
|
%if 0%{?mandriva_version}
|
||||||
|
Requires: wxgtk2.8 >= %{req_wxgtk}
|
||||||
|
BuildRequires: wxgtk2.8 >= %{req_wxgtk}, libwxgtku2.8-devel >= %{req_wxgtk}
|
||||||
|
%else
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%if 0%{?suse_version} < 1030
|
||||||
|
Requires: wxWidgets >= %{req_wxgtk}
|
||||||
|
BuildRequires: wxWidgets >= %{req_wxgtk}, wxWidgets-devel >= %{req_wxgtk}
|
||||||
|
%else
|
||||||
|
Requires: wxGTK >= %{req_wxgtk}
|
||||||
|
BuildRequires: wxGTK >= %{req_wxgtk}, wxGTK-devel >= %{req_wxgtk}
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
Requires: wxGTK >= %{req_wxgtk}
|
||||||
|
BuildRequires: wxGTK >= %{req_wxgtk}, wxGTK-devel >= %{req_wxgtk}
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
BuildRequires: intltool, gcc-c++, make, gettext, autoconf >= 2.5, libtool >= 1.4, m4
|
||||||
|
BuildRequires: libstdc++, libstdc++-devel, gtk2-devel, libjpeg-devel, libtiff-devel
|
||||||
|
BuildRequires: zip, pkgconfig, automake >= 1.9, glib2-devel
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
%endif
|
||||||
|
|
||||||
|
#{?_distribution:Distribution:%_distribution}
|
||||||
|
|
||||||
|
%define pkgdatadir %{_datadir}/%{name}
|
||||||
|
%define pkglibdir %{_libdir}/%{name}
|
||||||
|
%define plugindir %{pkglibdir}/plugins
|
||||||
|
|
||||||
|
%description
|
||||||
|
Code::Blocks is the open-source, cross-platform Integrated Development
|
||||||
|
Environment (IDE).
|
||||||
|
|
||||||
|
It is based on a self-developed plugin framework allowing unlimited
|
||||||
|
extensibility.
|
||||||
|
Most of its functionality is already provided by plugins.
|
||||||
|
|
||||||
|
Plugins included in the base package are:
|
||||||
|
* Compiler frontend to many free compilers
|
||||||
|
* Debugger frontend for GDB (and CDB for windows platforms)
|
||||||
|
* Source formatter (based on AStyle)
|
||||||
|
* Wizard to create new C++ classes
|
||||||
|
* Code-completion / symbols-browser (work in progress)
|
||||||
|
* Default MIME handler
|
||||||
|
* Wizard to create new Code::Blocks plugins
|
||||||
|
* To-do list
|
||||||
|
* Extensible wizard based on scripts
|
||||||
|
* Autosave (saves your work in the unfortunate case of a crash)
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Libraries needed to run Code::Blocks
|
||||||
|
Group: Development/Tools
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
Libraries needed to run Code::Blocks.
|
||||||
|
|
||||||
|
%post libs
|
||||||
|
test -x /sbin/ldconfig && /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun libs
|
||||||
|
test -x /sbin/ldconfig && /sbin/ldconfig
|
||||||
|
|
||||||
|
%package contrib
|
||||||
|
Summary: Code::Blocks contrib plugins
|
||||||
|
Group: Development/Tools
|
||||||
|
Requires: %{name}%{?_isa} = %{version}
|
||||||
|
Requires: %{name}-contrib-libs%{?_isa} = %{version}
|
||||||
|
BuildRequires: gamin-devel, bzip2-devel, zlib-devel, fontconfig-devel
|
||||||
|
%if 0%{?nassi_shneiderman}
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
%endif
|
||||||
|
%if 0%{?spellchecker}
|
||||||
|
BuildRequires: hunspell-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description contrib
|
||||||
|
This package extends Code::Blocks functionality a great deal with the included
|
||||||
|
plugins. These are:
|
||||||
|
* Autoversioning
|
||||||
|
* BrowseTracker
|
||||||
|
* Cccc
|
||||||
|
* Code profiler (based on gprof)
|
||||||
|
* Code statistics (SLOCs etc)
|
||||||
|
* Codesnippets
|
||||||
|
* Copy strings
|
||||||
|
* CppCheck
|
||||||
|
* Cscope
|
||||||
|
* DoxyBlocks
|
||||||
|
* DragScroll (enhances mouse operations)
|
||||||
|
* EditorConfig
|
||||||
|
* EditorTweaks
|
||||||
|
* Selection of small games for relaxing between coding sessions! (BYOGames)
|
||||||
|
* Setting of environment variables
|
||||||
|
* Source exporter to PDF/HTML/ODT/RTF
|
||||||
|
* FileManager
|
||||||
|
* Header fixup
|
||||||
|
* Help
|
||||||
|
* HexEditor
|
||||||
|
* IncrementalSearch
|
||||||
|
* Keyboard shortcuts configuration
|
||||||
|
* CB koders
|
||||||
|
* Library finder
|
||||||
|
* MouseSap
|
||||||
|
* NassiShneiderman
|
||||||
|
* Regular expression testbed
|
||||||
|
* Reopen last closed editor(s) via menu or hotkey
|
||||||
|
* Rndgen
|
||||||
|
* Smartindent plugin (cpp, HDL, Fortran, Lua, Pascal, Python, XML)
|
||||||
|
* Spellchecker plugin
|
||||||
|
* Symbol table plugin
|
||||||
|
* ThreadSearch
|
||||||
|
* ToolsPlus
|
||||||
|
* Valgrind
|
||||||
|
* RAD gui-builder for wxWidgets (wxSmith)
|
||||||
|
* wxSmith contrib items
|
||||||
|
* wxSmith AUI
|
||||||
|
|
||||||
|
%package contrib-libs
|
||||||
|
Summary: Libraries needed to run Code::Blocks contrib-plugins
|
||||||
|
Group: Development/Tools
|
||||||
|
|
||||||
|
%description contrib-libs
|
||||||
|
Libraries needed to run Code::Blocks contrib-plugins.
|
||||||
|
|
||||||
|
%post contrib-libs
|
||||||
|
test -x /sbin/ldconfig && /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun contrib-libs
|
||||||
|
test -x /sbin/ldconfig && /sbin/ldconfig
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Code::Blocks development libraries and headers (SDK)
|
||||||
|
Group: Development/Tools
|
||||||
|
Requires: %{name}%{?_isa} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains the development libraries and headers for creating plugins
|
||||||
|
for the Code::Blocks IDE.
|
||||||
|
|
||||||
|
%package contrib-devel
|
||||||
|
Summary: Code::Blocks development libraries and headers for wxSmith and wxContribItems
|
||||||
|
Group: Development/Tools
|
||||||
|
Requires: %{name}-contrib%{?_isa} = %{version}
|
||||||
|
|
||||||
|
%description contrib-devel
|
||||||
|
This package contains the development libraries and headers needed to build
|
||||||
|
wxSmith-plugins and to use the wxContribItems in own programs.
|
||||||
|
|
||||||
|
%{?debugrpm:%debug_package}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q -n codeblocks-20.03
|
||||||
|
|
||||||
|
%{?suse_update_libdir:%{suse_update_libdir}}
|
||||||
|
%{?suse_update_config:%{suse_update_config -f}}
|
||||||
|
|
||||||
|
./bootstrap
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%if 0%{?suse_version} > 1020
|
||||||
|
%configure \
|
||||||
|
--disable-pch \
|
||||||
|
--with-wx-config="%{_bindir}/wx-config" \
|
||||||
|
--with-contrib-plugins=all \
|
||||||
|
$CONF_OPTS
|
||||||
|
%else
|
||||||
|
%configure \
|
||||||
|
--disable-pch \
|
||||||
|
--with-wx-config="%{_bindir}/wx-config-2.8" \
|
||||||
|
--with-contrib-plugins=all \
|
||||||
|
$CONF_OPTS
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
%configure \
|
||||||
|
--disable-pch \
|
||||||
|
--with-wx-config="%{_bindir}/wx-config" \
|
||||||
|
--with-contrib-plugins=all%no_nassi_flag%no_spellchecker_flag \
|
||||||
|
$CONF_OPTS
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%{__make} %{?jobs:-j %{jobs}}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
rm -f $RPM_BUILD_ROOT%{pkglibdir}/wxContribItems/*.la
|
||||||
|
rm -f $RPM_BUILD_ROOT%{plugindir}/*.la
|
||||||
|
|
||||||
|
%post
|
||||||
|
/usr/bin/update-mime-database "%{_datadir}/mime" &> /dev/null || :
|
||||||
|
# test -x /sbin/ldconfig && /sbin/ldconfig
|
||||||
|
|
||||||
|
%preun
|
||||||
|
/usr/bin/update-mime-database "%{_datadir}/mime" &> /dev/null || :
|
||||||
|
|
||||||
|
%clean
|
||||||
|
test -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && %{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog
|
||||||
|
|
||||||
|
%{_bindir}/codeblocks
|
||||||
|
%{_bindir}/cb_console_runner
|
||||||
|
%{_bindir}/cb_share_config
|
||||||
|
%{plugindir}/libabbreviations.so
|
||||||
|
%{plugindir}/libAstyle.so
|
||||||
|
%{plugindir}/libautosave.so
|
||||||
|
%{plugindir}/libclasswizard.so
|
||||||
|
%{plugindir}/libcodecompletion.so
|
||||||
|
%{plugindir}/libcompiler.so
|
||||||
|
%{plugindir}/libdebugger.so
|
||||||
|
%{plugindir}/libdefaultmimehandler.so
|
||||||
|
%{plugindir}/liboccurrenceshighlighting.so
|
||||||
|
%{plugindir}/libopenfileslist.so
|
||||||
|
%{plugindir}/libprojectsimporter.so
|
||||||
|
%{plugindir}/libscriptedwizard.so
|
||||||
|
%{plugindir}/libtodo.so
|
||||||
|
%{_datadir}/appdata/codeblocks.appdata.xml
|
||||||
|
%{_datadir}/applications/codeblocks.desktop
|
||||||
|
%{_datadir}/icons/hicolor/48x48/mimetypes/*
|
||||||
|
%{_datadir}/mime/packages/codeblocks.xml
|
||||||
|
%{_datadir}/pixmaps/codeblocks.png
|
||||||
|
%{_mandir}/man1/codeblocks.*
|
||||||
|
%{_mandir}/man1/cb_console_runner.*
|
||||||
|
%{_mandir}/man1/cb_share_config.*
|
||||||
|
%{pkgdatadir}/compilers/*
|
||||||
|
%{pkgdatadir}/icons/*
|
||||||
|
%{pkgdatadir}/images/*.png
|
||||||
|
%{pkgdatadir}/images/settings/*
|
||||||
|
%{pkgdatadir}/lexers/*
|
||||||
|
%{pkgdatadir}/scripts/*
|
||||||
|
%{pkgdatadir}/templates/*
|
||||||
|
%{pkgdatadir}/Astyle.zip
|
||||||
|
%{pkgdatadir}/abbreviations.zip
|
||||||
|
%{pkgdatadir}/autosave.zip
|
||||||
|
%{pkgdatadir}/classwizard.zip
|
||||||
|
%{pkgdatadir}/codecompletion.zip
|
||||||
|
%{pkgdatadir}/compiler.zip
|
||||||
|
%{pkgdatadir}/debugger.zip
|
||||||
|
%{pkgdatadir}/defaultmimehandler.zip
|
||||||
|
%{pkgdatadir}/manager_resources.zip
|
||||||
|
%{pkgdatadir}/occurrenceshighlighting.zip
|
||||||
|
%{pkgdatadir}/openfileslist.zip
|
||||||
|
%{pkgdatadir}/projectsimporter.zip
|
||||||
|
%{pkgdatadir}/resources.zip
|
||||||
|
%{pkgdatadir}/scriptedwizard.zip
|
||||||
|
%{pkgdatadir}/start_here.zip
|
||||||
|
%{pkgdatadir}/todo.zip
|
||||||
|
%{pkgdatadir}/tips.txt
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libcodeblocks.so.*
|
||||||
|
%doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog
|
||||||
|
|
||||||
|
%files contrib
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{plugindir}/libAutoVersioning.so
|
||||||
|
%{plugindir}/libBrowseTracker.so
|
||||||
|
%{plugindir}/libbyogames.so
|
||||||
|
%{plugindir}/libCccc.so
|
||||||
|
%{plugindir}/libCppCheck.so
|
||||||
|
%{plugindir}/libSmartIndent*.so
|
||||||
|
%{plugindir}/libcb_koders.so
|
||||||
|
%{plugindir}/libcodesnippets.so
|
||||||
|
%{plugindir}/libcodestat.so
|
||||||
|
%{plugindir}/libcopystrings.so
|
||||||
|
%{plugindir}/libCscope.so
|
||||||
|
%{plugindir}/libDoxyBlocks.so
|
||||||
|
%{plugindir}/libdragscroll.so
|
||||||
|
%{plugindir}/libEditorConfig.so
|
||||||
|
%{plugindir}/libEditorTweaks.so
|
||||||
|
%{plugindir}/libenvvars.so
|
||||||
|
%{plugindir}/libexporter.so
|
||||||
|
%{plugindir}/libFileManager.so
|
||||||
|
%{plugindir}/libheaderfixup.so
|
||||||
|
%{plugindir}/libhelp_plugin.so
|
||||||
|
%{plugindir}/libHexEditor.so
|
||||||
|
%{plugindir}/libIncrementalSearch.so
|
||||||
|
%{plugindir}/libkeybinder.so
|
||||||
|
%{plugindir}/liblib_finder.so
|
||||||
|
%if 0%{?nassi_shneiderman}
|
||||||
|
%{plugindir}/libNassiShneiderman.so
|
||||||
|
%endif
|
||||||
|
%if 0%{?spellchecker}
|
||||||
|
%{plugindir}/libSpellChecker.so
|
||||||
|
%endif
|
||||||
|
%{plugindir}/libProfiler.so
|
||||||
|
%{plugindir}/libProjectOptionsManipulator.so
|
||||||
|
%{plugindir}/libRegExTestbed.so
|
||||||
|
%{plugindir}/libSymTab.so
|
||||||
|
%{plugindir}/libThreadSearch.so
|
||||||
|
%{plugindir}/libToolsPlus.so
|
||||||
|
%{plugindir}/libValgrind.so
|
||||||
|
%{plugindir}/libMouseSap.so
|
||||||
|
%{plugindir}/libReopenEditor.so
|
||||||
|
%{plugindir}/librndgen.so
|
||||||
|
%{plugindir}/libwxsmith.so
|
||||||
|
%{plugindir}/libwxsmithcontribitems.so
|
||||||
|
%{plugindir}/libwxSmithAui.so
|
||||||
|
%{_libdir}/pkgconfig/wxsmithaui.pc
|
||||||
|
%{pkgdatadir}/AutoVersioning.zip
|
||||||
|
%{pkgdatadir}/BrowseTracker.zip
|
||||||
|
%{pkgdatadir}/byogames.zip
|
||||||
|
%{pkgdatadir}/Cccc.zip
|
||||||
|
%{pkgdatadir}/CppCheck.zip
|
||||||
|
%{pkgdatadir}/SmartIndent*.zip
|
||||||
|
%{pkgdatadir}/cb_koders.zip
|
||||||
|
%{pkgdatadir}/codesnippets.zip
|
||||||
|
%{pkgdatadir}/codestat.zip
|
||||||
|
%{pkgdatadir}/copystrings.zip
|
||||||
|
%{pkgdatadir}/Cscope.zip
|
||||||
|
%{pkgdatadir}/DoxyBlocks.zip
|
||||||
|
%{pkgdatadir}/dragscroll.zip
|
||||||
|
%{pkgdatadir}/EditorConfig.zip
|
||||||
|
%{pkgdatadir}/EditorTweaks.zip
|
||||||
|
%{pkgdatadir}/envvars.zip
|
||||||
|
%{pkgdatadir}/exporter.zip
|
||||||
|
%{pkgdatadir}/FileManager.zip
|
||||||
|
%{pkgdatadir}/headerfixup.zip
|
||||||
|
%{pkgdatadir}/help_plugin.zip
|
||||||
|
%{pkgdatadir}/HexEditor.zip
|
||||||
|
%{pkgdatadir}/IncrementalSearch.zip
|
||||||
|
%{pkgdatadir}/keybinder.zip
|
||||||
|
%{pkgdatadir}/lib_finder.zip
|
||||||
|
%{pkgdatadir}/MouseSap.zip
|
||||||
|
%if 0%{?nassi_shneiderman}
|
||||||
|
%{pkgdatadir}/NassiShneiderman.zip
|
||||||
|
%endif
|
||||||
|
%if 0%{?spellchecker}
|
||||||
|
%{pkgdatadir}/SpellChecker.zip
|
||||||
|
%endif
|
||||||
|
%{pkgdatadir}/Profiler.zip
|
||||||
|
%{pkgdatadir}/ProjectOptionsManipulator.zip
|
||||||
|
%{pkgdatadir}/RegExTestbed.zip
|
||||||
|
%{pkgdatadir}/rndgen.zip
|
||||||
|
%{pkgdatadir}/ReopenEditor.zip
|
||||||
|
%{pkgdatadir}/SymTab.zip
|
||||||
|
%{pkgdatadir}/ThreadSearch.zip
|
||||||
|
%{pkgdatadir}/ToolsPlus.zip
|
||||||
|
%{pkgdatadir}/Valgrind.zip
|
||||||
|
%{pkgdatadir}/wxsmith.zip
|
||||||
|
%{pkgdatadir}/wxsmithcontribitems.zip
|
||||||
|
%{pkgdatadir}/wxSmithAui.zip
|
||||||
|
%{pkgdatadir}/images/codesnippets/*
|
||||||
|
%{pkgdatadir}/images/wxsmith/*
|
||||||
|
%{pkgdatadir}/lib_finder/*
|
||||||
|
%if 0%{?spellchecker}
|
||||||
|
%{pkgdatadir}/SpellChecker/*
|
||||||
|
%endif
|
||||||
|
%{_mandir}/man1/*snippets*
|
||||||
|
%doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog
|
||||||
|
%{_datadir}/appdata/codeblocks-contrib.metainfo.xml
|
||||||
|
|
||||||
|
%files contrib-libs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libwxsmithlib.so.*
|
||||||
|
%{pkglibdir}/wxContribItems/*.so.*
|
||||||
|
%doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libcodeblocks.so
|
||||||
|
%{_libdir}/pkgconfig/codeblocks.pc
|
||||||
|
%{_includedir}/%{name}/*
|
||||||
|
|
||||||
|
%files contrib-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{pkglibdir}/wxContribItems/*.so
|
||||||
|
%{_libdir}/pkgconfig/cb_*.pc
|
||||||
|
%{_libdir}/pkgconfig/wxsmith.pc
|
||||||
|
%{_includedir}/%{name}/wxContribItems/*
|
||||||
|
%{_libdir}/libwxsmithlib.so
|
||||||
|
%{_libdir}/pkgconfig/wxsmith-contrib.pc
|
||||||
|
%{_includedir}/wxsmith/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Feb 20 2020 Teodor Petrov <tpetrov@codeblocks.org>
|
||||||
|
- Changes for release 20.03.
|
||||||
|
* Tue Dec 23 2014 jens <jens@codeblocks.org>
|
||||||
|
- do not try to build Spellchecker-plugin on CentOS/RedHat < 6, because the
|
||||||
|
hunspell packages are only available from a thirdparty repo (atomicorp),
|
||||||
|
therefore an automatic build is not possible and the users are forced to
|
||||||
|
enable this repo.
|
||||||
|
- fix determining of redhat and fedora release-numbers
|
||||||
|
* Tue Dec 24 2013 Jens Lody <jens@codeblocks.org>
|
||||||
|
- Changes for release 13.12.
|
||||||
|
* Sun Dec 08 2013 Jens Lody <jens@codeblocks.org>
|
||||||
|
- Second release candidate of release 13.12.
|
||||||
|
* Sun Nov 17 2013 Jens Lody <jens@codeblocks.org>
|
||||||
|
- First release candidate of release 13.12.
|
||||||
|
* Fri Jun 08 2012 jens <jens@codeblocks.org>
|
||||||
|
- partly reverted last change, to keep the package layout more clear
|
||||||
|
- do not try to build NassiShneiderman-plugin on CentOS/RedHat < 6, because the
|
||||||
|
boost packages are too old (based on changes of oBFusCATed)
|
||||||
|
- move some build-dependencies to the contrib-plugins package, because they are
|
||||||
|
only needed there, thanks oBFusCATed
|
||||||
|
* Sat May 26 2012 jens <jens@codeblocks.org>
|
||||||
|
- split packages in binaries, arch-independent, development- and header-packages,
|
||||||
|
similar to the debian package-layout
|
||||||
|
* Fri May 25 2012 jens <jens@codeblocks.org>
|
||||||
|
- Fixed: missing build-dependencies
|
||||||
|
- Fixed: RPM build error, because of new contrib-packages
|
||||||
|
- Layout changes in codeblocks.spec.in, to enhance readability
|
||||||
|
* Sat Feb 20 2010 Biplab <bkmodak@gmail.com>
|
||||||
|
- Fixed typos: In wxSmithAui generated files.
|
||||||
|
- Fixed: RPM build error due to inclusion of contrib plugins twice.
|
||||||
|
- Fixed: Copystrings plugin was not included properly in rpm.
|
||||||
|
- Fixed: Pkgconfig macros of wxsmithaui and wxsmith-contrib were not included.
|
||||||
|
- Moved: libwxsmithlib.so to contrib package.
|
||||||
|
- Removed: 'lynx' as a dependency.
|
||||||
|
* Thu Feb 18 2010 Biplab <bkmodak@gmail.com>
|
||||||
|
- Changed source tarball extension to .bz2
|
||||||
|
- Fixed: broken rpm build due to path change from icons/gnome/* to icons/hicolor/*
|
||||||
|
* Sun Dec 14 2008 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- some fixes for changes in rev 5334
|
||||||
|
* Sat Jul 26 2008 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- moved libwxsmithlib.so and .la into devel package
|
||||||
|
- removed selfprovide codeblocks
|
||||||
|
- removed subversion dependency
|
||||||
|
- changed release and version tag (version now only contains version + revision)
|
||||||
|
- added libValgrind.* to file list
|
||||||
|
* Thu Jan 03 2008 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- added missing files to file list (libfinder)
|
||||||
|
- changed dependencies for mandriva
|
||||||
|
- some clean-ups
|
||||||
|
* Wed Nov 14 2007 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- added new plugin to file list
|
||||||
|
- added make job number "detection"
|
||||||
|
* Sun Oct 14 2007 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- applied changes made on opensuse buildservice
|
||||||
|
* Mon Apr 16 2007 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- added wxsmithcontribitems files to filelist
|
||||||
|
* Fri Jan 5 2007 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- changed prefix on suse to default (from /opt/gnome to /usr)
|
||||||
|
* Sat Dec 2 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- Added RegExTestbed plugin to filelist
|
||||||
|
* Sun Nov 5 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- applied patch #1605
|
||||||
|
- renamed _mandriva to _mandrake
|
||||||
|
* Wed Oct 11 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- Added cb_share_config to filelist
|
||||||
|
* Sun Aug 20 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- Added missing files to filelist
|
||||||
|
* Sat Jul 22 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- adapted versioning to autotools
|
||||||
|
* Fri Jul 14 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- added man pages to filelist
|
||||||
|
* Tue Jul 11 2006 Yiannis Mandravellos <mandrav@codeblocks.org>
|
||||||
|
- removed pluginwizard files
|
||||||
|
- replaced libprojectwizard by libscriptedwizard (renamed)
|
||||||
|
* Tue Jul 11 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- removed libwxscintilla from filelist
|
||||||
|
* Mon Jul 10 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- fixed wrong path of fedora-release file
|
||||||
|
- fixed mixed cases in one description macro call
|
||||||
|
- removed and added finally again libwxscintilla from/to filelist
|
||||||
|
- added versions to some buildrequires
|
||||||
|
- added byogames plugin to filelist
|
||||||
|
* Sun Mar 5 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- rewrite of release tag setting
|
||||||
|
* Thu Jan 5 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- had to add Mandriva specific requires
|
||||||
|
* Mon Jan 2 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- simplified the changes made before
|
||||||
|
* Sun Jan 1 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- added distribution check (SuSE, Fedora, Mandriva/Mandrake)
|
||||||
|
- added distribution specific Requires and BuildRequires
|
||||||
|
- added run of update-mime-database if installed
|
621
codeblocks.spec.fedora
Normal file
621
codeblocks.spec.fedora
Normal file
|
@ -0,0 +1,621 @@
|
||||||
|
%global svnrev 11997
|
||||||
|
|
||||||
|
Name: codeblocks
|
||||||
|
Version: 20.03
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: An open source, cross platform, free C++ IDE
|
||||||
|
License: GPLv3+
|
||||||
|
URL: http://www.codeblocks.org/
|
||||||
|
Source0: %{name}-20.03.tar.bz2
|
||||||
|
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: wxGTK-devel
|
||||||
|
BuildRequires: zlib-devel
|
||||||
|
BuildRequires: bzip2-devel
|
||||||
|
BuildRequires: tinyxml-devel
|
||||||
|
BuildRequires: libICE-devel
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
BuildRequires: hunspell-devel
|
||||||
|
BuildRequires: squirrel-devel
|
||||||
|
%if 0%{?fedora}
|
||||||
|
BuildRequires: astyle-devel
|
||||||
|
BuildRequires: libappstream-glib
|
||||||
|
%endif
|
||||||
|
BuildRequires: gamin-devel
|
||||||
|
BuildRequires: zip
|
||||||
|
BuildRequires: dos2unix
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
Requires: shared-mime-info
|
||||||
|
Requires: xterm
|
||||||
|
Provides: bundled(wxScintilla) = 3.53.0
|
||||||
|
|
||||||
|
%global pkgdatadir %{_datadir}/%{name}
|
||||||
|
%global pkglibdir %{_libdir}/%{name}
|
||||||
|
%global plugindir %{pkglibdir}/plugins
|
||||||
|
|
||||||
|
%global __provides_exclude_from ^%{plugindir}/.*\\.so$
|
||||||
|
|
||||||
|
%description
|
||||||
|
Code::Blocks is a free C++ IDE built specifically to meet the most demanding
|
||||||
|
needs of its users. It was designed, right from the start, to be extensible
|
||||||
|
and configurable. Built around a plug-in framework, Code::Blocks can be
|
||||||
|
extended with plug-in DLLs. It includes a plugin wizard, so you can compile
|
||||||
|
your own plug-ins.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Libraries needed to run Code::Blocks and its plug-ins
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
Libraries needed to run Code::Blocks and its plug-ins.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Files needed to build Code::Blocks plug-ins
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files needed to build Code::Blocks plug-ins.
|
||||||
|
|
||||||
|
%package contrib-libs
|
||||||
|
Summary: Libraries needed to run Code::Blocks contrib plug-ins
|
||||||
|
|
||||||
|
%description contrib-libs
|
||||||
|
Libraries needed to run Code::Blocks contrib plug-ins.
|
||||||
|
|
||||||
|
%package contrib-devel
|
||||||
|
Summary: Files needed to build Code::Blocks contrib plug-ins
|
||||||
|
Requires: %{name}-contrib-libs = %{version}-%{release}
|
||||||
|
|
||||||
|
%description contrib-devel
|
||||||
|
Development files needed to build Code::Blocks contrib plug-ins.
|
||||||
|
|
||||||
|
%package contrib
|
||||||
|
Summary: Additional Code::Blocks plug-ins
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: %{name}-contrib-libs = %{version}-%{release}
|
||||||
|
%if 0
|
||||||
|
# not in Fedora yet
|
||||||
|
Requires: cccc
|
||||||
|
%endif
|
||||||
|
Requires: cppcheck
|
||||||
|
Requires: cscope
|
||||||
|
%ifnarch s390
|
||||||
|
Requires: valgrind
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description contrib
|
||||||
|
Additional Code::Blocks plug-ins.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-20.03
|
||||||
|
|
||||||
|
./bootstrap
|
||||||
|
|
||||||
|
# convert EOLs
|
||||||
|
find . -type f -and -not -name "*.cpp" -and -not -name "*.h" -and -not -name "*.png" -and -not -name "*.bmp" -and -not -name "*.c" -and -not -name "*.cxx" -and -not -name "*.ico" -exec dos2unix -q --keepdate {} \;
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%configure \
|
||||||
|
--with-contrib-plugins=all \
|
||||||
|
--with-boost-libdir=%{_libdir}
|
||||||
|
|
||||||
|
# remove unbundled stuff
|
||||||
|
rm -rf src/include/tinyxml src/base/tinyxml
|
||||||
|
rm -rf src/include/scripting/{include,squirrel,sqstdlib}
|
||||||
|
rm -rf src/sdk/scripting/{squirrel,sqstdlib}
|
||||||
|
%if 0%{?fedora}
|
||||||
|
#currently no Fedora has a recent enough astyle (at least 2.06 is needed), so keep the bundled one
|
||||||
|
#rm -rf src/plugins/astyle/astyle
|
||||||
|
%endif
|
||||||
|
rm -rf src/plugins/contrib/SpellChecker/hunspell
|
||||||
|
rm -rf src/plugins/contrib/devpak_plugin/bzip2
|
||||||
|
rm -rf src/plugins/contrib/help_plugin/{bzip2,zlib}
|
||||||
|
|
||||||
|
# Don't use rpath!
|
||||||
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
|
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.{appdata,metainfo}.xml
|
||||||
|
%endif
|
||||||
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/codeblocks.desktop
|
||||||
|
|
||||||
|
rm -f %{buildroot}/%{_libdir}/*.la
|
||||||
|
rm -f %{buildroot}/%{_libdir}/%{name}/wxContribItems/*.la
|
||||||
|
rm -f %{buildroot}/%{plugindir}/*.la
|
||||||
|
|
||||||
|
# set a fixed timestamp (source archive creation) to generated resource archives
|
||||||
|
/bin/touch -r %{SOURCE0} %{buildroot}/%{pkgdatadir}/*.zip
|
||||||
|
|
||||||
|
# generate linker config file for wxContribItems libraries
|
||||||
|
mkdir -p %{buildroot}/%{_sysconfdir}/ld.so.conf.d
|
||||||
|
echo "%{_libdir}/%{name}/wxContribItems" > %{buildroot}/%{_sysconfdir}/ld.so.conf.d/%{name}-contrib-%{_arch}.conf
|
||||||
|
|
||||||
|
%post
|
||||||
|
/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||||
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
/usr/bin/update-desktop-database &> /dev/null || :
|
||||||
|
|
||||||
|
%postun
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||||
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||||
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
fi
|
||||||
|
/usr/bin/update-desktop-database &> /dev/null || :
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||||
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post contrib-libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun contrib-libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc README AUTHORS BUGS COMPILERS NEWS ChangeLog
|
||||||
|
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_mandir}/man1/codeblocks.*.gz
|
||||||
|
%{_mandir}/man1/cb_console_runner.*.gz
|
||||||
|
%{_mandir}/man1/cb_share_config.*.gz
|
||||||
|
|
||||||
|
%dir %{pkglibdir}
|
||||||
|
%dir %{plugindir}
|
||||||
|
%{plugindir}/libAstyle.so
|
||||||
|
%{plugindir}/libabbreviations.so
|
||||||
|
%{plugindir}/libautosave.so
|
||||||
|
%{plugindir}/libclasswizard.so
|
||||||
|
%{plugindir}/libcodecompletion.so
|
||||||
|
%{plugindir}/libcompiler.so
|
||||||
|
%{plugindir}/libdebugger.so
|
||||||
|
%{plugindir}/libdefaultmimehandler.so
|
||||||
|
%{plugindir}/liboccurrenceshighlighting.so
|
||||||
|
%{plugindir}/libopenfileslist.so
|
||||||
|
%{plugindir}/libprojectsimporter.so
|
||||||
|
%{plugindir}/libscriptedwizard.so
|
||||||
|
%{plugindir}/libtodo.so
|
||||||
|
|
||||||
|
%{_datadir}/appdata/%{name}.appdata.xml
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/icons/hicolor/48x48/mimetypes/*.png
|
||||||
|
%{_datadir}/mime/packages/%{name}.xml
|
||||||
|
%{_datadir}/pixmaps/%{name}.png
|
||||||
|
|
||||||
|
%dir %{pkgdatadir}
|
||||||
|
%{pkgdatadir}/icons
|
||||||
|
%dir %{pkgdatadir}/images
|
||||||
|
%{pkgdatadir}/images/*.png
|
||||||
|
%{pkgdatadir}/images/settings
|
||||||
|
%{pkgdatadir}/lexers
|
||||||
|
%{pkgdatadir}/scripts
|
||||||
|
%{pkgdatadir}/templates
|
||||||
|
%{pkgdatadir}/Astyle.zip
|
||||||
|
%{pkgdatadir}/abbreviations.zip
|
||||||
|
%{pkgdatadir}/autosave.zip
|
||||||
|
%{pkgdatadir}/classwizard.zip
|
||||||
|
%{pkgdatadir}/codecompletion.zip
|
||||||
|
%{pkgdatadir}/compiler.zip
|
||||||
|
%{pkgdatadir}/debugger.zip
|
||||||
|
%{pkgdatadir}/defaultmimehandler.zip
|
||||||
|
%{pkgdatadir}/manager_resources.zip
|
||||||
|
%{pkgdatadir}/occurrenceshighlighting.zip
|
||||||
|
%{pkgdatadir}/openfileslist.zip
|
||||||
|
%{pkgdatadir}/projectsimporter.zip
|
||||||
|
%{pkgdatadir}/resources.zip
|
||||||
|
%{pkgdatadir}/scriptedwizard.zip
|
||||||
|
%{pkgdatadir}/start_here.zip
|
||||||
|
%{pkgdatadir}/todo.zip
|
||||||
|
%{pkgdatadir}/tips.txt
|
||||||
|
%dir %{pkgdatadir}/compilers
|
||||||
|
%{pkgdatadir}/compilers/*.xml
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%doc COPYING
|
||||||
|
%{_libdir}/lib%{name}.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/%{name}/
|
||||||
|
%exclude %{_includedir}/%{name}/wxContribItems/
|
||||||
|
%{_libdir}/lib%{name}.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
|
%files contrib-libs
|
||||||
|
%{_sysconfdir}/ld.so.conf.d/%{name}-contrib-%{_arch}.conf
|
||||||
|
%{_libdir}/libwxsmithlib.so.*
|
||||||
|
%{_libdir}/%{name}/wxContribItems/*.so.*
|
||||||
|
%exclude %{_libdir}/libwxsmithlib.so
|
||||||
|
|
||||||
|
%files contrib-devel
|
||||||
|
%{_includedir}/wxsmith
|
||||||
|
%{_includedir}/%{name}/wxContribItems/
|
||||||
|
%{_libdir}/%{name}/wxContribItems/*.so
|
||||||
|
%{_libdir}/pkgconfig/cb_wx*.pc
|
||||||
|
%{_libdir}/pkgconfig/wxsmith.pc
|
||||||
|
%{_libdir}/pkgconfig/wxsmithaui.pc
|
||||||
|
%{_libdir}/pkgconfig/wxsmith-contrib.pc
|
||||||
|
|
||||||
|
%files contrib
|
||||||
|
%{_mandir}/man1/codesnippets.*.gz
|
||||||
|
|
||||||
|
%{pkgdatadir}/AutoVersioning.zip
|
||||||
|
%{pkgdatadir}/BrowseTracker.zip
|
||||||
|
%{pkgdatadir}/Cccc.zip
|
||||||
|
%{pkgdatadir}/CppCheck.zip
|
||||||
|
%{pkgdatadir}/Cscope.zip
|
||||||
|
%{pkgdatadir}/DoxyBlocks.zip
|
||||||
|
%{pkgdatadir}/EditorConfig.zip
|
||||||
|
%{pkgdatadir}/EditorTweaks.zip
|
||||||
|
%{pkgdatadir}/FileManager.zip
|
||||||
|
%{pkgdatadir}/HexEditor.zip
|
||||||
|
%{pkgdatadir}/IncrementalSearch.zip
|
||||||
|
%{pkgdatadir}/MouseSap.zip
|
||||||
|
%{pkgdatadir}/ThreadSearch.zip
|
||||||
|
%{pkgdatadir}/ToolsPlus.zip
|
||||||
|
%{pkgdatadir}/Valgrind.zip
|
||||||
|
%{pkgdatadir}/byogames.zip
|
||||||
|
%{pkgdatadir}/cb_koders.zip
|
||||||
|
%{pkgdatadir}/codesnippets.zip
|
||||||
|
%{pkgdatadir}/codestat.zip
|
||||||
|
%{pkgdatadir}/copystrings.zip
|
||||||
|
%{pkgdatadir}/dragscroll.zip
|
||||||
|
%{pkgdatadir}/envvars.zip
|
||||||
|
%{pkgdatadir}/exporter.zip
|
||||||
|
%{pkgdatadir}/headerfixup.zip
|
||||||
|
%{pkgdatadir}/help_plugin.zip
|
||||||
|
%{pkgdatadir}/keybinder.zip
|
||||||
|
%{pkgdatadir}/lib_finder.zip
|
||||||
|
%{pkgdatadir}/Profiler.zip
|
||||||
|
%{pkgdatadir}/ProjectOptionsManipulator.zip
|
||||||
|
%{pkgdatadir}/RegExTestbed.zip
|
||||||
|
%{pkgdatadir}/rndgen.zip
|
||||||
|
%{pkgdatadir}/ReopenEditor.zip
|
||||||
|
%{pkgdatadir}/SymTab.zip
|
||||||
|
%{pkgdatadir}/wxsmith.zip
|
||||||
|
%{pkgdatadir}/wxSmithAui.zip
|
||||||
|
%{pkgdatadir}/wxsmithcontribitems.zip
|
||||||
|
%{pkgdatadir}/images/codesnippets
|
||||||
|
%{pkgdatadir}/images/wxsmith
|
||||||
|
%{pkgdatadir}/lib_finder
|
||||||
|
%{pkgdatadir}/NassiShneiderman.zip
|
||||||
|
%{pkgdatadir}/SpellChecker.zip
|
||||||
|
%{pkgdatadir}/SpellChecker
|
||||||
|
%{pkgdatadir}/SmartIndent*.zip
|
||||||
|
|
||||||
|
%{plugindir}/libAutoVersioning.so
|
||||||
|
%{plugindir}/libBrowseTracker.so
|
||||||
|
%{plugindir}/libCccc.so
|
||||||
|
%{plugindir}/libCppCheck.so
|
||||||
|
%{plugindir}/libCscope.so
|
||||||
|
%{plugindir}/libDoxyBlocks.so
|
||||||
|
%{plugindir}/libEditorConfig.so
|
||||||
|
%{plugindir}/libEditorTweaks.so
|
||||||
|
%{plugindir}/libFileManager.so
|
||||||
|
%{plugindir}/libHexEditor.so
|
||||||
|
%{plugindir}/libIncrementalSearch.so
|
||||||
|
%{plugindir}/libMouseSap.so
|
||||||
|
%{plugindir}/libThreadSearch.so
|
||||||
|
%{plugindir}/libToolsPlus.so
|
||||||
|
%{plugindir}/libValgrind.so
|
||||||
|
%{plugindir}/libbyogames.so
|
||||||
|
%{plugindir}/libcb_koders.so
|
||||||
|
%{plugindir}/libcodesnippets.so
|
||||||
|
%{plugindir}/libcodestat.so
|
||||||
|
%{plugindir}/libcopystrings.so
|
||||||
|
%{plugindir}/libdragscroll.so
|
||||||
|
%{plugindir}/libenvvars.so
|
||||||
|
%{plugindir}/libexporter.so
|
||||||
|
%{plugindir}/libheaderfixup.so
|
||||||
|
%{plugindir}/libhelp_plugin.so
|
||||||
|
%{plugindir}/libkeybinder.so
|
||||||
|
%{plugindir}/liblib_finder.so
|
||||||
|
%{plugindir}/libProfiler.so
|
||||||
|
%{plugindir}/libProjectOptionsManipulator.so
|
||||||
|
%{plugindir}/libRegExTestbed.so
|
||||||
|
%{plugindir}/libReopenEditor.so
|
||||||
|
%{plugindir}/librndgen.so
|
||||||
|
%{plugindir}/libSymTab.so
|
||||||
|
%{plugindir}/libwxsmith.so
|
||||||
|
%{plugindir}/libwxSmithAui.so
|
||||||
|
%{plugindir}/libwxsmithcontribitems.so
|
||||||
|
%{plugindir}/libNassiShneiderman.so
|
||||||
|
%{plugindir}/libSpellChecker.so
|
||||||
|
%{plugindir}/libSmartIndent*.so
|
||||||
|
%{_datadir}/appdata/%{name}-contrib.metainfo.xml
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Feb 20 2020 Teodor Petrov <tpetrov@codeblocks.org> - 20.03-1
|
||||||
|
- New release.
|
||||||
|
|
||||||
|
* Wed Jan 17 2018 Jens Lody <fedora@jenslody.de> - 17.12.svn.11269-1
|
||||||
|
- New upstream.
|
||||||
|
|
||||||
|
* Thu Dec 28 2017 Jens Lody <jens@codeblocks.org> - 17.12-1
|
||||||
|
- New release.
|
||||||
|
|
||||||
|
* Tue Jul 19 2016 Jens Lody <fedora@jenslody.de> - 16.01.svn.10885-1
|
||||||
|
- New upstream.
|
||||||
|
- Spec-file clean up.
|
||||||
|
|
||||||
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 13.12-23
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 13.12-22
|
||||||
|
- Rebuilt for Boost 1.60
|
||||||
|
|
||||||
|
* Thu Sep 03 2015 Dan Horák <dan[at]danny.cz> - 13.12-21
|
||||||
|
- rebuild for Boost 1.59
|
||||||
|
|
||||||
|
* Fri Aug 21 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 13.12-20
|
||||||
|
- Valgrind is not available only on s/390
|
||||||
|
|
||||||
|
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.12-19
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
||||||
|
|
||||||
|
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 13.12-18
|
||||||
|
- rebuild for Boost 1.58
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.12-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 04 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 13.12-16
|
||||||
|
- Indicate that this package bundles wxScintilla 1.7.1
|
||||||
|
|
||||||
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 13.12-15
|
||||||
|
- Rebuilt for GCC 5 C++11 ABI change
|
||||||
|
|
||||||
|
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 13.12-14
|
||||||
|
- Rebuild for boost 1.57.0
|
||||||
|
|
||||||
|
* Fri Dec 12 2014 Dan Horák <dan[at]danny.cz> - 13.12-13
|
||||||
|
- fix resource archive loading for astyle plugin (#1172984, #1173243)
|
||||||
|
|
||||||
|
* Wed Dec 03 2014 Dan Horák <dan[at]danny.cz> - 13.12-12
|
||||||
|
- drop support for RHEL < 6
|
||||||
|
- include appdata only for Fedora
|
||||||
|
|
||||||
|
* Fri Nov 21 2014 Dan Horák <dan[at]danny.cz> - 13.12-11
|
||||||
|
- set Fedora specific paths for spellchecker and thesaurus in the SpellChecker plugin
|
||||||
|
- update for astyle 2.05 (#1166377)
|
||||||
|
|
||||||
|
* Thu Oct 02 2014 Rex Dieter <rdieter@fedoraproject.org> 13.12-10
|
||||||
|
- udate mime scriptlet
|
||||||
|
|
||||||
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.12-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 14 2014 Richard Hughes <richard@hughsie.com> - 13.12-8
|
||||||
|
- Make the MetaInfo file validate
|
||||||
|
|
||||||
|
* Mon Jul 07 2014 Richard Hughes <richard@hughsie.com> - 13.12-7
|
||||||
|
- Use the AppData and MetaInfo files written by Ryan
|
||||||
|
|
||||||
|
* Mon Jul 07 2014 Richard Hughes <richard@hughsie.com> - 13.12-6
|
||||||
|
- Remove the incorrect conditional (which doesn't work) to never use --vendor
|
||||||
|
when installing desktop files. Using --vendor means the AppStream builder
|
||||||
|
cannot match an AppData file which means Code::Blocks doesn't appear in the
|
||||||
|
software center.
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.12-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 13.12-4
|
||||||
|
- Rebuild for boost 1.55.0
|
||||||
|
|
||||||
|
* Thu Mar 20 2014 Dan Horák <dan[at]danny.cz> - 13.12-3
|
||||||
|
- unbundle astyle library (#1050825)
|
||||||
|
|
||||||
|
* Wed Feb 26 2014 Dan Horák <dan[at]danny.cz> - 13.12-2
|
||||||
|
- move the Occurrences Highlighting plugin to the main package (#1068971)
|
||||||
|
|
||||||
|
* Sun Dec 29 2013 Dan Horák <dan[at]danny.cz> - 13.12-1
|
||||||
|
- update to final 13.12 release (svn revision 9501)
|
||||||
|
|
||||||
|
* Mon Nov 04 2013 Dan Horák <dan[at]danny.cz> - 12.11-2
|
||||||
|
- fix Requires
|
||||||
|
|
||||||
|
* Sun Sep 01 2013 Dan Horák <dan[at]danny.cz> - 12.11-1
|
||||||
|
- update to final 12.11 release (svn revision 8629)
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Feb 19 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 10.05-12
|
||||||
|
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
|
||||||
|
- clean up spec to follow current guidelines
|
||||||
|
|
||||||
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 22 2012 Dan Horák <dan@danny.cz> - 10.05-9
|
||||||
|
- build with system squirrel
|
||||||
|
- fix FTBFS with g++ 4.7 (#823697)
|
||||||
|
|
||||||
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-8
|
||||||
|
- Rebuilt for c++ ABI breakage
|
||||||
|
|
||||||
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 10.05-6
|
||||||
|
- Rebuild for new libpng
|
||||||
|
|
||||||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 28 2010 Dan Horák <dan@danny.cz> - 10.05-4
|
||||||
|
- xterm is the default terminal application, added as Requires (#622753)
|
||||||
|
- backport D language support from trunk (http://fedoraproject.org/wiki/Features/D_Programming)
|
||||||
|
|
||||||
|
* Mon Jul 12 2010 Dan Horák <dan@danny.cz> - 10.05-3
|
||||||
|
- rebuilt against wxGTK-2.8.11-2
|
||||||
|
|
||||||
|
* Thu Jul 8 2010 Dan Horák <dan[at]danny.cz> - 10.05-2
|
||||||
|
- moved license text into -libs subpackage
|
||||||
|
|
||||||
|
* Sun Jun 27 2010 Dan Horák <dan[at]danny.cz> - 10.05-1
|
||||||
|
- updated to 10.05 release
|
||||||
|
|
||||||
|
* Sat Feb 13 2010 Dan Horák <dan[at]danny.cz> - 8.02-10
|
||||||
|
- fixed linking with the new --no-add-needed default (#564644)
|
||||||
|
|
||||||
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.02-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 15 2009 Dan Horák <dan[at]danny.cz> 8.02-8
|
||||||
|
- fix gsocket between glib >= 2.21 and wxGTK in rawhide
|
||||||
|
|
||||||
|
* Sat Feb 28 2009 Dan Horák <dan[at]danny.cz> 8.02-7
|
||||||
|
- update desktop file (#487796)
|
||||||
|
|
||||||
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.02-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 18 2009 Dan Horak <dan[at]danny.cz> 8.02-5
|
||||||
|
- fix compile error with gcc 4.4/glibc 2.9.90
|
||||||
|
|
||||||
|
* Fri Oct 31 2008 Dan Horak <dan[at]danny.cz> 8.02-4
|
||||||
|
- fix gcc detection (#469096)
|
||||||
|
|
||||||
|
* Sat Sep 20 2008 Dan Horak <dan[at]danny.cz> 8.02-3
|
||||||
|
- update desktop file
|
||||||
|
- fix running console applications (#461120)
|
||||||
|
|
||||||
|
* Fri Aug 29 2008 Dan Horak <dan[at]danny.cz> 8.02-2
|
||||||
|
- refresh patches
|
||||||
|
|
||||||
|
* Sun Mar 2 2008 Dan Horak <dan[at]danny.cz> 8.02-1
|
||||||
|
- update to stable release 8.02
|
||||||
|
- update BR to use system libraries
|
||||||
|
|
||||||
|
* Mon Feb 18 2008 Dan Horak <dan[at]danny.cz> 1.0-0.30.20080211svn4872
|
||||||
|
- update to revision 4872
|
||||||
|
- really fix the multilib problem with the contrib subpackage (#433124)
|
||||||
|
|
||||||
|
* Sun Feb 10 2008 Dan Horak <dan[at]danny.cz> 1.0-0.29.20080209svn4868
|
||||||
|
- update to revision 4868
|
||||||
|
|
||||||
|
* Tue Dec 11 2007 Dan Horak <dan[at]danny.cz> 1.0-0.28.20071210svn4719
|
||||||
|
- update to revision 4719
|
||||||
|
- fix multiarch problem with contrib subpackage (#340911)
|
||||||
|
- set a fixed timestamp on all installed data files
|
||||||
|
- preserve timestamps on updated files
|
||||||
|
|
||||||
|
* Wed Aug 29 2007 Dan Horak <dan[at]danny.cz> 1.0-0.27.20070828svn4413
|
||||||
|
- update to revision 4413
|
||||||
|
- update the License tag
|
||||||
|
|
||||||
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.0-0.26.20070718svn4280
|
||||||
|
- Rebuild for selinux ppc32 issue (F8).
|
||||||
|
|
||||||
|
* Thu Jul 19 2007 Dan Horak <dan[at]danny.cz> 1.0-0.25.20070718svn4280
|
||||||
|
- update to revision 4280
|
||||||
|
- added missing ldconfig call for the contrib subpackage
|
||||||
|
- fix permissions for source files
|
||||||
|
|
||||||
|
* Sat Apr 7 2007 Dan Horak <dan[at]danny.cz> 1.0-0.24.20070406svn3816
|
||||||
|
- update to revision 3816
|
||||||
|
|
||||||
|
* Tue Feb 13 2007 Dan Horak <dan[at]danny.cz> 1.0-0.23.20070211svn3592
|
||||||
|
- update the autorev.patch
|
||||||
|
|
||||||
|
* Tue Feb 13 2007 Dan Horak <dan[at]danny.cz> 1.0-0.22.20070211svn3592
|
||||||
|
- update to revision 3592
|
||||||
|
- added patch for New Project wizard with wxGTK 2.8 (#225058)
|
||||||
|
- created -libs subpackage to make package multilib-aware (#228356)
|
||||||
|
|
||||||
|
* Fri Jan 26 2007 Dan Horak <dan[at]danny.cz> 1.0-0.21.20070125svn3540
|
||||||
|
- update the listbook.patch
|
||||||
|
|
||||||
|
* Fri Jan 26 2007 Dan Horak <dan[at]danny.cz> 1.0-0.20.20070125svn3540
|
||||||
|
- update to revision 3540
|
||||||
|
|
||||||
|
* Thu Jan 18 2007 Dan Horak <dan[at]danny.cz> 1.0-0.19.20070117svn3500
|
||||||
|
- update to revision 3500
|
||||||
|
- added patch for compiling with wxGTK 2.8
|
||||||
|
|
||||||
|
* Fri Dec 8 2006 Dan Horak <dan[at]danny.cz> 1.0-0.18.20061207svn3357
|
||||||
|
- update to revision 3357
|
||||||
|
|
||||||
|
* Thu Nov 30 2006 Dan Horak <dan[at]danny.cz> 1.0-0.17.20061130svn3315
|
||||||
|
- update to revision 3315
|
||||||
|
|
||||||
|
* Tue Nov 28 2006 Dan Horak <dan[at]danny.cz> 1.0-0.16.20061128svn3295
|
||||||
|
- update to revision 3295
|
||||||
|
|
||||||
|
* Sat Nov 25 2006 Dan Horak <dan[at]danny.cz> 1.0-0.15.20061125svn3268
|
||||||
|
- update to revision 3268
|
||||||
|
- fixes #217081
|
||||||
|
|
||||||
|
* Tue Nov 21 2006 Dan Horak <dan[at]danny.cz> 1.0-0.14.20061121svn3253
|
||||||
|
- update to revision 3253
|
||||||
|
|
||||||
|
* Fri Nov 10 2006 Dan Horak <dan[at]danny.cz> 1.0-0.13.20061110svn3202
|
||||||
|
- update to revision 3202
|
||||||
|
- fixed plugin loading on 64-bit platforms
|
||||||
|
|
||||||
|
* Fri Nov 3 2006 Dan Horak <dan[at]danny.cz> 1.0-0.12.20061102svn3170
|
||||||
|
- update to revision 3170
|
||||||
|
|
||||||
|
* Mon Oct 30 2006 Dan Horak <dan[at]danny.cz> 1.0-0.11.20061029svn3157
|
||||||
|
- update to revision 3157
|
||||||
|
- kill rpath in the spec file using sed
|
||||||
|
- fix directory ownership
|
||||||
|
|
||||||
|
* Sun Oct 8 2006 Dan Horak <dan[at]danny.cz> 1.0-0.10.20061007svn3030
|
||||||
|
- update to revision 3030
|
||||||
|
- change the install paths for plugins in the spec file
|
||||||
|
|
||||||
|
* Wed Sep 13 2006 Dan Horak <dan[at]danny.cz> 1.0-0.9.20060909svn2965
|
||||||
|
- do not require .svn directories for building
|
||||||
|
|
||||||
|
* Sun Sep 10 2006 Dan Horak <dan[at]danny.cz> 1.0-0.8.20060909svn2965
|
||||||
|
- update to revision 2965
|
||||||
|
- use %%configure macro
|
||||||
|
- properly install the desktop file
|
||||||
|
- update the mime database after install and uninstall
|
||||||
|
- do not own only %%{_libdir}/codeblock/plugins, but also %%{_libdir}/codeblock
|
||||||
|
- added a script for retrieving and packing a revision from the SVN repo
|
||||||
|
|
||||||
|
* Sun Sep 3 2006 Dan Horak <dan[at]danny.cz> 1.0-0.7.20060902svn2944
|
||||||
|
- update to revision 2944
|
||||||
|
|
||||||
|
* Sun Aug 20 2006 Dan Horak <dan[at]danny.cz> 1.0-0.6.20060820svn2882
|
||||||
|
- update to revision 2882
|
||||||
|
- added missing Requires for devel subpackage
|
||||||
|
|
||||||
|
* Wed Aug 16 2006 Dan Horak <dan[at]danny.cz> 1.0-0.5.20060815svn2854
|
||||||
|
- update to revision 2854
|
||||||
|
|
||||||
|
* Wed Aug 16 2006 Dan Horak <dan[at]danny.cz> 1.0-0.4.20060812svn2840
|
||||||
|
- make setup section quiet
|
||||||
|
- use only tabs for indentation
|
||||||
|
|
||||||
|
* Tue Aug 15 2006 Dan Horak <dan[at]danny.cz> 1.0-0.3.20060812svn2840
|
||||||
|
- define libdir in configure
|
||||||
|
|
||||||
|
* Sun Aug 13 2006 Dan Horak <dan[at]danny.cz> 1.0-0.2.20060812svn2840
|
||||||
|
- update to revision 2840
|
||||||
|
- added BR for autotools
|
||||||
|
|
||||||
|
* Tue Aug 08 2006 Dan Horak <dan[at]danny.cz> 1.0-0.1.2824svn
|
||||||
|
- initial spec file based on upstream
|
621
codeblocks.spec.fedora.in
Normal file
621
codeblocks.spec.fedora.in
Normal file
|
@ -0,0 +1,621 @@
|
||||||
|
%global svnrev @REVISION@
|
||||||
|
|
||||||
|
Name: codeblocks
|
||||||
|
Version: 20.03
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: An open source, cross platform, free C++ IDE
|
||||||
|
License: GPLv3+
|
||||||
|
URL: http://www.codeblocks.org/
|
||||||
|
Source0: %{name}-@VERSION@.tar.bz2
|
||||||
|
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: wxGTK-devel
|
||||||
|
BuildRequires: zlib-devel
|
||||||
|
BuildRequires: bzip2-devel
|
||||||
|
BuildRequires: tinyxml-devel
|
||||||
|
BuildRequires: libICE-devel
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
BuildRequires: hunspell-devel
|
||||||
|
BuildRequires: squirrel-devel
|
||||||
|
%if 0%{?fedora}
|
||||||
|
BuildRequires: astyle-devel
|
||||||
|
BuildRequires: libappstream-glib
|
||||||
|
%endif
|
||||||
|
BuildRequires: gamin-devel
|
||||||
|
BuildRequires: zip
|
||||||
|
BuildRequires: dos2unix
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
Requires: shared-mime-info
|
||||||
|
Requires: xterm
|
||||||
|
Provides: bundled(wxScintilla) = 3.53.0
|
||||||
|
|
||||||
|
%global pkgdatadir %{_datadir}/%{name}
|
||||||
|
%global pkglibdir %{_libdir}/%{name}
|
||||||
|
%global plugindir %{pkglibdir}/plugins
|
||||||
|
|
||||||
|
%global __provides_exclude_from ^%{plugindir}/.*\\.so$
|
||||||
|
|
||||||
|
%description
|
||||||
|
Code::Blocks is a free C++ IDE built specifically to meet the most demanding
|
||||||
|
needs of its users. It was designed, right from the start, to be extensible
|
||||||
|
and configurable. Built around a plug-in framework, Code::Blocks can be
|
||||||
|
extended with plug-in DLLs. It includes a plugin wizard, so you can compile
|
||||||
|
your own plug-ins.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Libraries needed to run Code::Blocks and its plug-ins
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
Libraries needed to run Code::Blocks and its plug-ins.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Files needed to build Code::Blocks plug-ins
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files needed to build Code::Blocks plug-ins.
|
||||||
|
|
||||||
|
%package contrib-libs
|
||||||
|
Summary: Libraries needed to run Code::Blocks contrib plug-ins
|
||||||
|
|
||||||
|
%description contrib-libs
|
||||||
|
Libraries needed to run Code::Blocks contrib plug-ins.
|
||||||
|
|
||||||
|
%package contrib-devel
|
||||||
|
Summary: Files needed to build Code::Blocks contrib plug-ins
|
||||||
|
Requires: %{name}-contrib-libs = %{version}-%{release}
|
||||||
|
|
||||||
|
%description contrib-devel
|
||||||
|
Development files needed to build Code::Blocks contrib plug-ins.
|
||||||
|
|
||||||
|
%package contrib
|
||||||
|
Summary: Additional Code::Blocks plug-ins
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: %{name}-contrib-libs = %{version}-%{release}
|
||||||
|
%if 0
|
||||||
|
# not in Fedora yet
|
||||||
|
Requires: cccc
|
||||||
|
%endif
|
||||||
|
Requires: cppcheck
|
||||||
|
Requires: cscope
|
||||||
|
%ifnarch s390
|
||||||
|
Requires: valgrind
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description contrib
|
||||||
|
Additional Code::Blocks plug-ins.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-@VERSION@
|
||||||
|
|
||||||
|
./bootstrap
|
||||||
|
|
||||||
|
# convert EOLs
|
||||||
|
find . -type f -and -not -name "*.cpp" -and -not -name "*.h" -and -not -name "*.png" -and -not -name "*.bmp" -and -not -name "*.c" -and -not -name "*.cxx" -and -not -name "*.ico" -exec dos2unix -q --keepdate {} \;
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%configure \
|
||||||
|
--with-contrib-plugins=all \
|
||||||
|
--with-boost-libdir=%{_libdir}
|
||||||
|
|
||||||
|
# remove unbundled stuff
|
||||||
|
rm -rf src/include/tinyxml src/base/tinyxml
|
||||||
|
rm -rf src/include/scripting/{include,squirrel,sqstdlib}
|
||||||
|
rm -rf src/sdk/scripting/{squirrel,sqstdlib}
|
||||||
|
%if 0%{?fedora}
|
||||||
|
#currently no Fedora has a recent enough astyle (at least 2.06 is needed), so keep the bundled one
|
||||||
|
#rm -rf src/plugins/astyle/astyle
|
||||||
|
%endif
|
||||||
|
rm -rf src/plugins/contrib/SpellChecker/hunspell
|
||||||
|
rm -rf src/plugins/contrib/devpak_plugin/bzip2
|
||||||
|
rm -rf src/plugins/contrib/help_plugin/{bzip2,zlib}
|
||||||
|
|
||||||
|
# Don't use rpath!
|
||||||
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
|
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.{appdata,metainfo}.xml
|
||||||
|
%endif
|
||||||
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/codeblocks.desktop
|
||||||
|
|
||||||
|
rm -f %{buildroot}/%{_libdir}/*.la
|
||||||
|
rm -f %{buildroot}/%{_libdir}/%{name}/wxContribItems/*.la
|
||||||
|
rm -f %{buildroot}/%{plugindir}/*.la
|
||||||
|
|
||||||
|
# set a fixed timestamp (source archive creation) to generated resource archives
|
||||||
|
/bin/touch -r %{SOURCE0} %{buildroot}/%{pkgdatadir}/*.zip
|
||||||
|
|
||||||
|
# generate linker config file for wxContribItems libraries
|
||||||
|
mkdir -p %{buildroot}/%{_sysconfdir}/ld.so.conf.d
|
||||||
|
echo "%{_libdir}/%{name}/wxContribItems" > %{buildroot}/%{_sysconfdir}/ld.so.conf.d/%{name}-contrib-%{_arch}.conf
|
||||||
|
|
||||||
|
%post
|
||||||
|
/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||||
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
/usr/bin/update-desktop-database &> /dev/null || :
|
||||||
|
|
||||||
|
%postun
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||||
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||||
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
fi
|
||||||
|
/usr/bin/update-desktop-database &> /dev/null || :
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||||
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post contrib-libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun contrib-libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc README AUTHORS BUGS COMPILERS NEWS ChangeLog
|
||||||
|
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_mandir}/man1/codeblocks.*.gz
|
||||||
|
%{_mandir}/man1/cb_console_runner.*.gz
|
||||||
|
%{_mandir}/man1/cb_share_config.*.gz
|
||||||
|
|
||||||
|
%dir %{pkglibdir}
|
||||||
|
%dir %{plugindir}
|
||||||
|
%{plugindir}/libAstyle.so
|
||||||
|
%{plugindir}/libabbreviations.so
|
||||||
|
%{plugindir}/libautosave.so
|
||||||
|
%{plugindir}/libclasswizard.so
|
||||||
|
%{plugindir}/libcodecompletion.so
|
||||||
|
%{plugindir}/libcompiler.so
|
||||||
|
%{plugindir}/libdebugger.so
|
||||||
|
%{plugindir}/libdefaultmimehandler.so
|
||||||
|
%{plugindir}/liboccurrenceshighlighting.so
|
||||||
|
%{plugindir}/libopenfileslist.so
|
||||||
|
%{plugindir}/libprojectsimporter.so
|
||||||
|
%{plugindir}/libscriptedwizard.so
|
||||||
|
%{plugindir}/libtodo.so
|
||||||
|
|
||||||
|
%{_datadir}/appdata/%{name}.appdata.xml
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/icons/hicolor/48x48/mimetypes/*.png
|
||||||
|
%{_datadir}/mime/packages/%{name}.xml
|
||||||
|
%{_datadir}/pixmaps/%{name}.png
|
||||||
|
|
||||||
|
%dir %{pkgdatadir}
|
||||||
|
%{pkgdatadir}/icons
|
||||||
|
%dir %{pkgdatadir}/images
|
||||||
|
%{pkgdatadir}/images/*.png
|
||||||
|
%{pkgdatadir}/images/settings
|
||||||
|
%{pkgdatadir}/lexers
|
||||||
|
%{pkgdatadir}/scripts
|
||||||
|
%{pkgdatadir}/templates
|
||||||
|
%{pkgdatadir}/Astyle.zip
|
||||||
|
%{pkgdatadir}/abbreviations.zip
|
||||||
|
%{pkgdatadir}/autosave.zip
|
||||||
|
%{pkgdatadir}/classwizard.zip
|
||||||
|
%{pkgdatadir}/codecompletion.zip
|
||||||
|
%{pkgdatadir}/compiler.zip
|
||||||
|
%{pkgdatadir}/debugger.zip
|
||||||
|
%{pkgdatadir}/defaultmimehandler.zip
|
||||||
|
%{pkgdatadir}/manager_resources.zip
|
||||||
|
%{pkgdatadir}/occurrenceshighlighting.zip
|
||||||
|
%{pkgdatadir}/openfileslist.zip
|
||||||
|
%{pkgdatadir}/projectsimporter.zip
|
||||||
|
%{pkgdatadir}/resources.zip
|
||||||
|
%{pkgdatadir}/scriptedwizard.zip
|
||||||
|
%{pkgdatadir}/start_here.zip
|
||||||
|
%{pkgdatadir}/todo.zip
|
||||||
|
%{pkgdatadir}/tips.txt
|
||||||
|
%dir %{pkgdatadir}/compilers
|
||||||
|
%{pkgdatadir}/compilers/*.xml
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%doc COPYING
|
||||||
|
%{_libdir}/lib%{name}.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/%{name}/
|
||||||
|
%exclude %{_includedir}/%{name}/wxContribItems/
|
||||||
|
%{_libdir}/lib%{name}.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
|
%files contrib-libs
|
||||||
|
%{_sysconfdir}/ld.so.conf.d/%{name}-contrib-%{_arch}.conf
|
||||||
|
%{_libdir}/libwxsmithlib.so.*
|
||||||
|
%{_libdir}/%{name}/wxContribItems/*.so.*
|
||||||
|
%exclude %{_libdir}/libwxsmithlib.so
|
||||||
|
|
||||||
|
%files contrib-devel
|
||||||
|
%{_includedir}/wxsmith
|
||||||
|
%{_includedir}/%{name}/wxContribItems/
|
||||||
|
%{_libdir}/%{name}/wxContribItems/*.so
|
||||||
|
%{_libdir}/pkgconfig/cb_wx*.pc
|
||||||
|
%{_libdir}/pkgconfig/wxsmith.pc
|
||||||
|
%{_libdir}/pkgconfig/wxsmithaui.pc
|
||||||
|
%{_libdir}/pkgconfig/wxsmith-contrib.pc
|
||||||
|
|
||||||
|
%files contrib
|
||||||
|
%{_mandir}/man1/codesnippets.*.gz
|
||||||
|
|
||||||
|
%{pkgdatadir}/AutoVersioning.zip
|
||||||
|
%{pkgdatadir}/BrowseTracker.zip
|
||||||
|
%{pkgdatadir}/Cccc.zip
|
||||||
|
%{pkgdatadir}/CppCheck.zip
|
||||||
|
%{pkgdatadir}/Cscope.zip
|
||||||
|
%{pkgdatadir}/DoxyBlocks.zip
|
||||||
|
%{pkgdatadir}/EditorConfig.zip
|
||||||
|
%{pkgdatadir}/EditorTweaks.zip
|
||||||
|
%{pkgdatadir}/FileManager.zip
|
||||||
|
%{pkgdatadir}/HexEditor.zip
|
||||||
|
%{pkgdatadir}/IncrementalSearch.zip
|
||||||
|
%{pkgdatadir}/MouseSap.zip
|
||||||
|
%{pkgdatadir}/ThreadSearch.zip
|
||||||
|
%{pkgdatadir}/ToolsPlus.zip
|
||||||
|
%{pkgdatadir}/Valgrind.zip
|
||||||
|
%{pkgdatadir}/byogames.zip
|
||||||
|
%{pkgdatadir}/cb_koders.zip
|
||||||
|
%{pkgdatadir}/codesnippets.zip
|
||||||
|
%{pkgdatadir}/codestat.zip
|
||||||
|
%{pkgdatadir}/copystrings.zip
|
||||||
|
%{pkgdatadir}/dragscroll.zip
|
||||||
|
%{pkgdatadir}/envvars.zip
|
||||||
|
%{pkgdatadir}/exporter.zip
|
||||||
|
%{pkgdatadir}/headerfixup.zip
|
||||||
|
%{pkgdatadir}/help_plugin.zip
|
||||||
|
%{pkgdatadir}/keybinder.zip
|
||||||
|
%{pkgdatadir}/lib_finder.zip
|
||||||
|
%{pkgdatadir}/Profiler.zip
|
||||||
|
%{pkgdatadir}/ProjectOptionsManipulator.zip
|
||||||
|
%{pkgdatadir}/RegExTestbed.zip
|
||||||
|
%{pkgdatadir}/rndgen.zip
|
||||||
|
%{pkgdatadir}/ReopenEditor.zip
|
||||||
|
%{pkgdatadir}/SymTab.zip
|
||||||
|
%{pkgdatadir}/wxsmith.zip
|
||||||
|
%{pkgdatadir}/wxSmithAui.zip
|
||||||
|
%{pkgdatadir}/wxsmithcontribitems.zip
|
||||||
|
%{pkgdatadir}/images/codesnippets
|
||||||
|
%{pkgdatadir}/images/wxsmith
|
||||||
|
%{pkgdatadir}/lib_finder
|
||||||
|
%{pkgdatadir}/NassiShneiderman.zip
|
||||||
|
%{pkgdatadir}/SpellChecker.zip
|
||||||
|
%{pkgdatadir}/SpellChecker
|
||||||
|
%{pkgdatadir}/SmartIndent*.zip
|
||||||
|
|
||||||
|
%{plugindir}/libAutoVersioning.so
|
||||||
|
%{plugindir}/libBrowseTracker.so
|
||||||
|
%{plugindir}/libCccc.so
|
||||||
|
%{plugindir}/libCppCheck.so
|
||||||
|
%{plugindir}/libCscope.so
|
||||||
|
%{plugindir}/libDoxyBlocks.so
|
||||||
|
%{plugindir}/libEditorConfig.so
|
||||||
|
%{plugindir}/libEditorTweaks.so
|
||||||
|
%{plugindir}/libFileManager.so
|
||||||
|
%{plugindir}/libHexEditor.so
|
||||||
|
%{plugindir}/libIncrementalSearch.so
|
||||||
|
%{plugindir}/libMouseSap.so
|
||||||
|
%{plugindir}/libThreadSearch.so
|
||||||
|
%{plugindir}/libToolsPlus.so
|
||||||
|
%{plugindir}/libValgrind.so
|
||||||
|
%{plugindir}/libbyogames.so
|
||||||
|
%{plugindir}/libcb_koders.so
|
||||||
|
%{plugindir}/libcodesnippets.so
|
||||||
|
%{plugindir}/libcodestat.so
|
||||||
|
%{plugindir}/libcopystrings.so
|
||||||
|
%{plugindir}/libdragscroll.so
|
||||||
|
%{plugindir}/libenvvars.so
|
||||||
|
%{plugindir}/libexporter.so
|
||||||
|
%{plugindir}/libheaderfixup.so
|
||||||
|
%{plugindir}/libhelp_plugin.so
|
||||||
|
%{plugindir}/libkeybinder.so
|
||||||
|
%{plugindir}/liblib_finder.so
|
||||||
|
%{plugindir}/libProfiler.so
|
||||||
|
%{plugindir}/libProjectOptionsManipulator.so
|
||||||
|
%{plugindir}/libRegExTestbed.so
|
||||||
|
%{plugindir}/libReopenEditor.so
|
||||||
|
%{plugindir}/librndgen.so
|
||||||
|
%{plugindir}/libSymTab.so
|
||||||
|
%{plugindir}/libwxsmith.so
|
||||||
|
%{plugindir}/libwxSmithAui.so
|
||||||
|
%{plugindir}/libwxsmithcontribitems.so
|
||||||
|
%{plugindir}/libNassiShneiderman.so
|
||||||
|
%{plugindir}/libSpellChecker.so
|
||||||
|
%{plugindir}/libSmartIndent*.so
|
||||||
|
%{_datadir}/appdata/%{name}-contrib.metainfo.xml
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Feb 20 2020 Teodor Petrov <tpetrov@codeblocks.org> - 20.03-1
|
||||||
|
- New release.
|
||||||
|
|
||||||
|
* Wed Jan 17 2018 Jens Lody <fedora@jenslody.de> - 17.12.svn.11269-1
|
||||||
|
- New upstream.
|
||||||
|
|
||||||
|
* Thu Dec 28 2017 Jens Lody <jens@codeblocks.org> - 17.12-1
|
||||||
|
- New release.
|
||||||
|
|
||||||
|
* Tue Jul 19 2016 Jens Lody <fedora@jenslody.de> - 16.01.svn.10885-1
|
||||||
|
- New upstream.
|
||||||
|
- Spec-file clean up.
|
||||||
|
|
||||||
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 13.12-23
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 13.12-22
|
||||||
|
- Rebuilt for Boost 1.60
|
||||||
|
|
||||||
|
* Thu Sep 03 2015 Dan Horák <dan[at]danny.cz> - 13.12-21
|
||||||
|
- rebuild for Boost 1.59
|
||||||
|
|
||||||
|
* Fri Aug 21 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 13.12-20
|
||||||
|
- Valgrind is not available only on s/390
|
||||||
|
|
||||||
|
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.12-19
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
||||||
|
|
||||||
|
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 13.12-18
|
||||||
|
- rebuild for Boost 1.58
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.12-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 04 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 13.12-16
|
||||||
|
- Indicate that this package bundles wxScintilla 1.7.1
|
||||||
|
|
||||||
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 13.12-15
|
||||||
|
- Rebuilt for GCC 5 C++11 ABI change
|
||||||
|
|
||||||
|
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 13.12-14
|
||||||
|
- Rebuild for boost 1.57.0
|
||||||
|
|
||||||
|
* Fri Dec 12 2014 Dan Horák <dan[at]danny.cz> - 13.12-13
|
||||||
|
- fix resource archive loading for astyle plugin (#1172984, #1173243)
|
||||||
|
|
||||||
|
* Wed Dec 03 2014 Dan Horák <dan[at]danny.cz> - 13.12-12
|
||||||
|
- drop support for RHEL < 6
|
||||||
|
- include appdata only for Fedora
|
||||||
|
|
||||||
|
* Fri Nov 21 2014 Dan Horák <dan[at]danny.cz> - 13.12-11
|
||||||
|
- set Fedora specific paths for spellchecker and thesaurus in the SpellChecker plugin
|
||||||
|
- update for astyle 2.05 (#1166377)
|
||||||
|
|
||||||
|
* Thu Oct 02 2014 Rex Dieter <rdieter@fedoraproject.org> 13.12-10
|
||||||
|
- udate mime scriptlet
|
||||||
|
|
||||||
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.12-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 14 2014 Richard Hughes <richard@hughsie.com> - 13.12-8
|
||||||
|
- Make the MetaInfo file validate
|
||||||
|
|
||||||
|
* Mon Jul 07 2014 Richard Hughes <richard@hughsie.com> - 13.12-7
|
||||||
|
- Use the AppData and MetaInfo files written by Ryan
|
||||||
|
|
||||||
|
* Mon Jul 07 2014 Richard Hughes <richard@hughsie.com> - 13.12-6
|
||||||
|
- Remove the incorrect conditional (which doesn't work) to never use --vendor
|
||||||
|
when installing desktop files. Using --vendor means the AppStream builder
|
||||||
|
cannot match an AppData file which means Code::Blocks doesn't appear in the
|
||||||
|
software center.
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.12-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 13.12-4
|
||||||
|
- Rebuild for boost 1.55.0
|
||||||
|
|
||||||
|
* Thu Mar 20 2014 Dan Horák <dan[at]danny.cz> - 13.12-3
|
||||||
|
- unbundle astyle library (#1050825)
|
||||||
|
|
||||||
|
* Wed Feb 26 2014 Dan Horák <dan[at]danny.cz> - 13.12-2
|
||||||
|
- move the Occurrences Highlighting plugin to the main package (#1068971)
|
||||||
|
|
||||||
|
* Sun Dec 29 2013 Dan Horák <dan[at]danny.cz> - 13.12-1
|
||||||
|
- update to final 13.12 release (svn revision 9501)
|
||||||
|
|
||||||
|
* Mon Nov 04 2013 Dan Horák <dan[at]danny.cz> - 12.11-2
|
||||||
|
- fix Requires
|
||||||
|
|
||||||
|
* Sun Sep 01 2013 Dan Horák <dan[at]danny.cz> - 12.11-1
|
||||||
|
- update to final 12.11 release (svn revision 8629)
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Feb 19 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 10.05-12
|
||||||
|
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
|
||||||
|
- clean up spec to follow current guidelines
|
||||||
|
|
||||||
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 22 2012 Dan Horák <dan@danny.cz> - 10.05-9
|
||||||
|
- build with system squirrel
|
||||||
|
- fix FTBFS with g++ 4.7 (#823697)
|
||||||
|
|
||||||
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-8
|
||||||
|
- Rebuilt for c++ ABI breakage
|
||||||
|
|
||||||
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 10.05-6
|
||||||
|
- Rebuild for new libpng
|
||||||
|
|
||||||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.05-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 28 2010 Dan Horák <dan@danny.cz> - 10.05-4
|
||||||
|
- xterm is the default terminal application, added as Requires (#622753)
|
||||||
|
- backport D language support from trunk (http://fedoraproject.org/wiki/Features/D_Programming)
|
||||||
|
|
||||||
|
* Mon Jul 12 2010 Dan Horák <dan@danny.cz> - 10.05-3
|
||||||
|
- rebuilt against wxGTK-2.8.11-2
|
||||||
|
|
||||||
|
* Thu Jul 8 2010 Dan Horák <dan[at]danny.cz> - 10.05-2
|
||||||
|
- moved license text into -libs subpackage
|
||||||
|
|
||||||
|
* Sun Jun 27 2010 Dan Horák <dan[at]danny.cz> - 10.05-1
|
||||||
|
- updated to 10.05 release
|
||||||
|
|
||||||
|
* Sat Feb 13 2010 Dan Horák <dan[at]danny.cz> - 8.02-10
|
||||||
|
- fixed linking with the new --no-add-needed default (#564644)
|
||||||
|
|
||||||
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.02-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 15 2009 Dan Horák <dan[at]danny.cz> 8.02-8
|
||||||
|
- fix gsocket between glib >= 2.21 and wxGTK in rawhide
|
||||||
|
|
||||||
|
* Sat Feb 28 2009 Dan Horák <dan[at]danny.cz> 8.02-7
|
||||||
|
- update desktop file (#487796)
|
||||||
|
|
||||||
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.02-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 18 2009 Dan Horak <dan[at]danny.cz> 8.02-5
|
||||||
|
- fix compile error with gcc 4.4/glibc 2.9.90
|
||||||
|
|
||||||
|
* Fri Oct 31 2008 Dan Horak <dan[at]danny.cz> 8.02-4
|
||||||
|
- fix gcc detection (#469096)
|
||||||
|
|
||||||
|
* Sat Sep 20 2008 Dan Horak <dan[at]danny.cz> 8.02-3
|
||||||
|
- update desktop file
|
||||||
|
- fix running console applications (#461120)
|
||||||
|
|
||||||
|
* Fri Aug 29 2008 Dan Horak <dan[at]danny.cz> 8.02-2
|
||||||
|
- refresh patches
|
||||||
|
|
||||||
|
* Sun Mar 2 2008 Dan Horak <dan[at]danny.cz> 8.02-1
|
||||||
|
- update to stable release 8.02
|
||||||
|
- update BR to use system libraries
|
||||||
|
|
||||||
|
* Mon Feb 18 2008 Dan Horak <dan[at]danny.cz> 1.0-0.30.20080211svn4872
|
||||||
|
- update to revision 4872
|
||||||
|
- really fix the multilib problem with the contrib subpackage (#433124)
|
||||||
|
|
||||||
|
* Sun Feb 10 2008 Dan Horak <dan[at]danny.cz> 1.0-0.29.20080209svn4868
|
||||||
|
- update to revision 4868
|
||||||
|
|
||||||
|
* Tue Dec 11 2007 Dan Horak <dan[at]danny.cz> 1.0-0.28.20071210svn4719
|
||||||
|
- update to revision 4719
|
||||||
|
- fix multiarch problem with contrib subpackage (#340911)
|
||||||
|
- set a fixed timestamp on all installed data files
|
||||||
|
- preserve timestamps on updated files
|
||||||
|
|
||||||
|
* Wed Aug 29 2007 Dan Horak <dan[at]danny.cz> 1.0-0.27.20070828svn4413
|
||||||
|
- update to revision 4413
|
||||||
|
- update the License tag
|
||||||
|
|
||||||
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.0-0.26.20070718svn4280
|
||||||
|
- Rebuild for selinux ppc32 issue (F8).
|
||||||
|
|
||||||
|
* Thu Jul 19 2007 Dan Horak <dan[at]danny.cz> 1.0-0.25.20070718svn4280
|
||||||
|
- update to revision 4280
|
||||||
|
- added missing ldconfig call for the contrib subpackage
|
||||||
|
- fix permissions for source files
|
||||||
|
|
||||||
|
* Sat Apr 7 2007 Dan Horak <dan[at]danny.cz> 1.0-0.24.20070406svn3816
|
||||||
|
- update to revision 3816
|
||||||
|
|
||||||
|
* Tue Feb 13 2007 Dan Horak <dan[at]danny.cz> 1.0-0.23.20070211svn3592
|
||||||
|
- update the autorev.patch
|
||||||
|
|
||||||
|
* Tue Feb 13 2007 Dan Horak <dan[at]danny.cz> 1.0-0.22.20070211svn3592
|
||||||
|
- update to revision 3592
|
||||||
|
- added patch for New Project wizard with wxGTK 2.8 (#225058)
|
||||||
|
- created -libs subpackage to make package multilib-aware (#228356)
|
||||||
|
|
||||||
|
* Fri Jan 26 2007 Dan Horak <dan[at]danny.cz> 1.0-0.21.20070125svn3540
|
||||||
|
- update the listbook.patch
|
||||||
|
|
||||||
|
* Fri Jan 26 2007 Dan Horak <dan[at]danny.cz> 1.0-0.20.20070125svn3540
|
||||||
|
- update to revision 3540
|
||||||
|
|
||||||
|
* Thu Jan 18 2007 Dan Horak <dan[at]danny.cz> 1.0-0.19.20070117svn3500
|
||||||
|
- update to revision 3500
|
||||||
|
- added patch for compiling with wxGTK 2.8
|
||||||
|
|
||||||
|
* Fri Dec 8 2006 Dan Horak <dan[at]danny.cz> 1.0-0.18.20061207svn3357
|
||||||
|
- update to revision 3357
|
||||||
|
|
||||||
|
* Thu Nov 30 2006 Dan Horak <dan[at]danny.cz> 1.0-0.17.20061130svn3315
|
||||||
|
- update to revision 3315
|
||||||
|
|
||||||
|
* Tue Nov 28 2006 Dan Horak <dan[at]danny.cz> 1.0-0.16.20061128svn3295
|
||||||
|
- update to revision 3295
|
||||||
|
|
||||||
|
* Sat Nov 25 2006 Dan Horak <dan[at]danny.cz> 1.0-0.15.20061125svn3268
|
||||||
|
- update to revision 3268
|
||||||
|
- fixes #217081
|
||||||
|
|
||||||
|
* Tue Nov 21 2006 Dan Horak <dan[at]danny.cz> 1.0-0.14.20061121svn3253
|
||||||
|
- update to revision 3253
|
||||||
|
|
||||||
|
* Fri Nov 10 2006 Dan Horak <dan[at]danny.cz> 1.0-0.13.20061110svn3202
|
||||||
|
- update to revision 3202
|
||||||
|
- fixed plugin loading on 64-bit platforms
|
||||||
|
|
||||||
|
* Fri Nov 3 2006 Dan Horak <dan[at]danny.cz> 1.0-0.12.20061102svn3170
|
||||||
|
- update to revision 3170
|
||||||
|
|
||||||
|
* Mon Oct 30 2006 Dan Horak <dan[at]danny.cz> 1.0-0.11.20061029svn3157
|
||||||
|
- update to revision 3157
|
||||||
|
- kill rpath in the spec file using sed
|
||||||
|
- fix directory ownership
|
||||||
|
|
||||||
|
* Sun Oct 8 2006 Dan Horak <dan[at]danny.cz> 1.0-0.10.20061007svn3030
|
||||||
|
- update to revision 3030
|
||||||
|
- change the install paths for plugins in the spec file
|
||||||
|
|
||||||
|
* Wed Sep 13 2006 Dan Horak <dan[at]danny.cz> 1.0-0.9.20060909svn2965
|
||||||
|
- do not require .svn directories for building
|
||||||
|
|
||||||
|
* Sun Sep 10 2006 Dan Horak <dan[at]danny.cz> 1.0-0.8.20060909svn2965
|
||||||
|
- update to revision 2965
|
||||||
|
- use %%configure macro
|
||||||
|
- properly install the desktop file
|
||||||
|
- update the mime database after install and uninstall
|
||||||
|
- do not own only %%{_libdir}/codeblock/plugins, but also %%{_libdir}/codeblock
|
||||||
|
- added a script for retrieving and packing a revision from the SVN repo
|
||||||
|
|
||||||
|
* Sun Sep 3 2006 Dan Horak <dan[at]danny.cz> 1.0-0.7.20060902svn2944
|
||||||
|
- update to revision 2944
|
||||||
|
|
||||||
|
* Sun Aug 20 2006 Dan Horak <dan[at]danny.cz> 1.0-0.6.20060820svn2882
|
||||||
|
- update to revision 2882
|
||||||
|
- added missing Requires for devel subpackage
|
||||||
|
|
||||||
|
* Wed Aug 16 2006 Dan Horak <dan[at]danny.cz> 1.0-0.5.20060815svn2854
|
||||||
|
- update to revision 2854
|
||||||
|
|
||||||
|
* Wed Aug 16 2006 Dan Horak <dan[at]danny.cz> 1.0-0.4.20060812svn2840
|
||||||
|
- make setup section quiet
|
||||||
|
- use only tabs for indentation
|
||||||
|
|
||||||
|
* Tue Aug 15 2006 Dan Horak <dan[at]danny.cz> 1.0-0.3.20060812svn2840
|
||||||
|
- define libdir in configure
|
||||||
|
|
||||||
|
* Sun Aug 13 2006 Dan Horak <dan[at]danny.cz> 1.0-0.2.20060812svn2840
|
||||||
|
- update to revision 2840
|
||||||
|
- added BR for autotools
|
||||||
|
|
||||||
|
* Tue Aug 08 2006 Dan Horak <dan[at]danny.cz> 1.0-0.1.2824svn
|
||||||
|
- initial spec file based on upstream
|
545
codeblocks.spec.in
Normal file
545
codeblocks.spec.in
Normal file
|
@ -0,0 +1,545 @@
|
||||||
|
%define _svnrev @REVISION@
|
||||||
|
%define req_wxgtk 2.8.0
|
||||||
|
%define _redhat %(if [ -f /etc/redhat-release ]; then echo 1; else echo 0; fi)
|
||||||
|
%define _mandrake %(if [ -f /etc/mandrake-release ]; then echo 1; else echo 0; fi)
|
||||||
|
%define _version 20.03
|
||||||
|
%define _rel 1
|
||||||
|
%define _release %{_rel}
|
||||||
|
%define jobs %(if [ -e /usr/bin/getconf ]; then echo $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 )); else echo 1; fi)
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%define _release %{_rel}.suse%{suse_version}
|
||||||
|
%endif
|
||||||
|
%if 0%{?mandriva_version}
|
||||||
|
%define _release %{_rel}.mdk%{mandrake_version}
|
||||||
|
%define _redhat 0
|
||||||
|
%endif
|
||||||
|
%if 0%{?fedora}
|
||||||
|
%define _release %{_rel}.fc%{fedora}
|
||||||
|
%define _redhat 0
|
||||||
|
%endif
|
||||||
|
%if 0%{?_redhat}
|
||||||
|
%define _redhat_prefix %(grep -q "Red Hat Linux" /etc/redhat-release && echo rhl || echo el)
|
||||||
|
%define _redhat_vernum %(cat /etc/redhat-release | sed -rn 's/[^0-9]*([0-9]*).*/\\1/p')
|
||||||
|
%define _release %{_rel}.%{_redhat_prefix}%{_redhat_vernum}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 930
|
||||||
|
%define debugrpm 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?mandriva_version}
|
||||||
|
%define debugrpm 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%define nassi_shneiderman 1
|
||||||
|
%define spellchecker 1
|
||||||
|
|
||||||
|
%if 0%{?_redhat_vernum}
|
||||||
|
%if 0%{?_redhat_vernum} < 6
|
||||||
|
%define nassi_shneiderman 0
|
||||||
|
%define spellchecker 0
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?nassi_shneiderman}
|
||||||
|
%define no_nassi_flag ""
|
||||||
|
%else
|
||||||
|
%define no_nassi_flag ,-NassiShneiderman
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?spellchecker}
|
||||||
|
%define no_spellchecker_flag ""
|
||||||
|
%else
|
||||||
|
%define no_spellchecker_flag ,-spellchecker
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Name: codeblocks
|
||||||
|
Version: %{_version}
|
||||||
|
Release: %{_release}
|
||||||
|
Summary: OpenSource Cross Platform Free C++ IDE
|
||||||
|
Group: Development/Tools
|
||||||
|
License: GPLv3+
|
||||||
|
URL: http://www.codeblocks.org/
|
||||||
|
Source: %{name}-@VERSION@.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}
|
||||||
|
Requires: xterm
|
||||||
|
|
||||||
|
%if 0%{?mandriva_version}
|
||||||
|
Requires: wxgtk2.8 >= %{req_wxgtk}
|
||||||
|
BuildRequires: wxgtk2.8 >= %{req_wxgtk}, libwxgtku2.8-devel >= %{req_wxgtk}
|
||||||
|
%else
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%if 0%{?suse_version} < 1030
|
||||||
|
Requires: wxWidgets >= %{req_wxgtk}
|
||||||
|
BuildRequires: wxWidgets >= %{req_wxgtk}, wxWidgets-devel >= %{req_wxgtk}
|
||||||
|
%else
|
||||||
|
Requires: wxGTK >= %{req_wxgtk}
|
||||||
|
BuildRequires: wxGTK >= %{req_wxgtk}, wxGTK-devel >= %{req_wxgtk}
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
Requires: wxGTK >= %{req_wxgtk}
|
||||||
|
BuildRequires: wxGTK >= %{req_wxgtk}, wxGTK-devel >= %{req_wxgtk}
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
BuildRequires: intltool, gcc-c++, make, gettext, autoconf >= 2.5, libtool >= 1.4, m4
|
||||||
|
BuildRequires: libstdc++, libstdc++-devel, gtk2-devel, libjpeg-devel, libtiff-devel
|
||||||
|
BuildRequires: zip, pkgconfig, automake >= 1.9, glib2-devel
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
%endif
|
||||||
|
|
||||||
|
#{?_distribution:Distribution:%_distribution}
|
||||||
|
|
||||||
|
%define pkgdatadir %{_datadir}/%{name}
|
||||||
|
%define pkglibdir %{_libdir}/%{name}
|
||||||
|
%define plugindir %{pkglibdir}/plugins
|
||||||
|
|
||||||
|
%description
|
||||||
|
Code::Blocks is the open-source, cross-platform Integrated Development
|
||||||
|
Environment (IDE).
|
||||||
|
|
||||||
|
It is based on a self-developed plugin framework allowing unlimited
|
||||||
|
extensibility.
|
||||||
|
Most of its functionality is already provided by plugins.
|
||||||
|
|
||||||
|
Plugins included in the base package are:
|
||||||
|
* Compiler frontend to many free compilers
|
||||||
|
* Debugger frontend for GDB (and CDB for windows platforms)
|
||||||
|
* Source formatter (based on AStyle)
|
||||||
|
* Wizard to create new C++ classes
|
||||||
|
* Code-completion / symbols-browser (work in progress)
|
||||||
|
* Default MIME handler
|
||||||
|
* Wizard to create new Code::Blocks plugins
|
||||||
|
* To-do list
|
||||||
|
* Extensible wizard based on scripts
|
||||||
|
* Autosave (saves your work in the unfortunate case of a crash)
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Libraries needed to run Code::Blocks
|
||||||
|
Group: Development/Tools
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
Libraries needed to run Code::Blocks.
|
||||||
|
|
||||||
|
%post libs
|
||||||
|
test -x /sbin/ldconfig && /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun libs
|
||||||
|
test -x /sbin/ldconfig && /sbin/ldconfig
|
||||||
|
|
||||||
|
%package contrib
|
||||||
|
Summary: Code::Blocks contrib plugins
|
||||||
|
Group: Development/Tools
|
||||||
|
Requires: %{name}%{?_isa} = %{version}
|
||||||
|
Requires: %{name}-contrib-libs%{?_isa} = %{version}
|
||||||
|
BuildRequires: gamin-devel, bzip2-devel, zlib-devel, fontconfig-devel
|
||||||
|
%if 0%{?nassi_shneiderman}
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
%endif
|
||||||
|
%if 0%{?spellchecker}
|
||||||
|
BuildRequires: hunspell-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description contrib
|
||||||
|
This package extends Code::Blocks functionality a great deal with the included
|
||||||
|
plugins. These are:
|
||||||
|
* Autoversioning
|
||||||
|
* BrowseTracker
|
||||||
|
* Cccc
|
||||||
|
* Code profiler (based on gprof)
|
||||||
|
* Code statistics (SLOCs etc)
|
||||||
|
* Codesnippets
|
||||||
|
* Copy strings
|
||||||
|
* CppCheck
|
||||||
|
* Cscope
|
||||||
|
* DoxyBlocks
|
||||||
|
* DragScroll (enhances mouse operations)
|
||||||
|
* EditorConfig
|
||||||
|
* EditorTweaks
|
||||||
|
* Selection of small games for relaxing between coding sessions! (BYOGames)
|
||||||
|
* Setting of environment variables
|
||||||
|
* Source exporter to PDF/HTML/ODT/RTF
|
||||||
|
* FileManager
|
||||||
|
* Header fixup
|
||||||
|
* Help
|
||||||
|
* HexEditor
|
||||||
|
* IncrementalSearch
|
||||||
|
* Keyboard shortcuts configuration
|
||||||
|
* CB koders
|
||||||
|
* Library finder
|
||||||
|
* MouseSap
|
||||||
|
* NassiShneiderman
|
||||||
|
* Regular expression testbed
|
||||||
|
* Reopen last closed editor(s) via menu or hotkey
|
||||||
|
* Rndgen
|
||||||
|
* Smartindent plugin (cpp, HDL, Fortran, Lua, Pascal, Python, XML)
|
||||||
|
* Spellchecker plugin
|
||||||
|
* Symbol table plugin
|
||||||
|
* ThreadSearch
|
||||||
|
* ToolsPlus
|
||||||
|
* Valgrind
|
||||||
|
* RAD gui-builder for wxWidgets (wxSmith)
|
||||||
|
* wxSmith contrib items
|
||||||
|
* wxSmith AUI
|
||||||
|
|
||||||
|
%package contrib-libs
|
||||||
|
Summary: Libraries needed to run Code::Blocks contrib-plugins
|
||||||
|
Group: Development/Tools
|
||||||
|
|
||||||
|
%description contrib-libs
|
||||||
|
Libraries needed to run Code::Blocks contrib-plugins.
|
||||||
|
|
||||||
|
%post contrib-libs
|
||||||
|
test -x /sbin/ldconfig && /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun contrib-libs
|
||||||
|
test -x /sbin/ldconfig && /sbin/ldconfig
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Code::Blocks development libraries and headers (SDK)
|
||||||
|
Group: Development/Tools
|
||||||
|
Requires: %{name}%{?_isa} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains the development libraries and headers for creating plugins
|
||||||
|
for the Code::Blocks IDE.
|
||||||
|
|
||||||
|
%package contrib-devel
|
||||||
|
Summary: Code::Blocks development libraries and headers for wxSmith and wxContribItems
|
||||||
|
Group: Development/Tools
|
||||||
|
Requires: %{name}-contrib%{?_isa} = %{version}
|
||||||
|
|
||||||
|
%description contrib-devel
|
||||||
|
This package contains the development libraries and headers needed to build
|
||||||
|
wxSmith-plugins and to use the wxContribItems in own programs.
|
||||||
|
|
||||||
|
%{?debugrpm:%debug_package}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q -n codeblocks-@VERSION@
|
||||||
|
|
||||||
|
%{?suse_update_libdir:%{suse_update_libdir}}
|
||||||
|
%{?suse_update_config:%{suse_update_config -f}}
|
||||||
|
|
||||||
|
./bootstrap
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%if 0%{?suse_version} > 1020
|
||||||
|
%configure \
|
||||||
|
--disable-pch \
|
||||||
|
--with-wx-config="%{_bindir}/wx-config" \
|
||||||
|
--with-contrib-plugins=all \
|
||||||
|
$CONF_OPTS
|
||||||
|
%else
|
||||||
|
%configure \
|
||||||
|
--disable-pch \
|
||||||
|
--with-wx-config="%{_bindir}/wx-config-2.8" \
|
||||||
|
--with-contrib-plugins=all \
|
||||||
|
$CONF_OPTS
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
|
%configure \
|
||||||
|
--disable-pch \
|
||||||
|
--with-wx-config="%{_bindir}/wx-config" \
|
||||||
|
--with-contrib-plugins=all%no_nassi_flag%no_spellchecker_flag \
|
||||||
|
$CONF_OPTS
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%{__make} %{?jobs:-j %{jobs}}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%__make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
rm -f $RPM_BUILD_ROOT%{pkglibdir}/wxContribItems/*.la
|
||||||
|
rm -f $RPM_BUILD_ROOT%{plugindir}/*.la
|
||||||
|
|
||||||
|
%post
|
||||||
|
/usr/bin/update-mime-database "%{_datadir}/mime" &> /dev/null || :
|
||||||
|
# test -x /sbin/ldconfig && /sbin/ldconfig
|
||||||
|
|
||||||
|
%preun
|
||||||
|
/usr/bin/update-mime-database "%{_datadir}/mime" &> /dev/null || :
|
||||||
|
|
||||||
|
%clean
|
||||||
|
test -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && %{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog
|
||||||
|
|
||||||
|
%{_bindir}/codeblocks
|
||||||
|
%{_bindir}/cb_console_runner
|
||||||
|
%{_bindir}/cb_share_config
|
||||||
|
%{plugindir}/libabbreviations.so
|
||||||
|
%{plugindir}/libAstyle.so
|
||||||
|
%{plugindir}/libautosave.so
|
||||||
|
%{plugindir}/libclasswizard.so
|
||||||
|
%{plugindir}/libcodecompletion.so
|
||||||
|
%{plugindir}/libcompiler.so
|
||||||
|
%{plugindir}/libdebugger.so
|
||||||
|
%{plugindir}/libdefaultmimehandler.so
|
||||||
|
%{plugindir}/liboccurrenceshighlighting.so
|
||||||
|
%{plugindir}/libopenfileslist.so
|
||||||
|
%{plugindir}/libprojectsimporter.so
|
||||||
|
%{plugindir}/libscriptedwizard.so
|
||||||
|
%{plugindir}/libtodo.so
|
||||||
|
%{_datadir}/appdata/codeblocks.appdata.xml
|
||||||
|
%{_datadir}/applications/codeblocks.desktop
|
||||||
|
%{_datadir}/icons/hicolor/48x48/mimetypes/*
|
||||||
|
%{_datadir}/mime/packages/codeblocks.xml
|
||||||
|
%{_datadir}/pixmaps/codeblocks.png
|
||||||
|
%{_mandir}/man1/codeblocks.*
|
||||||
|
%{_mandir}/man1/cb_console_runner.*
|
||||||
|
%{_mandir}/man1/cb_share_config.*
|
||||||
|
%{pkgdatadir}/compilers/*
|
||||||
|
%{pkgdatadir}/icons/*
|
||||||
|
%{pkgdatadir}/images/*.png
|
||||||
|
%{pkgdatadir}/images/settings/*
|
||||||
|
%{pkgdatadir}/lexers/*
|
||||||
|
%{pkgdatadir}/scripts/*
|
||||||
|
%{pkgdatadir}/templates/*
|
||||||
|
%{pkgdatadir}/Astyle.zip
|
||||||
|
%{pkgdatadir}/abbreviations.zip
|
||||||
|
%{pkgdatadir}/autosave.zip
|
||||||
|
%{pkgdatadir}/classwizard.zip
|
||||||
|
%{pkgdatadir}/codecompletion.zip
|
||||||
|
%{pkgdatadir}/compiler.zip
|
||||||
|
%{pkgdatadir}/debugger.zip
|
||||||
|
%{pkgdatadir}/defaultmimehandler.zip
|
||||||
|
%{pkgdatadir}/manager_resources.zip
|
||||||
|
%{pkgdatadir}/occurrenceshighlighting.zip
|
||||||
|
%{pkgdatadir}/openfileslist.zip
|
||||||
|
%{pkgdatadir}/projectsimporter.zip
|
||||||
|
%{pkgdatadir}/resources.zip
|
||||||
|
%{pkgdatadir}/scriptedwizard.zip
|
||||||
|
%{pkgdatadir}/start_here.zip
|
||||||
|
%{pkgdatadir}/todo.zip
|
||||||
|
%{pkgdatadir}/tips.txt
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libcodeblocks.so.*
|
||||||
|
%doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog
|
||||||
|
|
||||||
|
%files contrib
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{plugindir}/libAutoVersioning.so
|
||||||
|
%{plugindir}/libBrowseTracker.so
|
||||||
|
%{plugindir}/libbyogames.so
|
||||||
|
%{plugindir}/libCccc.so
|
||||||
|
%{plugindir}/libCppCheck.so
|
||||||
|
%{plugindir}/libSmartIndent*.so
|
||||||
|
%{plugindir}/libcb_koders.so
|
||||||
|
%{plugindir}/libcodesnippets.so
|
||||||
|
%{plugindir}/libcodestat.so
|
||||||
|
%{plugindir}/libcopystrings.so
|
||||||
|
%{plugindir}/libCscope.so
|
||||||
|
%{plugindir}/libDoxyBlocks.so
|
||||||
|
%{plugindir}/libdragscroll.so
|
||||||
|
%{plugindir}/libEditorConfig.so
|
||||||
|
%{plugindir}/libEditorTweaks.so
|
||||||
|
%{plugindir}/libenvvars.so
|
||||||
|
%{plugindir}/libexporter.so
|
||||||
|
%{plugindir}/libFileManager.so
|
||||||
|
%{plugindir}/libheaderfixup.so
|
||||||
|
%{plugindir}/libhelp_plugin.so
|
||||||
|
%{plugindir}/libHexEditor.so
|
||||||
|
%{plugindir}/libIncrementalSearch.so
|
||||||
|
%{plugindir}/libkeybinder.so
|
||||||
|
%{plugindir}/liblib_finder.so
|
||||||
|
%if 0%{?nassi_shneiderman}
|
||||||
|
%{plugindir}/libNassiShneiderman.so
|
||||||
|
%endif
|
||||||
|
%if 0%{?spellchecker}
|
||||||
|
%{plugindir}/libSpellChecker.so
|
||||||
|
%endif
|
||||||
|
%{plugindir}/libProfiler.so
|
||||||
|
%{plugindir}/libProjectOptionsManipulator.so
|
||||||
|
%{plugindir}/libRegExTestbed.so
|
||||||
|
%{plugindir}/libSymTab.so
|
||||||
|
%{plugindir}/libThreadSearch.so
|
||||||
|
%{plugindir}/libToolsPlus.so
|
||||||
|
%{plugindir}/libValgrind.so
|
||||||
|
%{plugindir}/libMouseSap.so
|
||||||
|
%{plugindir}/libReopenEditor.so
|
||||||
|
%{plugindir}/librndgen.so
|
||||||
|
%{plugindir}/libwxsmith.so
|
||||||
|
%{plugindir}/libwxsmithcontribitems.so
|
||||||
|
%{plugindir}/libwxSmithAui.so
|
||||||
|
%{_libdir}/pkgconfig/wxsmithaui.pc
|
||||||
|
%{pkgdatadir}/AutoVersioning.zip
|
||||||
|
%{pkgdatadir}/BrowseTracker.zip
|
||||||
|
%{pkgdatadir}/byogames.zip
|
||||||
|
%{pkgdatadir}/Cccc.zip
|
||||||
|
%{pkgdatadir}/CppCheck.zip
|
||||||
|
%{pkgdatadir}/SmartIndent*.zip
|
||||||
|
%{pkgdatadir}/cb_koders.zip
|
||||||
|
%{pkgdatadir}/codesnippets.zip
|
||||||
|
%{pkgdatadir}/codestat.zip
|
||||||
|
%{pkgdatadir}/copystrings.zip
|
||||||
|
%{pkgdatadir}/Cscope.zip
|
||||||
|
%{pkgdatadir}/DoxyBlocks.zip
|
||||||
|
%{pkgdatadir}/dragscroll.zip
|
||||||
|
%{pkgdatadir}/EditorConfig.zip
|
||||||
|
%{pkgdatadir}/EditorTweaks.zip
|
||||||
|
%{pkgdatadir}/envvars.zip
|
||||||
|
%{pkgdatadir}/exporter.zip
|
||||||
|
%{pkgdatadir}/FileManager.zip
|
||||||
|
%{pkgdatadir}/headerfixup.zip
|
||||||
|
%{pkgdatadir}/help_plugin.zip
|
||||||
|
%{pkgdatadir}/HexEditor.zip
|
||||||
|
%{pkgdatadir}/IncrementalSearch.zip
|
||||||
|
%{pkgdatadir}/keybinder.zip
|
||||||
|
%{pkgdatadir}/lib_finder.zip
|
||||||
|
%{pkgdatadir}/MouseSap.zip
|
||||||
|
%if 0%{?nassi_shneiderman}
|
||||||
|
%{pkgdatadir}/NassiShneiderman.zip
|
||||||
|
%endif
|
||||||
|
%if 0%{?spellchecker}
|
||||||
|
%{pkgdatadir}/SpellChecker.zip
|
||||||
|
%endif
|
||||||
|
%{pkgdatadir}/Profiler.zip
|
||||||
|
%{pkgdatadir}/ProjectOptionsManipulator.zip
|
||||||
|
%{pkgdatadir}/RegExTestbed.zip
|
||||||
|
%{pkgdatadir}/rndgen.zip
|
||||||
|
%{pkgdatadir}/ReopenEditor.zip
|
||||||
|
%{pkgdatadir}/SymTab.zip
|
||||||
|
%{pkgdatadir}/ThreadSearch.zip
|
||||||
|
%{pkgdatadir}/ToolsPlus.zip
|
||||||
|
%{pkgdatadir}/Valgrind.zip
|
||||||
|
%{pkgdatadir}/wxsmith.zip
|
||||||
|
%{pkgdatadir}/wxsmithcontribitems.zip
|
||||||
|
%{pkgdatadir}/wxSmithAui.zip
|
||||||
|
%{pkgdatadir}/images/codesnippets/*
|
||||||
|
%{pkgdatadir}/images/wxsmith/*
|
||||||
|
%{pkgdatadir}/lib_finder/*
|
||||||
|
%if 0%{?spellchecker}
|
||||||
|
%{pkgdatadir}/SpellChecker/*
|
||||||
|
%endif
|
||||||
|
%{_mandir}/man1/*snippets*
|
||||||
|
%doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog
|
||||||
|
%{_datadir}/appdata/codeblocks-contrib.metainfo.xml
|
||||||
|
|
||||||
|
%files contrib-libs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libwxsmithlib.so.*
|
||||||
|
%{pkglibdir}/wxContribItems/*.so.*
|
||||||
|
%doc README COPYING AUTHORS BUGS COMPILERS TODO NEWS ChangeLog
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libcodeblocks.so
|
||||||
|
%{_libdir}/pkgconfig/codeblocks.pc
|
||||||
|
%{_includedir}/%{name}/*
|
||||||
|
|
||||||
|
%files contrib-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{pkglibdir}/wxContribItems/*.so
|
||||||
|
%{_libdir}/pkgconfig/cb_*.pc
|
||||||
|
%{_libdir}/pkgconfig/wxsmith.pc
|
||||||
|
%{_includedir}/%{name}/wxContribItems/*
|
||||||
|
%{_libdir}/libwxsmithlib.so
|
||||||
|
%{_libdir}/pkgconfig/wxsmith-contrib.pc
|
||||||
|
%{_includedir}/wxsmith/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Feb 20 2020 Teodor Petrov <tpetrov@codeblocks.org>
|
||||||
|
- Changes for release 20.03.
|
||||||
|
* Tue Dec 23 2014 jens <jens@codeblocks.org>
|
||||||
|
- do not try to build Spellchecker-plugin on CentOS/RedHat < 6, because the
|
||||||
|
hunspell packages are only available from a thirdparty repo (atomicorp),
|
||||||
|
therefore an automatic build is not possible and the users are forced to
|
||||||
|
enable this repo.
|
||||||
|
- fix determining of redhat and fedora release-numbers
|
||||||
|
* Tue Dec 24 2013 Jens Lody <jens@codeblocks.org>
|
||||||
|
- Changes for release 13.12.
|
||||||
|
* Sun Dec 08 2013 Jens Lody <jens@codeblocks.org>
|
||||||
|
- Second release candidate of release 13.12.
|
||||||
|
* Sun Nov 17 2013 Jens Lody <jens@codeblocks.org>
|
||||||
|
- First release candidate of release 13.12.
|
||||||
|
* Fri Jun 08 2012 jens <jens@codeblocks.org>
|
||||||
|
- partly reverted last change, to keep the package layout more clear
|
||||||
|
- do not try to build NassiShneiderman-plugin on CentOS/RedHat < 6, because the
|
||||||
|
boost packages are too old (based on changes of oBFusCATed)
|
||||||
|
- move some build-dependencies to the contrib-plugins package, because they are
|
||||||
|
only needed there, thanks oBFusCATed
|
||||||
|
* Sat May 26 2012 jens <jens@codeblocks.org>
|
||||||
|
- split packages in binaries, arch-independent, development- and header-packages,
|
||||||
|
similar to the debian package-layout
|
||||||
|
* Fri May 25 2012 jens <jens@codeblocks.org>
|
||||||
|
- Fixed: missing build-dependencies
|
||||||
|
- Fixed: RPM build error, because of new contrib-packages
|
||||||
|
- Layout changes in codeblocks.spec.in, to enhance readability
|
||||||
|
* Sat Feb 20 2010 Biplab <bkmodak@gmail.com>
|
||||||
|
- Fixed typos: In wxSmithAui generated files.
|
||||||
|
- Fixed: RPM build error due to inclusion of contrib plugins twice.
|
||||||
|
- Fixed: Copystrings plugin was not included properly in rpm.
|
||||||
|
- Fixed: Pkgconfig macros of wxsmithaui and wxsmith-contrib were not included.
|
||||||
|
- Moved: libwxsmithlib.so to contrib package.
|
||||||
|
- Removed: 'lynx' as a dependency.
|
||||||
|
* Thu Feb 18 2010 Biplab <bkmodak@gmail.com>
|
||||||
|
- Changed source tarball extension to .bz2
|
||||||
|
- Fixed: broken rpm build due to path change from icons/gnome/* to icons/hicolor/*
|
||||||
|
* Sun Dec 14 2008 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- some fixes for changes in rev 5334
|
||||||
|
* Sat Jul 26 2008 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- moved libwxsmithlib.so and .la into devel package
|
||||||
|
- removed selfprovide codeblocks
|
||||||
|
- removed subversion dependency
|
||||||
|
- changed release and version tag (version now only contains version + revision)
|
||||||
|
- added libValgrind.* to file list
|
||||||
|
* Thu Jan 03 2008 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- added missing files to file list (libfinder)
|
||||||
|
- changed dependencies for mandriva
|
||||||
|
- some clean-ups
|
||||||
|
* Wed Nov 14 2007 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- added new plugin to file list
|
||||||
|
- added make job number "detection"
|
||||||
|
* Sun Oct 14 2007 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- applied changes made on opensuse buildservice
|
||||||
|
* Mon Apr 16 2007 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- added wxsmithcontribitems files to filelist
|
||||||
|
* Fri Jan 5 2007 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- changed prefix on suse to default (from /opt/gnome to /usr)
|
||||||
|
* Sat Dec 2 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- Added RegExTestbed plugin to filelist
|
||||||
|
* Sun Nov 5 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- applied patch #1605
|
||||||
|
- renamed _mandriva to _mandrake
|
||||||
|
* Wed Oct 11 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- Added cb_share_config to filelist
|
||||||
|
* Sun Aug 20 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- Added missing files to filelist
|
||||||
|
* Sat Jul 22 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- adapted versioning to autotools
|
||||||
|
* Fri Jul 14 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- added man pages to filelist
|
||||||
|
* Tue Jul 11 2006 Yiannis Mandravellos <mandrav@codeblocks.org>
|
||||||
|
- removed pluginwizard files
|
||||||
|
- replaced libprojectwizard by libscriptedwizard (renamed)
|
||||||
|
* Tue Jul 11 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- removed libwxscintilla from filelist
|
||||||
|
* Mon Jul 10 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- fixed wrong path of fedora-release file
|
||||||
|
- fixed mixed cases in one description macro call
|
||||||
|
- removed and added finally again libwxscintilla from/to filelist
|
||||||
|
- added versions to some buildrequires
|
||||||
|
- added byogames plugin to filelist
|
||||||
|
* Sun Mar 5 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- rewrite of release tag setting
|
||||||
|
* Thu Jan 5 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- had to add Mandriva specific requires
|
||||||
|
* Mon Jan 2 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- simplified the changes made before
|
||||||
|
* Sun Jan 1 2006 TheTuxKeeper <thetuxkeeper@googlemail.com>
|
||||||
|
- added distribution check (SuSE, Fedora, Mandriva/Mandrake)
|
||||||
|
- added distribution specific Requires and BuildRequires
|
||||||
|
- added run of update-mime-database if installed
|
348
compile
Normal file
348
compile
Normal file
|
@ -0,0 +1,348 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Wrapper for compilers which do not understand '-c -o'.
|
||||||
|
|
||||||
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
|
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
||||||
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||||
|
#
|
||||||
|
# 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, 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
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# 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, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
# This file is maintained in Automake, please report
|
||||||
|
# bugs to <bug-automake@gnu.org> or send patches to
|
||||||
|
# <automake-patches@gnu.org>.
|
||||||
|
|
||||||
|
nl='
|
||||||
|
'
|
||||||
|
|
||||||
|
# We need space, tab and new line, in precisely that order. Quoting is
|
||||||
|
# there to prevent tools from complaining about whitespace usage.
|
||||||
|
IFS=" "" $nl"
|
||||||
|
|
||||||
|
file_conv=
|
||||||
|
|
||||||
|
# func_file_conv build_file lazy
|
||||||
|
# Convert a $build file to $host form and store it in $file
|
||||||
|
# Currently only supports Windows hosts. If the determined conversion
|
||||||
|
# type is listed in (the comma separated) LAZY, no conversion will
|
||||||
|
# take place.
|
||||||
|
func_file_conv ()
|
||||||
|
{
|
||||||
|
file=$1
|
||||||
|
case $file in
|
||||||
|
/ | /[!/]*) # absolute file, and not a UNC file
|
||||||
|
if test -z "$file_conv"; then
|
||||||
|
# lazily determine how to convert abs files
|
||||||
|
case `uname -s` in
|
||||||
|
MINGW*)
|
||||||
|
file_conv=mingw
|
||||||
|
;;
|
||||||
|
CYGWIN* | MSYS*)
|
||||||
|
file_conv=cygwin
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
file_conv=wine
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
case $file_conv/,$2, in
|
||||||
|
*,$file_conv,*)
|
||||||
|
;;
|
||||||
|
mingw/*)
|
||||||
|
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
||||||
|
;;
|
||||||
|
cygwin/* | msys/*)
|
||||||
|
file=`cygpath -m "$file" || echo "$file"`
|
||||||
|
;;
|
||||||
|
wine/*)
|
||||||
|
file=`winepath -w "$file" || echo "$file"`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
# func_cl_dashL linkdir
|
||||||
|
# Make cl look for libraries in LINKDIR
|
||||||
|
func_cl_dashL ()
|
||||||
|
{
|
||||||
|
func_file_conv "$1"
|
||||||
|
if test -z "$lib_path"; then
|
||||||
|
lib_path=$file
|
||||||
|
else
|
||||||
|
lib_path="$lib_path;$file"
|
||||||
|
fi
|
||||||
|
linker_opts="$linker_opts -LIBPATH:$file"
|
||||||
|
}
|
||||||
|
|
||||||
|
# func_cl_dashl library
|
||||||
|
# Do a library search-path lookup for cl
|
||||||
|
func_cl_dashl ()
|
||||||
|
{
|
||||||
|
lib=$1
|
||||||
|
found=no
|
||||||
|
save_IFS=$IFS
|
||||||
|
IFS=';'
|
||||||
|
for dir in $lib_path $LIB
|
||||||
|
do
|
||||||
|
IFS=$save_IFS
|
||||||
|
if $shared && test -f "$dir/$lib.dll.lib"; then
|
||||||
|
found=yes
|
||||||
|
lib=$dir/$lib.dll.lib
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
if test -f "$dir/$lib.lib"; then
|
||||||
|
found=yes
|
||||||
|
lib=$dir/$lib.lib
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
if test -f "$dir/lib$lib.a"; then
|
||||||
|
found=yes
|
||||||
|
lib=$dir/lib$lib.a
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS=$save_IFS
|
||||||
|
|
||||||
|
if test "$found" != yes; then
|
||||||
|
lib=$lib.lib
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# func_cl_wrapper cl arg...
|
||||||
|
# Adjust compile command to suit cl
|
||||||
|
func_cl_wrapper ()
|
||||||
|
{
|
||||||
|
# Assume a capable shell
|
||||||
|
lib_path=
|
||||||
|
shared=:
|
||||||
|
linker_opts=
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
if test -n "$eat"; then
|
||||||
|
eat=
|
||||||
|
else
|
||||||
|
case $1 in
|
||||||
|
-o)
|
||||||
|
# configure might choose to run compile as 'compile cc -o foo foo.c'.
|
||||||
|
eat=1
|
||||||
|
case $2 in
|
||||||
|
*.o | *.[oO][bB][jJ])
|
||||||
|
func_file_conv "$2"
|
||||||
|
set x "$@" -Fo"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
func_file_conv "$2"
|
||||||
|
set x "$@" -Fe"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
-I)
|
||||||
|
eat=1
|
||||||
|
func_file_conv "$2" mingw
|
||||||
|
set x "$@" -I"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-I*)
|
||||||
|
func_file_conv "${1#-I}" mingw
|
||||||
|
set x "$@" -I"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-l)
|
||||||
|
eat=1
|
||||||
|
func_cl_dashl "$2"
|
||||||
|
set x "$@" "$lib"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-l*)
|
||||||
|
func_cl_dashl "${1#-l}"
|
||||||
|
set x "$@" "$lib"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-L)
|
||||||
|
eat=1
|
||||||
|
func_cl_dashL "$2"
|
||||||
|
;;
|
||||||
|
-L*)
|
||||||
|
func_cl_dashL "${1#-L}"
|
||||||
|
;;
|
||||||
|
-static)
|
||||||
|
shared=false
|
||||||
|
;;
|
||||||
|
-Wl,*)
|
||||||
|
arg=${1#-Wl,}
|
||||||
|
save_ifs="$IFS"; IFS=','
|
||||||
|
for flag in $arg; do
|
||||||
|
IFS="$save_ifs"
|
||||||
|
linker_opts="$linker_opts $flag"
|
||||||
|
done
|
||||||
|
IFS="$save_ifs"
|
||||||
|
;;
|
||||||
|
-Xlinker)
|
||||||
|
eat=1
|
||||||
|
linker_opts="$linker_opts $2"
|
||||||
|
;;
|
||||||
|
-*)
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
|
||||||
|
func_file_conv "$1"
|
||||||
|
set x "$@" -Tp"$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
|
||||||
|
func_file_conv "$1" mingw
|
||||||
|
set x "$@" "$file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
if test -n "$linker_opts"; then
|
||||||
|
linker_opts="-link$linker_opts"
|
||||||
|
fi
|
||||||
|
exec "$@" $linker_opts
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
eat=
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
'')
|
||||||
|
echo "$0: No command. Try '$0 --help' for more information." 1>&2
|
||||||
|
exit 1;
|
||||||
|
;;
|
||||||
|
-h | --h*)
|
||||||
|
cat <<\EOF
|
||||||
|
Usage: compile [--help] [--version] PROGRAM [ARGS]
|
||||||
|
|
||||||
|
Wrapper for compilers which do not understand '-c -o'.
|
||||||
|
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
|
||||||
|
arguments, and rename the output as expected.
|
||||||
|
|
||||||
|
If you are trying to build a whole package this is not the
|
||||||
|
right script to run: please start by reading the file 'INSTALL'.
|
||||||
|
|
||||||
|
Report bugs to <bug-automake@gnu.org>.
|
||||||
|
EOF
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
-v | --v*)
|
||||||
|
echo "compile $scriptversion"
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
|
||||||
|
icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
|
||||||
|
func_cl_wrapper "$@" # Doesn't return...
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
ofile=
|
||||||
|
cfile=
|
||||||
|
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
if test -n "$eat"; then
|
||||||
|
eat=
|
||||||
|
else
|
||||||
|
case $1 in
|
||||||
|
-o)
|
||||||
|
# configure might choose to run compile as 'compile cc -o foo foo.c'.
|
||||||
|
# So we strip '-o arg' only if arg is an object.
|
||||||
|
eat=1
|
||||||
|
case $2 in
|
||||||
|
*.o | *.obj)
|
||||||
|
ofile=$2
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set x "$@" -o "$2"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
*.c)
|
||||||
|
cfile=$1
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set x "$@" "$1"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
if test -z "$ofile" || test -z "$cfile"; then
|
||||||
|
# If no '-o' option was seen then we might have been invoked from a
|
||||||
|
# pattern rule where we don't need one. That is ok -- this is a
|
||||||
|
# normal compilation that the losing compiler can handle. If no
|
||||||
|
# '.c' file was seen then we are probably linking. That is also
|
||||||
|
# ok.
|
||||||
|
exec "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Name of file we expect compiler to create.
|
||||||
|
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
|
||||||
|
|
||||||
|
# Create the lock directory.
|
||||||
|
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
|
||||||
|
# that we are using for the .o file. Also, base the name on the expected
|
||||||
|
# object file name, since that is what matters with a parallel build.
|
||||||
|
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
|
||||||
|
while true; do
|
||||||
|
if mkdir "$lockdir" >/dev/null 2>&1; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
# FIXME: race condition here if user kills between mkdir and trap.
|
||||||
|
trap "rmdir '$lockdir'; exit 1" 1 2 15
|
||||||
|
|
||||||
|
# Run the compile.
|
||||||
|
"$@"
|
||||||
|
ret=$?
|
||||||
|
|
||||||
|
if test -f "$cofile"; then
|
||||||
|
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
|
||||||
|
elif test -f "${cofile}bj"; then
|
||||||
|
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
|
||||||
|
fi
|
||||||
|
|
||||||
|
rmdir "$lockdir"
|
||||||
|
exit $ret
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: shell-script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# eval: (add-hook 'before-save-hook 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC0"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
1676
config.guess
vendored
Normal file
1676
config.guess
vendored
Normal file
File diff suppressed because it is too large
Load diff
1814
config.sub
vendored
Normal file
1814
config.sub
vendored
Normal file
File diff suppressed because it is too large
Load diff
28576
configure
vendored
Normal file
28576
configure
vendored
Normal file
File diff suppressed because one or more lines are too long
650
configure.ac
Normal file
650
configure.ac
Normal file
|
@ -0,0 +1,650 @@
|
||||||
|
AC_PREREQ(2.50)
|
||||||
|
|
||||||
|
m4_include([revision.m4])
|
||||||
|
|
||||||
|
AC_INIT([codeblocks], SVN_REVISION)
|
||||||
|
|
||||||
|
AC_CANONICAL_TARGET
|
||||||
|
|
||||||
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([whether configure should try to set CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS])
|
||||||
|
AS_IF([test "x${CFLAGS+set}" = "xset" || test "x${CXXFLAGS+set}" = "xset" || test "x${CPPFLAGS+set}" = "xset" || test "x${LDFLAGS+set}" = "xset"],[enable_flags_setting=no],[enable_flags_setting=yes])
|
||||||
|
AC_MSG_RESULT([${enable_flags_setting}])
|
||||||
|
|
||||||
|
m4_include([m4/acinclude.m4])
|
||||||
|
m4_include([m4/ax_cxx_compile_stdcxx.m4])
|
||||||
|
m4_include([m4/ax_boost_base.m4])
|
||||||
|
m4_include([m4/ax_boost_system.m4])
|
||||||
|
|
||||||
|
CODEBLOCKS_CHECK_DEBUG
|
||||||
|
|
||||||
|
AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip subdir-objects])
|
||||||
|
|
||||||
|
AC_DISABLE_STATIC
|
||||||
|
|
||||||
|
LT_INIT
|
||||||
|
|
||||||
|
AC_CONFIG_HEADER([src/include/config.h])
|
||||||
|
|
||||||
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
|
||||||
|
|
||||||
|
AM_CONDITIONAL([LINUX], [test `uname` = "Linux"])
|
||||||
|
AM_CONDITIONAL([DARWIN], [test `uname` = "Darwin"])
|
||||||
|
|
||||||
|
dnl Checks for programs.
|
||||||
|
AC_PROG_CXX
|
||||||
|
AC_PROG_CPP
|
||||||
|
AC_PROG_CC
|
||||||
|
AM_PROG_CC_C_O
|
||||||
|
AC_PROG_INSTALL
|
||||||
|
AC_PROG_LN_S
|
||||||
|
AC_PROG_MAKE_SET
|
||||||
|
AC_PROG_AWK
|
||||||
|
|
||||||
|
CODEBLOCKS_CHECK_LINK_FLAG([-Wl,--no-undefined],[LDFLAGS="-Wl,--no-undefined $LDFLAGS"])
|
||||||
|
|
||||||
|
CODEBLOCKS_SETUP_FOR_TARGET
|
||||||
|
|
||||||
|
dnl Checks for header files.
|
||||||
|
AC_HEADER_DIRENT
|
||||||
|
AC_HEADER_STDC
|
||||||
|
AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h sys/param.h unistd.h malloc.h sys/malloc.h malloc/malloc.h])
|
||||||
|
|
||||||
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
AC_HEADER_STDBOOL
|
||||||
|
AC_C_CONST
|
||||||
|
AC_C_INLINE
|
||||||
|
AC_TYPE_SIZE_T
|
||||||
|
AC_HEADER_TIME
|
||||||
|
AC_C_VOLATILE
|
||||||
|
|
||||||
|
dnl Checks for library functions.
|
||||||
|
AC_FUNC_CLOSEDIR_VOID
|
||||||
|
AC_FUNC_MALLOC
|
||||||
|
AC_FUNC_MEMCMP
|
||||||
|
AC_FUNC_STAT
|
||||||
|
AC_FUNC_VPRINTF
|
||||||
|
AC_CHECK_FUNCS([atexit getcwd isascii memchr memmove memset strcasecmp strchr strcspn strdup strrchr strstr])
|
||||||
|
AC_CHECK_LIB(dl, dlopen)
|
||||||
|
AC_CHECK_LIB(pthread, pthread_create)
|
||||||
|
AC_CHECK_FUNC(snprintf, AC_DEFINE(HAVE_SNPRINTF,,snprintf))
|
||||||
|
AC_CHECK_FUNC(vsnprintf, AC_DEFINE(HAVE_VSNPRINTF,,vsnprintf))
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES([zlib], [zlib], [HAVE_ZLIB=yes], [HAVE_ZLIB=no])
|
||||||
|
save_LIBS=$LIBS
|
||||||
|
AC_SEARCH_LIBS(BZ2_bzopen, bz2, [HAVE_BZIP2=yes], [HAVE_BZIP2=no])
|
||||||
|
LIBS=$save_LIBS
|
||||||
|
|
||||||
|
save_CC=$CC
|
||||||
|
save_CPP=$CPP
|
||||||
|
CC=$CXX
|
||||||
|
CPP=$CXXCPP
|
||||||
|
AC_CHECK_HEADER(astyle.h, [HAVE_ASTYLE=yes], [HAVE_ASTYLE=no])
|
||||||
|
|
||||||
|
dnl check if system astyle is at least 3.0, otherwise use bundled astyle-library
|
||||||
|
dnl ASPeekStream is declared since 3.0
|
||||||
|
if test "$HAVE_ASTYLE" = "yes" ; then
|
||||||
|
AC_CHECK_TYPE([astyle::ASPeekStream], , [HAVE_ASTYLE=no], [#include "astyle.h"])
|
||||||
|
else
|
||||||
|
HAVE_ASTYLE=no
|
||||||
|
fi
|
||||||
|
|
||||||
|
CC=$save_CC
|
||||||
|
CPP=$save_CPP
|
||||||
|
|
||||||
|
AM_CONDITIONAL([HAVE_ZLIB], [test "$HAVE_ZLIB" = yes])
|
||||||
|
AM_CONDITIONAL([HAVE_BZIP2], [test "$HAVE_BZIP2" = yes])
|
||||||
|
|
||||||
|
AM_CONDITIONAL([HAVE_ASTYLE], [test "$HAVE_ASTYLE" = yes])
|
||||||
|
|
||||||
|
AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes, no)
|
||||||
|
|
||||||
|
ifdef([PKG_CHECK_MODULES],[],[
|
||||||
|
define([PKG_CHECK_MODULES],
|
||||||
|
[ echo "You don't have pkg.m4 properly installed" >&2
|
||||||
|
exit 1
|
||||||
|
])
|
||||||
|
])
|
||||||
|
|
||||||
|
PKG_PROG_PKG_CONFIG
|
||||||
|
PKG_CHECK_MODULES([SQUIRREL], [squirrel], [HAVE_SQUIRREL=yes], [HAVE_SQUIRREL=no])
|
||||||
|
AM_CONDITIONAL([HAVE_SQUIRREL], [test "$HAVE_SQUIRREL" = yes])
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES([TINYXML], [tinyxml], [HAVE_TINYXML=yes], [HAVE_TINYXML=no])
|
||||||
|
AM_CONDITIONAL([HAVE_TINYXML], [test "$HAVE_TINYXML" = yes])
|
||||||
|
|
||||||
|
dnl Darwin -> .dylib Linux -> .so
|
||||||
|
if test "x$DARWIN_TRUE" = "x" ; then
|
||||||
|
MODULE_SHARED_LDFLAGS="-dynamiclib"
|
||||||
|
else
|
||||||
|
MODULE_SHARED_LDFLAGS="-module -shared"
|
||||||
|
fi
|
||||||
|
AC_SUBST(MODULE_SHARED_LDFLAGS)
|
||||||
|
|
||||||
|
dnl versioning info for libtool
|
||||||
|
dnl Note this is the ABI version which is not the same as our actual library version
|
||||||
|
CODEBLOCKS_CURRENT=0
|
||||||
|
CODEBLOCKS_REVISION=1
|
||||||
|
CODEBLOCKS_AGE=0
|
||||||
|
CODEBLOCKS_VERSION_INFO=$CODEBLOCKS_CURRENT:$CODEBLOCKS_REVISION:$CODEBLOCKS_AGE
|
||||||
|
AC_SUBST(CODEBLOCKS_VERSION_INFO)
|
||||||
|
|
||||||
|
AM_MISSING_PROG(AMTAR, tar)
|
||||||
|
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
|
||||||
|
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
||||||
|
[_AM_PROG_TAR([v7])])])
|
||||||
|
|
||||||
|
CODEBLOCKS_GET_PLATFORM
|
||||||
|
CODEBLOCKS_ENABLE_SETTINGS
|
||||||
|
|
||||||
|
AM_OPTIONS_WXCONFIG
|
||||||
|
AM_PATH_WXCONFIG(2.8.12, wxWin=1)
|
||||||
|
if test "$wxWin" != 1; then
|
||||||
|
AC_MSG_ERROR([
|
||||||
|
wxWidgets must be installed on your system.
|
||||||
|
|
||||||
|
Please check that wx-config is in path, the directory
|
||||||
|
where wxWidgets libraries are installed (returned by
|
||||||
|
'wx-config --libs' or 'wx-config --static --libs' command)
|
||||||
|
is in LD_LIBRARY_PATH or equivalent variable and
|
||||||
|
wxWindows version is 2.8.0 or above.
|
||||||
|
])
|
||||||
|
else
|
||||||
|
# check for wx2.8.3 which is known to behave badly for us
|
||||||
|
if test "$WX_VERSION" = "2.8.3"; then
|
||||||
|
AC_MSG_ERROR([
|
||||||
|
wxWidgets version 2.8.3 is known to behave badly with
|
||||||
|
Code::Blocks. Please upgrade to a newer (or downgrade to an
|
||||||
|
earlier) wxWidgets version...
|
||||||
|
])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
|
||||||
|
dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
|
||||||
|
dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
|
||||||
|
dnl LIBS="$LIBS $WX_LIBS"
|
||||||
|
|
||||||
|
AC_SUBST(CPPFLAGS)
|
||||||
|
AC_SUBST(CXXFLAGS)
|
||||||
|
AC_SUBST(CFLAGS)
|
||||||
|
AC_SUBST(LIBS)
|
||||||
|
|
||||||
|
WX_GTK_CFLAGS=
|
||||||
|
WX_GTK_LIBS=
|
||||||
|
WX_GDK_CFLAGS=
|
||||||
|
WX_GDK_LIBS=
|
||||||
|
WX_X11_CFLAGS=
|
||||||
|
WX_X11_LIBS=
|
||||||
|
|
||||||
|
dnl default value is to (silently) do nothing in the makefile
|
||||||
|
POSTLINK_COMMAND="@true"
|
||||||
|
MACSETFILE="@true"
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(for wxWidgets platform)
|
||||||
|
WX_BASENAME=`$WX_CONFIG_WITH_ARGS --basename`
|
||||||
|
case $WX_BASENAME in
|
||||||
|
*wx_gtk*)
|
||||||
|
AC_MSG_RESULT(wxGTK)
|
||||||
|
dnl
|
||||||
|
dnl pkg-config no longer needed by debugger plugin
|
||||||
|
dnl but is needed by others
|
||||||
|
dnl
|
||||||
|
dnl only do this if it is really needed
|
||||||
|
dnl AM_CONDITIONAL adds _TRUE and _FALSE to the appropriate variables
|
||||||
|
dnl if the condition is true, the *_TRUE variable is empty (!)
|
||||||
|
if test "x$BUILD_FILEMANAGER_TRUE" = "x" -o \
|
||||||
|
"x$BUILD_SPELLCHECKER_TRUE" = "x" -o \
|
||||||
|
"x$BUILD_MOUSESAP_TRUE" = "x" -o \
|
||||||
|
"x$BUILD_EXPORTER_TRUE" = "x" -o \
|
||||||
|
"x$GTK_NOTEBOOK_TRUE" = "x" -o \
|
||||||
|
"x$LINUX_TRUE" = "x" ; then
|
||||||
|
|
||||||
|
if test "x$LINUX_TRUE" = "x" ; then
|
||||||
|
if test "x$HAVE_PKG_CONFIG" = "xyes"; then
|
||||||
|
PKG_CHECK_MODULES([GLIB2], [glib-2.0])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$BUILD_SPELLCHECKER_TRUE" = "x" ; then
|
||||||
|
if test "x$HAVE_PKG_CONFIG" = "xyes"; then
|
||||||
|
PKG_CHECK_MODULES([HUNSPELL], [hunspell])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$BUILD_MOUSESAP_TRUE" = "x" -o \
|
||||||
|
"x$GTK_NOTEBOOK_TRUE" = "x" ; then
|
||||||
|
if test "x$HAVE_PKG_CONFIG" = "xyes"; then
|
||||||
|
case $WX_BASENAME in
|
||||||
|
*wx_gtk3*)
|
||||||
|
AC_MSG_NOTICE([gtk3 used])
|
||||||
|
PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.0.0])
|
||||||
|
AC_MSG_NOTICE([gdk3 used])
|
||||||
|
PKG_CHECK_MODULES([GDK], [gdk-3.0 >= 3.0.0])
|
||||||
|
;;
|
||||||
|
*wx_gtk2*)
|
||||||
|
AC_MSG_NOTICE([gtk2 used])
|
||||||
|
PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.0.0])
|
||||||
|
AC_MSG_NOTICE([gdk2 used])
|
||||||
|
PKG_CHECK_MODULES([GDK], [gdk-2.0 >= 2.0.0])
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$BUILD_FILEMANAGER_TRUE" = "x" ; then
|
||||||
|
if test "x$HAVE_PKG_CONFIG" = "xyes"; then
|
||||||
|
PKG_CHECK_MODULES([GAMIN], [gamin])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$BUILD_EXPORTER_TRUE" = "x" ; then
|
||||||
|
if test "x$HAVE_PKG_CONFIG" = "xyes"; then
|
||||||
|
PKG_CHECK_MODULES([FONTCONFIG], [fontconfig])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$BUILD_NASSISHNEIDERMAN_TRUE" = "x" ; then
|
||||||
|
dnl Check whether boost is installed
|
||||||
|
AX_BOOST_BASE
|
||||||
|
AX_BOOST_SYSTEM
|
||||||
|
fi
|
||||||
|
|
||||||
|
CB_GLIB2_CFLAGS="$GLIB2_CFLAGS"
|
||||||
|
CB_GLIB2_LIBS="$GLIB2_LIBS"
|
||||||
|
CB_GAMIN_CFLAGS="$GAMIN_CFLAGS"
|
||||||
|
CB_GAMIN_LIBS="$GAMIN_LIBS"
|
||||||
|
CB_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
|
||||||
|
CB_HUNSPELL_LIBS="$HUNSPELL_LIBS"
|
||||||
|
CB_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
|
||||||
|
CB_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
|
||||||
|
WX_GTK_CFLAGS="$GTK_CFLAGS"
|
||||||
|
WX_GTK_LIBS="$GTK_LIBS"
|
||||||
|
WX_GDK_CFLAGS="$GDK_CFLAGS"
|
||||||
|
WX_GDK_LIBS="$GDK_LIBS"
|
||||||
|
AC_PATH_XTRA
|
||||||
|
WX_X11_CFLAGS="`echo $X_CFLAGS | sed 's/ -INONE//'`"
|
||||||
|
WX_X11_LIBS="`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`"
|
||||||
|
if test "$no_x" != yes; then
|
||||||
|
WX_X11_LIBS="$WX_X11_LIBS -lX11 $X_EXTRA_LIBS"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*wx_msw*)
|
||||||
|
AC_MSG_RESULT(wxMSW)
|
||||||
|
;;
|
||||||
|
*wx_mac*)
|
||||||
|
AC_MSG_RESULT(wxMac)
|
||||||
|
AC_CHECK_PROG(REZ, Rez, Rez, /Developer/Tools/Rez)
|
||||||
|
POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
|
||||||
|
AC_CHECK_PROG(SETFILE, SetFile, SetFile, /Developer/Tools/SetFile)
|
||||||
|
MACSETFILE="\$(SETFILE)"
|
||||||
|
;;
|
||||||
|
*wx_osx*)
|
||||||
|
AC_MSG_RESULT(wxOSX)
|
||||||
|
|
||||||
|
if test "x$BUILD_SPELLCHECKER_TRUE" = "x" ; then
|
||||||
|
|
||||||
|
AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes, no)
|
||||||
|
ifdef([PKG_CHECK_MODULES],[],[
|
||||||
|
define([PKG_CHECK_MODULES],
|
||||||
|
[ echo "You don't have pkg.m4 properly installed" >&2
|
||||||
|
exit 1
|
||||||
|
])
|
||||||
|
])
|
||||||
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
|
if test "x$HAVE_PKG_CONFIG" = "xyes"; then
|
||||||
|
PKG_CHECK_MODULES([HUNSPELL], [hunspell])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
CB_HUNSPELL_CFLAGS="$HUNSPELL_CFLAGS"
|
||||||
|
CB_HUNSPELL_LIBS="$HUNSPELL_LIBS"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
AC_MSG_RESULT(other)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
CB_GCC_VERSION
|
||||||
|
AM_CONDITIONAL([HAVE_GCC48], [test $GCC_MAJOR_VERSION -gt 4 -o $GCC_MAJOR_VERSION -eq 4 -a $GCC_MINOR_VERSION -ge 8])
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([for wxWidgets >= 2.9.0])
|
||||||
|
AM_CONDITIONAL([HAVE_WX29], [test $wx_config_major_version -gt 2 -o $wx_config_major_version -eq 2 -a $wx_config_minor_version -ge 9])
|
||||||
|
|
||||||
|
if test "x$HAVE_WX29_TRUE" = "x" ; then
|
||||||
|
AC_MSG_RESULT(yes (version $WX_VERSION))
|
||||||
|
AC_MSG_NOTICE([(Re)setting libs for wxWidgets $WX_VERSION])
|
||||||
|
WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs std,aui,propgrid,richtext`
|
||||||
|
WXPROPGRID_DIR=
|
||||||
|
WXPROPGRID_LIB=
|
||||||
|
WXPROPGRID_INCLUDE=
|
||||||
|
SCINTILLA_GTK_CFLAGS="$WX_GDK_CFLAGS"
|
||||||
|
SCINTILLA_GTK_LIBS="$WX_GDK_LIBS"
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
WXPROPGRID_DIR=wxpropgrid
|
||||||
|
WXPROPGRID_LIB=wxpropgrid/libwxpropgrid.la
|
||||||
|
WXPROPGRID_INCLUDE=-I\$\(top_srcdir\)/src/sdk/wxpropgrid/include
|
||||||
|
|
||||||
|
if test "x$HAVE_GCC48_TRUE" = "x" ; then
|
||||||
|
gcc48_flags="-Wno-unused-local-typedefs"
|
||||||
|
AC_MSG_NOTICE([setting additional flags for gcc $GCC_FULL_VERSION]: $gcc48_flags)
|
||||||
|
CXXFLAGS="$gcc48_flags $CXXFLAGS"
|
||||||
|
fi
|
||||||
|
SCINTILLA_GTK_CFLAGS="$WX_GTK_CFLAGS $WX_GDK_CFLAGS"
|
||||||
|
SCINTILLA_GTK_LIBS="$WX_GTK_LIBS $WX_GDK_LIBS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$HAVE_SQUIRREL_TRUE" = "x" ; then
|
||||||
|
CB_SQUIRREL_CFLAGS="$SQUIRREL_CFLAGS"
|
||||||
|
CB_SQUIRREL_LIBS="$SQUIRREL_LIBS"
|
||||||
|
else
|
||||||
|
CB_SQUIRREL_CFLAGS="-I\$(top_srcdir)/src/include/scripting/include"
|
||||||
|
CB_SQUIRREL_LIBS="\$(top_builddir)/src/sdk/scripting/squirrel/libsquirrel.la \$(top_builddir)/src/sdk/scripting/sqstdlib/libsqstdlib.la"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$HAVE_TINYXML_TRUE" = "x" ; then
|
||||||
|
CB_TINYXML_CFLAGS="$TINYXML_CFLAGS"
|
||||||
|
CB_TINYXML_LIBS="$TINYXML_LIBS"
|
||||||
|
else
|
||||||
|
CB_TINYXML_CFLAGS="-I\$(top_srcdir)/src/include/tinyxml -DTIXML_USE_STL=YES"
|
||||||
|
CB_TINYXML_LIBS="\$(top_builddir)/src/base/tinyxml/libtinyxml.la"
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_SUBST(CB_SQUIRREL_CFLAGS)
|
||||||
|
AC_SUBST(CB_SQUIRREL_LIBS)
|
||||||
|
AC_SUBST(CB_TINYXML_CFLAGS)
|
||||||
|
AC_SUBST(CB_TINYXML_LIBS)
|
||||||
|
AC_SUBST(WX_GTK_CFLAGS)
|
||||||
|
AC_SUBST(WX_GTK_LIBS)
|
||||||
|
AC_SUBST(SCINTILLA_GTK_CFLAGS)
|
||||||
|
AC_SUBST(SCINTILLA_GTK_LIBS)
|
||||||
|
AC_SUBST(CB_GLIB2_CFLAGS)
|
||||||
|
AC_SUBST(CB_GLIB2_LIBS)
|
||||||
|
AC_SUBST(CB_GAMIN_CFLAGS)
|
||||||
|
AC_SUBST(CB_GAMIN_LIBS)
|
||||||
|
AC_SUBST(CB_HUNSPELL_CFLAGS)
|
||||||
|
AC_SUBST(CB_HUNSPELL_LIBS)
|
||||||
|
AC_SUBST(CB_FONTCONFIG_CFLAGS)
|
||||||
|
AC_SUBST(CB_FONTCONFIG_LIBS)
|
||||||
|
AC_SUBST(WX_X11_CFLAGS)
|
||||||
|
AC_SUBST(WX_X11_LIBS)
|
||||||
|
AC_SUBST(WXPROPGRID_DIR)
|
||||||
|
AC_SUBST(WXPROPGRID_LIB)
|
||||||
|
AC_SUBST(WXPROPGRID_INCLUDE)
|
||||||
|
AC_SUBST(WXPROPGRID_HEADERS)
|
||||||
|
|
||||||
|
AC_SUBST(POSTLINK_COMMAND)
|
||||||
|
AC_SUBST(MACSETFILE)
|
||||||
|
|
||||||
|
PIC_FLAGS=
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(for PIC flags)
|
||||||
|
case `uname` in
|
||||||
|
Solaris)
|
||||||
|
if test "$GCC" = yes; then
|
||||||
|
PIC_CFLAGS="-fPIC"
|
||||||
|
else
|
||||||
|
PIC_CFLAGS="-KPIC"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
PIC_CFLAGS="-fPIC"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
AC_MSG_RESULT("$PIC_CFLAGS -DPIC")
|
||||||
|
|
||||||
|
CFLAGS="$CFLAGS $PIC_CFLAGS -std=c90"
|
||||||
|
CPPFLAGS="$CPPFLAGS -DPIC $CB_TINYXML_CFLAGS"
|
||||||
|
CXXFLAGS="$CXXFLAGS $PIC_CFLAGS -fexceptions"
|
||||||
|
AC_SUBST(codeblocks_PCH_FLAGS, "$PCH_FLAGS")
|
||||||
|
|
||||||
|
AX_CXX_COMPILE_STDCXX(11, noext)
|
||||||
|
|
||||||
|
dnl AM_PATH_GTK(1.2.7, ,
|
||||||
|
dnl AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?),
|
||||||
|
dnl gthread)
|
||||||
|
|
||||||
|
AC_MSG_NOTICE([Configuring Code::Blocks...])
|
||||||
|
AC_MSG_NOTICE(SVN revision SVN_REVISION (SVN_DATE))
|
||||||
|
AC_SUBST(REVISION, SVN_REV)
|
||||||
|
AC_SUBST(DATE, "SVN_DATE")
|
||||||
|
|
||||||
|
if test "x${target_vendor}" = "xapple"; then
|
||||||
|
AC_CONFIG_FILES([bundle.sh], [chmod +x bundle.sh])
|
||||||
|
AC_CONFIG_FILES(codeblocks.plist)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([Makefile
|
||||||
|
src/Makefile
|
||||||
|
src/base/Makefile
|
||||||
|
src/base/tinyxml/Makefile
|
||||||
|
src/build_tools/Makefile
|
||||||
|
src/build_tools/autorevision/Makefile
|
||||||
|
src/include/autorevision.h
|
||||||
|
src/include/Makefile
|
||||||
|
src/include/scripting/Makefile
|
||||||
|
src/include/scripting/bindings/Makefile
|
||||||
|
src/include/scripting/include/Makefile
|
||||||
|
src/include/scripting/sqplus/Makefile
|
||||||
|
src/include/scripting/sqstdlib/Makefile
|
||||||
|
src/include/scripting/squirrel/Makefile
|
||||||
|
src/include/tinyxml/Makefile
|
||||||
|
src/sdk/Makefile
|
||||||
|
src/sdk/wxpropgrid/Makefile
|
||||||
|
src/sdk/scripting/Makefile
|
||||||
|
src/sdk/scripting/bindings/Makefile
|
||||||
|
src/sdk/scripting/squirrel/Makefile
|
||||||
|
src/sdk/scripting/sqstdlib/Makefile
|
||||||
|
src/sdk/scripting/sqplus/Makefile
|
||||||
|
src/sdk/wxscintilla/Makefile
|
||||||
|
src/sdk/resources/Makefile
|
||||||
|
src/sdk/resources/lexers/Makefile
|
||||||
|
src/src/resources/Makefile
|
||||||
|
src/src/resources/icons/Makefile
|
||||||
|
src/src/resources/images/Makefile
|
||||||
|
src/src/resources/images/settings/Makefile
|
||||||
|
src/src/Makefile
|
||||||
|
src/plugins/Makefile
|
||||||
|
src/plugins/astyle/Makefile
|
||||||
|
src/plugins/astyle/resources/Makefile
|
||||||
|
src/plugins/autosave/Makefile
|
||||||
|
src/plugins/classwizard/Makefile
|
||||||
|
src/plugins/classwizard/resources/Makefile
|
||||||
|
src/plugins/codecompletion/Makefile
|
||||||
|
src/plugins/codecompletion/resources/Makefile
|
||||||
|
src/plugins/compilergcc/Makefile
|
||||||
|
src/plugins/compilergcc/depslib/Makefile
|
||||||
|
src/plugins/compilergcc/depslib/src/Makefile
|
||||||
|
src/plugins/compilergcc/resources/Makefile
|
||||||
|
src/plugins/debuggergdb/Makefile
|
||||||
|
src/plugins/debuggergdb/resources/Makefile
|
||||||
|
src/plugins/defaultmimehandler/Makefile
|
||||||
|
src/plugins/defaultmimehandler/resources/Makefile
|
||||||
|
src/plugins/openfileslist/Makefile
|
||||||
|
src/plugins/occurrenceshighlighting/Makefile
|
||||||
|
src/plugins/occurrenceshighlighting/resources/Makefile
|
||||||
|
src/plugins/projectsimporter/Makefile
|
||||||
|
src/plugins/projectsimporter/resources/Makefile
|
||||||
|
src/plugins/scriptedwizard/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/arduino/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/arm/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/avr/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/c_file/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/console/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/d/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/directx/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/dll/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/d_source/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/empty/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/empty_file/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/fltk/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/fortran/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/glfw/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/glut/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/gtk/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/h_file/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/irrlicht/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/java/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/lf/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/matlab_csf/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/mcs51/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/msp430/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/ogre/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/opencv/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/opengl/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/plugins/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/ppc/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/qt4/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/qt4dll/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/qt5/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/sdl/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/sdl2/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/sfml/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/sharedlib/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/smartwin/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/staticlib/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/stlport/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/sys/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/tricore/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/win32gui/Makefile
|
||||||
|
src/plugins/scriptedwizard/resources/wxwidgets/Makefile
|
||||||
|
src/plugins/todo/Makefile
|
||||||
|
src/plugins/todo/resources/Makefile
|
||||||
|
src/plugins/abbreviations/Makefile
|
||||||
|
src/plugins/abbreviations/resources/Makefile
|
||||||
|
src/plugins/xpmanifest/Makefile
|
||||||
|
src/plugins/contrib/Makefile
|
||||||
|
src/plugins/contrib/appdata/Makefile
|
||||||
|
src/plugins/contrib/AutoVersioning/Makefile
|
||||||
|
src/plugins/contrib/BrowseTracker/Makefile
|
||||||
|
src/plugins/contrib/byogames/Makefile
|
||||||
|
src/plugins/contrib/Cccc/Makefile
|
||||||
|
src/plugins/contrib/Cccc/resources/Makefile
|
||||||
|
src/plugins/contrib/CppCheck/Makefile
|
||||||
|
src/plugins/contrib/CppCheck/resources/Makefile
|
||||||
|
src/plugins/contrib/cb_koders/Makefile
|
||||||
|
src/plugins/contrib/codesnippets/Makefile
|
||||||
|
src/plugins/contrib/codesnippets/resources/Makefile
|
||||||
|
src/plugins/contrib/codestat/Makefile
|
||||||
|
src/plugins/contrib/codestat/resources/Makefile
|
||||||
|
src/plugins/contrib/copystrings/Makefile
|
||||||
|
src/plugins/contrib/Cscope/Makefile
|
||||||
|
src/plugins/contrib/devpak_plugin/Makefile
|
||||||
|
src/plugins/contrib/devpak_plugin/bzip2/Makefile
|
||||||
|
src/plugins/contrib/DoxyBlocks/Makefile
|
||||||
|
src/plugins/contrib/dragscroll/Makefile
|
||||||
|
src/plugins/contrib/EditorConfig/Makefile
|
||||||
|
src/plugins/contrib/EditorTweaks/Makefile
|
||||||
|
src/plugins/contrib/envvars/Makefile
|
||||||
|
src/plugins/contrib/FileManager/Makefile
|
||||||
|
src/plugins/contrib/headerfixup/Makefile
|
||||||
|
src/plugins/contrib/help_plugin/Makefile
|
||||||
|
src/plugins/contrib/help_plugin/bzip2/Makefile
|
||||||
|
src/plugins/contrib/help_plugin/zlib/Makefile
|
||||||
|
src/plugins/contrib/keybinder/Makefile
|
||||||
|
src/plugins/contrib/NassiShneiderman/Makefile
|
||||||
|
src/plugins/contrib/profiler/Makefile
|
||||||
|
src/plugins/contrib/profiler/resources/Makefile
|
||||||
|
src/plugins/contrib/ProjectOptionsManipulator/Makefile
|
||||||
|
src/plugins/contrib/source_exporter/Makefile
|
||||||
|
src/plugins/contrib/source_exporter/wxPdfDocument/Makefile
|
||||||
|
src/plugins/contrib/SmartIndent/Makefile
|
||||||
|
src/plugins/contrib/SpellChecker/Makefile
|
||||||
|
src/plugins/contrib/SpellChecker/wxspellchecker/Makefile
|
||||||
|
src/plugins/contrib/symtab/Makefile
|
||||||
|
src/plugins/contrib/symtab/resources/Makefile
|
||||||
|
src/plugins/contrib/regex_testbed/Makefile
|
||||||
|
src/plugins/contrib/ReopenEditor/Makefile
|
||||||
|
src/plugins/contrib/rndgen/Makefile
|
||||||
|
src/plugins/contrib/ThreadSearch/Makefile
|
||||||
|
src/plugins/contrib/ToolsPlus/Makefile
|
||||||
|
src/plugins/contrib/ToolsPlus/Resources/Makefile
|
||||||
|
src/plugins/contrib/Valgrind/Makefile
|
||||||
|
src/plugins/contrib/Valgrind/resources/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxsmith-contrib.pc
|
||||||
|
src/plugins/contrib/wxContribItems/cb_wxcontrib.pc
|
||||||
|
src/plugins/contrib/wxContribItems/cb_wxchartctrl.pc
|
||||||
|
src/plugins/contrib/wxContribItems/cb_wxcustombutton.pc
|
||||||
|
src/plugins/contrib/wxContribItems/cb_wximagepanel.pc
|
||||||
|
src/plugins/contrib/wxContribItems/cb_wxflatnotebook.pc
|
||||||
|
src/plugins/contrib/wxContribItems/cb_wxspeedbutton.pc
|
||||||
|
src/plugins/contrib/wxContribItems/cb_wxKWIC.pc
|
||||||
|
src/plugins/contrib/wxContribItems/cb_wxtreelist.pc
|
||||||
|
src/plugins/contrib/wxContribItems/cb_wxled.pc
|
||||||
|
src/plugins/contrib/wxContribItems/cb_wxmathplot.pc
|
||||||
|
src/plugins/contrib/wxContribItems/wxchart/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxFlatNotebook/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxImagePanel/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxthings/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxSpeedButton/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/KWIC/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/KWIC/include/wx/KWIC/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/KWIC/include/wx/xrc/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxTreeList/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxled/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxled/gizmosled/include/wx/gizmos/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxled/lcdWindow/include/wx/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxled/led/include/wx/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxled/led/include/xrc/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxled/ledpanel/include/wx/Makefile
|
||||||
|
src/plugins/contrib/wxContribItems/wxmathplot/Makefile
|
||||||
|
src/plugins/contrib/wxSmith/Makefile
|
||||||
|
src/plugins/contrib/wxSmith/wxsmith.pc
|
||||||
|
src/plugins/contrib/wxSmith/plugin/Makefile
|
||||||
|
src/plugins/contrib/wxSmith/properties/Makefile
|
||||||
|
src/plugins/contrib/wxSmith/wxwidgets/Makefile
|
||||||
|
src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile
|
||||||
|
src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile
|
||||||
|
src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile
|
||||||
|
src/plugins/contrib/wxSmithContribItems/Makefile
|
||||||
|
src/plugins/contrib/wxSmithAui/Makefile
|
||||||
|
src/plugins/contrib/wxSmithAui/wxsmithaui.pc
|
||||||
|
src/plugins/contrib/wxSmithDemo/Makefile
|
||||||
|
src/plugins/contrib/wxSmithIExplore/Makefile
|
||||||
|
src/plugins/contrib/wxSmithSTC/Makefile
|
||||||
|
src/plugins/contrib/lib_finder/Makefile
|
||||||
|
src/plugins/contrib/lib_finder/lib_finder/Makefile
|
||||||
|
src/plugins/contrib/HexEditor/Makefile
|
||||||
|
src/plugins/contrib/IncrementalSearch/Makefile
|
||||||
|
src/plugins/contrib/MouseSap/Makefile
|
||||||
|
src/mime/Makefile
|
||||||
|
src/scripts/Makefile
|
||||||
|
src/tools/Makefile
|
||||||
|
src/tools/cb_share_config/Makefile
|
||||||
|
src/tools/ConsoleRunner/Makefile
|
||||||
|
src/tools/CBLauncher/Makefile
|
||||||
|
src/templates/Makefile
|
||||||
|
src/templates/common/Makefile
|
||||||
|
src/templates/unix/Makefile
|
||||||
|
src/templates/win32/Makefile
|
||||||
|
src/wxsmith/Makefile
|
||||||
|
codeblocks.pc
|
||||||
|
codeblocks.spec.fedora
|
||||||
|
codeblocks.spec
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_OUTPUT
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
echo "*************************************************"
|
||||||
|
echo "* Code::Blocks source tree has been configured. *"
|
||||||
|
echo "*************************************************"
|
||||||
|
echo
|
||||||
|
echo "You can now build Code::Blocks by issuing 'make'".
|
||||||
|
echo "When the build is complete, become root and install"
|
||||||
|
echo "it by issuing 'make install'".
|
||||||
|
echo
|
||||||
|
echo " CFLAGS: ${CFLAGS}"
|
||||||
|
echo " CXXFLAGS: ${CXXFLAGS}"
|
||||||
|
echo " CPPFLAGS: ${CPPFLAGS}"
|
||||||
|
echo " LDFLAGS: ${LDFLAGS}"
|
||||||
|
echo " CXX: ${CXX}"
|
||||||
|
echo " CC: ${CC}"
|
||||||
|
echo
|
193
debian/changelog
vendored
Normal file
193
debian/changelog
vendored
Normal file
|
@ -0,0 +1,193 @@
|
||||||
|
codeblocks (20.03) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New release
|
||||||
|
|
||||||
|
-- Teodor Petrov <tpetrov@codeblocks.org> Thu, 20 Feb 2020 21:35:00 +0200
|
||||||
|
|
||||||
|
codeblocks (17.12svn11267) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New svn revision
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Tue, 16 Jan 2018 06:06:34 +0100
|
||||||
|
|
||||||
|
codeblocks (17.12-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Try to fix cross dependencies.
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Sat, 06 Jan 2018 11:12:19 +0100
|
||||||
|
|
||||||
|
codeblocks (17.12) unstable; urgency=medium
|
||||||
|
|
||||||
|
* New release
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Thu, 28 Dec 2017 12:04:37 +0100
|
||||||
|
|
||||||
|
codeblocks (16.01svn10783) unstable; urgency=low
|
||||||
|
|
||||||
|
* New svn revision
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Sat, 20 Feb 2016 09:05:41 +0100
|
||||||
|
|
||||||
|
codeblocks (16.01) unstable; urgency=low
|
||||||
|
|
||||||
|
* New release
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Sun, 24 Jan 2016 10:37:15 +0100
|
||||||
|
|
||||||
|
codeblocks (13.12-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Changes for release 13.12.
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Tue, 24 Dec 2013 13:12:58 +0100
|
||||||
|
|
||||||
|
codeblocks (13.12-rc2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Second release candidate of release 13.12.
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Sun, 08 Dec 2013 14:07:37 +0100
|
||||||
|
|
||||||
|
codeblocks (13.12-rc1) unstable; urgency=low
|
||||||
|
|
||||||
|
* First release candidate of release 13.12.
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Sun, 17 Nov 2013 19:33:23 +0100
|
||||||
|
|
||||||
|
codeblocks (10.05svn8324) unstable; urgency=low
|
||||||
|
|
||||||
|
* Linux build-fixes; moved wxSmithKWIC into wxContribItems and
|
||||||
|
splitted it into the items lib and the wxSmith part
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Tue, 21 Dec 2011 10:14:46 +0100
|
||||||
|
|
||||||
|
codeblocks (10.05svn6916) unstable; urgency=low
|
||||||
|
|
||||||
|
* New svn revision
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Wed, 12 Jan 2011 11:12:27 +0000
|
||||||
|
|
||||||
|
codeblocks (10.05svn6787) unstable; urgency=low
|
||||||
|
|
||||||
|
* New svn revision
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Sun, 05 Sep 2010 09:58:05 +0000
|
||||||
|
|
||||||
|
codeblocks (10.05svn6570) unstable; urgency=low
|
||||||
|
|
||||||
|
* New svn revision
|
||||||
|
- Add debian/get-orig-source and debian/get-orig-source-from-svn
|
||||||
|
scripts that create orig-tarballs and remove Windows prebuilt
|
||||||
|
binaries
|
||||||
|
* Bump Standards-Version to 3.9.1
|
||||||
|
- Stop shipping *.la files
|
||||||
|
* Removed doc-packages, because they can not be build directly from
|
||||||
|
svn-sources, a standalone package might come.
|
||||||
|
* debian/control
|
||||||
|
- Add cdbs package as Build-Depend
|
||||||
|
- Add libbz2-dev and zlib1g-dev packages as
|
||||||
|
Build-Depends (needed by libhelp_plugin.so)
|
||||||
|
- Add libboost-dev (>=1.40) as Build-Depends (needed
|
||||||
|
for Nassi-Shneiderman-plugin)
|
||||||
|
- Removed Build-Depends for pngnq, wget (was only needed for
|
||||||
|
the removed doc-packages)
|
||||||
|
* debian/rules
|
||||||
|
- Switch to CDBS rules system
|
||||||
|
- Add parallel build support
|
||||||
|
- Use lzma compression
|
||||||
|
* Added option to keep (or remove) winodows dll's from dist-tarball
|
||||||
|
* Some of the changes are based on the work of the ubuntu maintainers,
|
||||||
|
especially Michael Casadevall.
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Fri, 03 Sep 2010 20:38:29 +0000
|
||||||
|
|
||||||
|
codeblocks (10.05svn6372) unstable; urgency=low
|
||||||
|
|
||||||
|
* tagged svn to 10.05
|
||||||
|
* added automatically update-script for docs
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Sun, 30 May 2010 16:40:18 +0200
|
||||||
|
|
||||||
|
codeblocks (10.05-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* new upstream release
|
||||||
|
* includes the official manual in english and german
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Thu, 27 May 2010 12:51:19 +0200
|
||||||
|
|
||||||
|
codeblocks (8.02svn5933) unstable; urgency=low
|
||||||
|
|
||||||
|
* more fixes to debian build system, sources and packages are now
|
||||||
|
lintian-clean, except for some words guessed as spelling-errors.
|
||||||
|
* changed name and installation directory for mimetype-icons
|
||||||
|
* fixed typo
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Sat, 20 Jun 2009 00:10:04 +0200
|
||||||
|
|
||||||
|
codeblocks (8.02svn5607) unstable; urgency=low
|
||||||
|
|
||||||
|
* reorganised debug-packages after changing compatibility level to 5:
|
||||||
|
codeblocks shared library is now in codeblocks-dbg,
|
||||||
|
added codeblocks-contrib-dbg package containing debug libraries for
|
||||||
|
the contrib-plugins,
|
||||||
|
* moved codesnippets executable from codeblocks to contrib-plugins
|
||||||
|
package
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Sun, 17 May 2009 23:15:02 +0200
|
||||||
|
|
||||||
|
codeblocks (8.02svn5600) unstable; urgency=low
|
||||||
|
|
||||||
|
* some changes to make debian-files more standard-compliant
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Tue, 05 May 2009 22:45:16 +0200
|
||||||
|
|
||||||
|
codeblocks (8.02svn5586) unstable; urgency=low
|
||||||
|
|
||||||
|
* add subversion and xsltproc to build dependcies
|
||||||
|
* run bootstrap if needed
|
||||||
|
* automatically update ChangeLog to HEAD
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Sun, 03 May 2009 21:43:39 +0200
|
||||||
|
|
||||||
|
codeblocks (8.02svn5584) unstable; urgency=low
|
||||||
|
|
||||||
|
* add libtool and automake to build depend
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Sun, 03 May 2009 18:47:34 +0200
|
||||||
|
|
||||||
|
codeblocks (8.02svn5409) unstable; urgency=low
|
||||||
|
|
||||||
|
* Nightly linux build
|
||||||
|
* some more changes to package and filesystem-layout
|
||||||
|
* included wxSmith-headers
|
||||||
|
* merged to codeblocks trunk
|
||||||
|
* the svn-log can be found in /usr/share/doc/codeblocks/changelog.gz
|
||||||
|
|
||||||
|
-- Jens Lody <jens@codeblocks.org> Fri, 12 Dec 2008 21:40:51 +0100
|
||||||
|
|
||||||
|
codeblocks (8.02svn5331) unstable; urgency=low
|
||||||
|
|
||||||
|
* Nightly linux build
|
||||||
|
* tagged version to last [stable revision]+[svn revision] to make
|
||||||
|
updates on actual ubuntu systems possible
|
||||||
|
* the svn-log can be found in /usr/share/doc/codeblocks/changelog.gz
|
||||||
|
|
||||||
|
-- Jens Lody <debian@jenslody.de> Sun, 09 Nov 2008 18:24:45 +0100
|
||||||
|
|
||||||
|
codeblocks (1.0svn5297) unstable; urgency=low
|
||||||
|
|
||||||
|
* Nightly linux build
|
||||||
|
* package- and directory-structure overworked:
|
||||||
|
moved plugins from /usr/share/codeblocks to /usr/lib/codeblocks,
|
||||||
|
split off a codeblocks-common-package, that includes
|
||||||
|
architecture independent files
|
||||||
|
* changes to make lintian run without errors on sources and *.deb-files
|
||||||
|
* no further patches of mine, they are all in svn now
|
||||||
|
* the svn-log can be found in /usr/share/doc/codeblocks/changelog.gz
|
||||||
|
|
||||||
|
-- Jens Lody <jens@lody.name> Sun, 03 Aug 2008 08:50:21 +0200
|
||||||
|
|
||||||
|
codeblocks (1.0svn4511) dapper; urgency=low
|
||||||
|
|
||||||
|
* Nightly linux build
|
||||||
|
|
||||||
|
-- Yiannis Mandravellos <mandrav@codeblocks.org> Sat, 25 Feb 2006 12:26:36 +0200
|
||||||
|
|
38
debian/codeblocks-common.install
vendored
Normal file
38
debian/codeblocks-common.install
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
usr/share/icons
|
||||||
|
usr/share/pixmaps
|
||||||
|
usr/share/mime
|
||||||
|
usr/share/appdata/codeblocks.appdata.xml
|
||||||
|
usr/share/applications
|
||||||
|
|
||||||
|
usr/share/man/man1/codeblocks.1
|
||||||
|
usr/share/man/man1/cb_console_runner.1
|
||||||
|
usr/share/man/man1/cb_share_config.1
|
||||||
|
|
||||||
|
usr/share/codeblocks/compilers/
|
||||||
|
usr/share/codeblocks/icons/
|
||||||
|
usr/share/codeblocks/images/*.png
|
||||||
|
usr/share/codeblocks/images/settings
|
||||||
|
usr/share/codeblocks/lexers
|
||||||
|
usr/share/codeblocks/scripts
|
||||||
|
usr/share/codeblocks/templates
|
||||||
|
|
||||||
|
usr/share/codeblocks/abbreviations.zip
|
||||||
|
usr/share/codeblocks/Astyle.zip
|
||||||
|
usr/share/codeblocks/autosave.zip
|
||||||
|
usr/share/codeblocks/classwizard.zip
|
||||||
|
usr/share/codeblocks/codecompletion.zip
|
||||||
|
usr/share/codeblocks/compiler.zip
|
||||||
|
usr/share/codeblocks/debugger.zip
|
||||||
|
usr/share/codeblocks/defaultmimehandler.zip
|
||||||
|
usr/share/codeblocks/manager_resources.zip
|
||||||
|
usr/share/codeblocks/occurrenceshighlighting.zip
|
||||||
|
usr/share/codeblocks/openfileslist.zip
|
||||||
|
usr/share/codeblocks/projectsimporter.zip
|
||||||
|
usr/share/codeblocks/resources.zip
|
||||||
|
usr/share/codeblocks/scriptedwizard.zip
|
||||||
|
usr/share/codeblocks/start_here.zip
|
||||||
|
usr/share/codeblocks/todo.zip
|
||||||
|
|
||||||
|
usr/share/codeblocks/tips.txt
|
||||||
|
|
||||||
|
../lintian/codeblocks-common usr/share/lintian/overrides/
|
46
debian/codeblocks-contrib-common.install
vendored
Normal file
46
debian/codeblocks-contrib-common.install
vendored
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
usr/share/appdata/codeblocks-contrib.metainfo.xml
|
||||||
|
|
||||||
|
usr/share/codeblocks/AutoVersioning.zip
|
||||||
|
usr/share/codeblocks/BrowseTracker.zip
|
||||||
|
usr/share/codeblocks/byogames.zip
|
||||||
|
usr/share/codeblocks/Cccc.zip
|
||||||
|
usr/share/codeblocks/CppCheck.zip
|
||||||
|
usr/share/codeblocks/SmartIndent*.zip
|
||||||
|
usr/share/codeblocks/cb_koders.zip
|
||||||
|
usr/share/codeblocks/codesnippets.zip
|
||||||
|
usr/share/codeblocks/codestat.zip
|
||||||
|
usr/share/codeblocks/copystrings.zip
|
||||||
|
usr/share/codeblocks/Cscope.zip
|
||||||
|
usr/share/codeblocks/DoxyBlocks.zip
|
||||||
|
usr/share/codeblocks/dragscroll.zip
|
||||||
|
usr/share/codeblocks/EditorConfig.zip
|
||||||
|
usr/share/codeblocks/EditorTweaks.zip
|
||||||
|
usr/share/codeblocks/envvars.zip
|
||||||
|
usr/share/codeblocks/exporter.zip
|
||||||
|
usr/share/codeblocks/FileManager.zip
|
||||||
|
usr/share/codeblocks/headerfixup.zip
|
||||||
|
usr/share/codeblocks/help_plugin.zip
|
||||||
|
usr/share/codeblocks/HexEditor.zip
|
||||||
|
usr/share/codeblocks/IncrementalSearch.zip
|
||||||
|
usr/share/codeblocks/keybinder.zip
|
||||||
|
usr/share/codeblocks/lib_finder.zip
|
||||||
|
usr/share/codeblocks/MouseSap.zip
|
||||||
|
usr/share/codeblocks/NassiShneiderman.zip
|
||||||
|
usr/share/codeblocks/Profiler.zip
|
||||||
|
usr/share/codeblocks/ProjectOptionsManipulator.zip
|
||||||
|
usr/share/codeblocks/RegExTestbed.zip
|
||||||
|
usr/share/codeblocks/ReopenEditor.zip
|
||||||
|
usr/share/codeblocks/SpellChecker.zip
|
||||||
|
usr/share/codeblocks/SymTab.zip
|
||||||
|
usr/share/codeblocks/ThreadSearch.zip
|
||||||
|
usr/share/codeblocks/ToolsPlus.zip
|
||||||
|
usr/share/codeblocks/Valgrind.zip
|
||||||
|
usr/share/codeblocks/wxsmith.zip
|
||||||
|
usr/share/codeblocks/wxsmithcontribitems.zip
|
||||||
|
usr/share/codeblocks/wxSmithAui.zip
|
||||||
|
usr/share/codeblocks/images/codesnippets*
|
||||||
|
usr/share/codeblocks/images/wxsmith*
|
||||||
|
usr/share/codeblocks/lib_finder/*
|
||||||
|
usr/share/codeblocks/SpellChecker/*
|
||||||
|
usr/share/man/man1/*snippets*
|
||||||
|
|
41
debian/codeblocks-contrib.install
vendored
Normal file
41
debian/codeblocks-contrib.install
vendored
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
usr/lib/codeblocks/plugins/libAutoVersioning.so
|
||||||
|
usr/lib/codeblocks/plugins/libBrowseTracker.so
|
||||||
|
usr/lib/codeblocks/plugins/libbyogames.so
|
||||||
|
usr/lib/codeblocks/plugins/libCccc.so
|
||||||
|
usr/lib/codeblocks/plugins/libCppCheck.so
|
||||||
|
usr/lib/codeblocks/plugins/libSmartIndent*.so
|
||||||
|
usr/lib/codeblocks/plugins/libcb_koders.so
|
||||||
|
usr/lib/codeblocks/plugins/libcodesnippets.so
|
||||||
|
usr/lib/codeblocks/plugins/libcodestat.so
|
||||||
|
usr/lib/codeblocks/plugins/libcopystrings.so
|
||||||
|
usr/lib/codeblocks/plugins/libCscope.so
|
||||||
|
usr/lib/codeblocks/plugins/libDoxyBlocks.so
|
||||||
|
usr/lib/codeblocks/plugins/libdragscroll.so
|
||||||
|
usr/lib/codeblocks/plugins/libEditorConfig.so
|
||||||
|
usr/lib/codeblocks/plugins/libEditorTweaks.so
|
||||||
|
usr/lib/codeblocks/plugins/libenvvars.so
|
||||||
|
usr/lib/codeblocks/plugins/libexporter.so
|
||||||
|
usr/lib/codeblocks/plugins/libFileManager.so
|
||||||
|
usr/lib/codeblocks/plugins/libheaderfixup.so
|
||||||
|
usr/lib/codeblocks/plugins/libhelp_plugin.so
|
||||||
|
usr/lib/codeblocks/plugins/libHexEditor.so
|
||||||
|
usr/lib/codeblocks/plugins/libIncrementalSearch.so
|
||||||
|
usr/lib/codeblocks/plugins/libkeybinder.so
|
||||||
|
usr/lib/codeblocks/plugins/liblib_finder.so
|
||||||
|
usr/lib/codeblocks/plugins/libNassiShneiderman.so
|
||||||
|
usr/lib/codeblocks/plugins/libProfiler.so
|
||||||
|
usr/lib/codeblocks/plugins/libProjectOptionsManipulator.so
|
||||||
|
usr/lib/codeblocks/plugins/libRegExTestbed.so
|
||||||
|
usr/lib/codeblocks/plugins/libSpellChecker.so
|
||||||
|
usr/lib/codeblocks/plugins/libSymTab.so
|
||||||
|
usr/lib/codeblocks/plugins/libThreadSearch.so
|
||||||
|
usr/lib/codeblocks/plugins/libToolsPlus.so
|
||||||
|
usr/lib/codeblocks/plugins/libValgrind.so
|
||||||
|
usr/lib/codeblocks/plugins/libMouseSap.so
|
||||||
|
usr/lib/codeblocks/plugins/libReopenEditor.so
|
||||||
|
usr/lib/codeblocks/plugins/libwxsmith.so
|
||||||
|
usr/lib/codeblocks/plugins/libwxsmithcontribitems.so
|
||||||
|
usr/lib/codeblocks/plugins/libwxSmithAui.so
|
||||||
|
|
||||||
|
../lintian/codeblocks-contrib usr/share/lintian/overrides/
|
||||||
|
usr/lib/pkgconfig/wxsmithaui.pc usr/lib/pkgconfig/
|
6
debian/codeblocks-contrib.postinst
vendored
Normal file
6
debian/codeblocks-contrib.postinst
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#! /bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
2
debian/codeblocks-dev.install
vendored
Normal file
2
debian/codeblocks-dev.install
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
usr/lib/libcodeblocks.so
|
||||||
|
usr/lib/pkgconfig/codeblocks.pc
|
6
debian/codeblocks-headers.install.wx28
vendored
Normal file
6
debian/codeblocks-headers.install.wx28
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
usr/include/codeblocks/scripting
|
||||||
|
usr/include/codeblocks/tinyxml
|
||||||
|
usr/include/codeblocks/wxpropgrid
|
||||||
|
usr/include/codeblocks/wxscintilla
|
||||||
|
usr/include/codeblocks/*.h
|
||||||
|
|
5
debian/codeblocks-headers.install.wx30
vendored
Normal file
5
debian/codeblocks-headers.install.wx30
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
usr/include/codeblocks/scripting
|
||||||
|
usr/include/codeblocks/tinyxml
|
||||||
|
usr/include/codeblocks/wxscintilla
|
||||||
|
usr/include/codeblocks/*.h
|
||||||
|
|
2
debian/codeblocks-libwxcontrib0.install
vendored
Normal file
2
debian/codeblocks-libwxcontrib0.install
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
usr/lib/codeblocks/wxContribItems/*.so.*
|
||||||
|
|
5
debian/codeblocks-wxcontrib-dev.install
vendored
Normal file
5
debian/codeblocks-wxcontrib-dev.install
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
usr/lib/codeblocks/wxContribItems/*.so
|
||||||
|
|
||||||
|
usr/lib/pkgconfig/cb_*.pc usr/lib/pkgconfig/
|
||||||
|
usr/lib/pkgconfig/wxsmith-contrib.pc usr/lib/pkgconfig/
|
||||||
|
|
1
debian/codeblocks-wxcontrib-headers.install
vendored
Normal file
1
debian/codeblocks-wxcontrib-headers.install
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
usr/include/codeblocks/wxContribItems/
|
19
debian/codeblocks.install
vendored
Normal file
19
debian/codeblocks.install
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
usr/bin/codeblocks
|
||||||
|
usr/bin/cb_console_runner
|
||||||
|
usr/bin/cb_share_config
|
||||||
|
|
||||||
|
usr/lib/codeblocks/plugins/libabbreviations.so
|
||||||
|
usr/lib/codeblocks/plugins/libAstyle.so
|
||||||
|
usr/lib/codeblocks/plugins/libautosave.so
|
||||||
|
usr/lib/codeblocks/plugins/libclasswizard.so
|
||||||
|
usr/lib/codeblocks/plugins/libcodecompletion.so
|
||||||
|
usr/lib/codeblocks/plugins/libcompiler.so
|
||||||
|
usr/lib/codeblocks/plugins/libdebugger.so
|
||||||
|
usr/lib/codeblocks/plugins/libdefaultmimehandler.so
|
||||||
|
usr/lib/codeblocks/plugins/liboccurrenceshighlighting.so
|
||||||
|
usr/lib/codeblocks/plugins/libopenfileslist.so
|
||||||
|
usr/lib/codeblocks/plugins/libprojectsimporter.so
|
||||||
|
usr/lib/codeblocks/plugins/libscriptedwizard.so
|
||||||
|
usr/lib/codeblocks/plugins/libtodo.so
|
||||||
|
../lintian/codeblocks usr/share/lintian/overrides
|
||||||
|
|
2
debian/codeblocks.menu
vendored
Normal file
2
debian/codeblocks.menu
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
?package(codeblocks):needs="X11" section="Applications/Programming"\
|
||||||
|
title="codeblocks" command="/usr/bin/codeblocks"
|
2
debian/codeblocks.package
vendored
Normal file
2
debian/codeblocks.package
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
?package(libcodeblocks0):needs="X11" section="Apps/Programming"\
|
||||||
|
title="codeblocks" icon="/usr/share/pixmaps/codeblocks.png" command="/usr/bin/codeblocks"
|
9
debian/codeblocks.postinst
vendored
Normal file
9
debian/codeblocks.postinst
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#! /bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#remove possible artifacts of older installs
|
||||||
|
rm -f /usr/{lib,lib32,lib64}/codeblocks/plugins/*.do_not_load
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
exit 0
|
13
debian/codeblocks.sharedmime
vendored
Normal file
13
debian/codeblocks.sharedmime
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||||
|
<mime-type type="application/x-codeblocks">
|
||||||
|
<comment>Code::Blocks Project</comment>
|
||||||
|
<glob pattern="*.cbp"/>
|
||||||
|
<sub-class-of type="application/xml"/>
|
||||||
|
</mime-type>
|
||||||
|
<mime-type type="application/x-codeblocks-workspace">
|
||||||
|
<comment>Code::Blocks Workspace</comment>
|
||||||
|
<glob pattern="*.workspace"/>
|
||||||
|
<sub-class-of type="application/xml"/>
|
||||||
|
</mime-type>
|
||||||
|
</mime-info>
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
7
|
433
debian/control
vendored
Normal file
433
debian/control
vendored
Normal file
|
@ -0,0 +1,433 @@
|
||||||
|
Source: codeblocks
|
||||||
|
Section: x11
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Jens Lody <jens@codeblocks.org>
|
||||||
|
Homepage: http://www.codeblocks.org
|
||||||
|
Build-Depends: debhelper (>= 7.4.11~)
|
||||||
|
, cdbs
|
||||||
|
, automake (>= 1.9)
|
||||||
|
, libtool (>= 1.4)
|
||||||
|
, libwxgtk2.8-dev | libwxgtk3.0-dev
|
||||||
|
, wx-common
|
||||||
|
, zip
|
||||||
|
, libbz2-dev
|
||||||
|
, zlib1g-dev
|
||||||
|
, libgtk2.0-dev
|
||||||
|
, libgamin-dev
|
||||||
|
, libboost1.40-dev | libboost-dev (>= 1.40)
|
||||||
|
, libboost-system-dev
|
||||||
|
, libhunspell-dev
|
||||||
|
, libfontconfig1-dev
|
||||||
|
, libglib2.0-dev
|
||||||
|
Standards-Version: 3.9.1
|
||||||
|
|
||||||
|
Package: codeblocks
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}
|
||||||
|
, ${misc:Depends}
|
||||||
|
, codeblocks-common (= ${source:Version})
|
||||||
|
, libcodeblocks0 (= ${binary:Version})
|
||||||
|
, xterm
|
||||||
|
Recommends:
|
||||||
|
gcc | g++
|
||||||
|
, gdb
|
||||||
|
Suggests:
|
||||||
|
libwxgtk2.8-dev | libwxgtk3.0-dev
|
||||||
|
, wx-common
|
||||||
|
, codeblocks-contrib
|
||||||
|
Description: Code::Blocks integrated development environment (IDE)
|
||||||
|
Code::Blocks is the open-source, cross-platform Integrated Development
|
||||||
|
Environment (IDE).
|
||||||
|
It is based on a self-developed plugin framework allowing unlimited
|
||||||
|
extensibility. Most of its functionality is already provided by plugins.
|
||||||
|
Plugins included in the base package are:
|
||||||
|
* Compiler frontend to many free compilers
|
||||||
|
* Debugger frontend for GDB (and CDB for windows platforms)
|
||||||
|
* Source formatter (based on AStyle)
|
||||||
|
* Wizard to create new C++ classes
|
||||||
|
* Code-completion / symbols-browser (work in progress)
|
||||||
|
* Default MIME handler
|
||||||
|
* Wizard to create new Code::Blocks plugins
|
||||||
|
* To-do list
|
||||||
|
* Extensible wizard based on scripts
|
||||||
|
* Autosave (saves your work in the unfortunate case of a crash)
|
||||||
|
* Occurrences highlighter
|
||||||
|
* Open files list
|
||||||
|
|
||||||
|
Package: codeblocks-common
|
||||||
|
Architecture: all
|
||||||
|
Breaks: codeblocks (<< ${binary:Version})
|
||||||
|
Replaces: codeblocks (<< ${binary:Version})
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
Description: common files for Code::Blocks IDE
|
||||||
|
Code::Blocks is the open-source, cross-platform Integrated Development
|
||||||
|
Environment (IDE).
|
||||||
|
It is based on a self-developed plugin framework allowing unlimited
|
||||||
|
extensibility. Most of its functionality is already provided by plugins.
|
||||||
|
.
|
||||||
|
This package contains the architecture-independent files of Code::Blocks.
|
||||||
|
|
||||||
|
Package: libcodeblocks0
|
||||||
|
Architecture: any
|
||||||
|
Section: libs
|
||||||
|
Depends: ${shlibs:Depends}
|
||||||
|
, ${misc:Depends}
|
||||||
|
, binutils (>= 2.14.90.0.7)
|
||||||
|
, file
|
||||||
|
Recommends: codeblocks
|
||||||
|
Description: Code::Blocks shared libraries
|
||||||
|
Code::Blocks is the open-source, cross-platform Integrated Development
|
||||||
|
Environment (IDE).
|
||||||
|
It is based on a self-developed plugin framework allowing unlimited
|
||||||
|
extensibility. Most of its functionality is already provided by plugins.
|
||||||
|
Plugins included in the base package are:
|
||||||
|
* Compiler frontend to many free compilers
|
||||||
|
* Debugger frontend for GDB (and CDB for windows platforms)
|
||||||
|
* Source formatter (based on AStyle)
|
||||||
|
* Wizard to create new C++ classes
|
||||||
|
* Code-completion / symbols-browser (work in progress)
|
||||||
|
* Default MIME handler
|
||||||
|
* Wizard to create new Code::Blocks plugins
|
||||||
|
* To-do list
|
||||||
|
* Extensible wizard based on scripts
|
||||||
|
* Autosave (saves your work in the unfortunate case of a crash)
|
||||||
|
.
|
||||||
|
This package contains the Code::Blocks shared library.
|
||||||
|
|
||||||
|
Package: codeblocks-dbg
|
||||||
|
Priority: extra
|
||||||
|
Architecture: any
|
||||||
|
Section: debug
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
, codeblocks (= ${binary:Version})
|
||||||
|
Description: Code::Blocks debugging libraries
|
||||||
|
Code::Blocks is the open-source, cross-platform Integrated Development
|
||||||
|
Environment (IDE).
|
||||||
|
It is based on a self-developed plugin framework allowing unlimited
|
||||||
|
extensibility. Most of its functionality is already provided by plugins.
|
||||||
|
Plugins included in the base package are:
|
||||||
|
* Compiler frontend to many free compilers
|
||||||
|
* Debugger frontend for GDB (and CDB for windows platforms)
|
||||||
|
* Source formatter (based on AStyle)
|
||||||
|
* Wizard to create new C++ classes
|
||||||
|
* Code-completion / symbols-browser (work in progress)
|
||||||
|
* Default MIME handler
|
||||||
|
* Wizard to create new Code::Blocks plugins
|
||||||
|
* To-do list
|
||||||
|
* Extensible wizard based on scripts
|
||||||
|
* Autosave (saves your work in the unfortunate case of a crash)
|
||||||
|
.
|
||||||
|
This package contains the debugging libraries for the 'codeblocks' and the
|
||||||
|
'libcodeblockso' package.
|
||||||
|
|
||||||
|
Package: codeblocks-contrib
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}
|
||||||
|
, ${misc:Depends}
|
||||||
|
, codeblocks (= ${binary:Version})
|
||||||
|
, libwxsmithlib0 (= ${binary:Version})
|
||||||
|
, codeblocks-libwxcontrib0 (= ${binary:Version})
|
||||||
|
, codeblocks-contrib-common (= ${source:Version})
|
||||||
|
Recommends:
|
||||||
|
valgrind
|
||||||
|
, cppcheck
|
||||||
|
, cscope
|
||||||
|
, cccc
|
||||||
|
Description: contrib plugins for Code::Blocks IDE
|
||||||
|
This package extends Code::Blocks functionality a great deal with the included
|
||||||
|
plugins. These are:
|
||||||
|
* Autoversioning
|
||||||
|
* BrowseTracker
|
||||||
|
* Cccc
|
||||||
|
* Code statistics (SLOCs etc)
|
||||||
|
* Codesnippets
|
||||||
|
* Copy strings
|
||||||
|
* CppCheck
|
||||||
|
* Cscope
|
||||||
|
* DoxyBlocks
|
||||||
|
* DragScroll (enhances mouse operations)
|
||||||
|
* EditorConfig
|
||||||
|
* EditorTweaks
|
||||||
|
* Selection of small games for relaxing between coding sessions! (BYOGames)
|
||||||
|
* Setting of environment variables
|
||||||
|
* Source exporter to PDF/HTML/ODT/RTF
|
||||||
|
* FileManager
|
||||||
|
* Header fixup
|
||||||
|
* Help
|
||||||
|
* HexEditor
|
||||||
|
* IncrementalSearch
|
||||||
|
* Keyboard shortcuts configuration
|
||||||
|
* CB koders
|
||||||
|
* Library finder
|
||||||
|
* MouseSap
|
||||||
|
* NassiShneiderman
|
||||||
|
* Profiler (based on gprof)
|
||||||
|
* ProjectOptionsManipulator
|
||||||
|
* Regular expression testbed
|
||||||
|
* Reopen last closed editor(s) via menu or hotkey
|
||||||
|
* Smartindent plugin (cpp, HDL, Fortran, Lua, Pascal, Python, XML)
|
||||||
|
* Spellchecker plugin
|
||||||
|
* Symbol table plugin
|
||||||
|
* ThreadSearch
|
||||||
|
* ToolsPlus
|
||||||
|
* Valgrind
|
||||||
|
* RAD gui-builder for wxWidgets (wxSmith)
|
||||||
|
* wxSmith contrib items
|
||||||
|
* wxSmith AUI
|
||||||
|
|
||||||
|
Package: codeblocks-libwxcontrib0
|
||||||
|
Architecture: any
|
||||||
|
Section: libs
|
||||||
|
Depends: ${shlibs:Depends}
|
||||||
|
, ${misc:Depends}
|
||||||
|
, binutils (>= 2.14.90.0.7)
|
||||||
|
, file
|
||||||
|
Description: Code::Blocks shared libraries for wxContribItems
|
||||||
|
This package contains the shared libraries for the wxContribItems used by wxSmith .
|
||||||
|
Contrib items included in this package are:
|
||||||
|
* KWIC
|
||||||
|
* wxChartCtrl
|
||||||
|
* wxFlatNotebook
|
||||||
|
* wxImagePanel
|
||||||
|
* wxSpeedButton
|
||||||
|
* wxTreeList
|
||||||
|
* wxCustomButton
|
||||||
|
* wxLED
|
||||||
|
|
||||||
|
Package: codeblocks-contrib-common
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
Breaks: codeblocks-contrib (<< ${binary:Version})
|
||||||
|
Replaces: codeblocks-contrib (<< ${binary:Version})
|
||||||
|
Description: common files for the contrib plugins for Code::Blocks IDE
|
||||||
|
The contrib plugins extend Code::Blocks functionality.
|
||||||
|
This package contains the architecture-independent files of the
|
||||||
|
codeblocks-contrib plugins.
|
||||||
|
|
||||||
|
Package: codeblocks-contrib-dbg
|
||||||
|
Priority: extra
|
||||||
|
Architecture: any
|
||||||
|
Section: debug
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
, codeblocks-contrib (= ${binary:Version})
|
||||||
|
, codeblocks-dbg (= ${binary:Version})
|
||||||
|
Description: Debugging libraries for the Code::Blocks contrib plugins
|
||||||
|
This package extends Code::Blocks functionality a great deal with the included
|
||||||
|
plugins. These are:
|
||||||
|
* Code statistics (SLOCs etc)
|
||||||
|
* Copy strings
|
||||||
|
* Cscope
|
||||||
|
* DoxyBlocks
|
||||||
|
* DragScroll (enhances mouse operations)
|
||||||
|
* EditorConfig
|
||||||
|
* EditorTweaks
|
||||||
|
* Setting of environment variables
|
||||||
|
* Source exporter to PDF/HTML/ODT/RTF
|
||||||
|
* Header fixup
|
||||||
|
* Help
|
||||||
|
* Keyboard shortcuts configuration
|
||||||
|
* RAD gui-builder for wxWidgets (wxSmith)
|
||||||
|
* wxSmith contrib items
|
||||||
|
* wxSmith AUI
|
||||||
|
* Selection of small games for relaxing between coding sessions! (BYOGames)
|
||||||
|
* Autoversioning
|
||||||
|
* ThreadSearch
|
||||||
|
* BrowseTracker
|
||||||
|
* Valgrind
|
||||||
|
* HexEditor
|
||||||
|
* IncrementalSearch
|
||||||
|
* Codesnippets
|
||||||
|
* Library finder
|
||||||
|
* Profiler (based on gprof)
|
||||||
|
* ProjectOptionsManipulator
|
||||||
|
* Regular expression testbed
|
||||||
|
* Reopen last closed editor(s) via menu or hotkey
|
||||||
|
* Spellchecker plugin
|
||||||
|
* Symbol table plugin
|
||||||
|
* CB koders
|
||||||
|
* MouseSap
|
||||||
|
* Cccc
|
||||||
|
* CppCheck
|
||||||
|
* NassiShneiderman
|
||||||
|
.
|
||||||
|
This package contains the debugging libraries for the 'codeblocks-contrib' package and
|
||||||
|
the wxsmith-packages.
|
||||||
|
|
||||||
|
Package: codeblocks-dev
|
||||||
|
Architecture: any
|
||||||
|
Section: libdevel
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
, libcodeblocks0 (= ${binary:Version})
|
||||||
|
, codeblocks-headers (= ${source:Version})
|
||||||
|
Description: Code::Blocks development libraries (SDK)
|
||||||
|
Code::Blocks is the open-source, cross-platform Integrated Development
|
||||||
|
Environment (IDE).
|
||||||
|
It is based on a self-developed plugin framework allowing unlimited
|
||||||
|
extensibility. Most of its functionality is already provided by plugins.
|
||||||
|
Plugins included in the base package are:
|
||||||
|
* Compiler frontend to many free compilers
|
||||||
|
* Debugger frontend for GDB (and CDB for windows platforms)
|
||||||
|
* Source formatter (based on AStyle)
|
||||||
|
* Wizard to create new C++ classes
|
||||||
|
* Code-completion / symbols-browser (work in progress)
|
||||||
|
* Default MIME handler
|
||||||
|
* Wizard to create new Code::Blocks plugins
|
||||||
|
* To-do list
|
||||||
|
* Extensible wizard based on scripts
|
||||||
|
* Autosave (saves your work in the unfortunate case of a crash)
|
||||||
|
.
|
||||||
|
This package contains the development libraries for creating plugins
|
||||||
|
for the Code::Blocks IDE.
|
||||||
|
|
||||||
|
Package: codeblocks-headers
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
Conflicts: codeblocks-dev (<< ${source:Version})
|
||||||
|
Description: Code::Blocks development headers (SDK)
|
||||||
|
Code::Blocks is the open-source, cross-platform Integrated Development
|
||||||
|
Environment (IDE).
|
||||||
|
It is based on a self-developed plugin framework allowing unlimited
|
||||||
|
extensibility. Most of its functionality is already provided by plugins.
|
||||||
|
Plugins included in the base package are:
|
||||||
|
* Compiler frontend to many free compilers
|
||||||
|
* Debugger frontend for GDB (and CDB for windows platforms)
|
||||||
|
* Source formatter (based on AStyle)
|
||||||
|
* Wizard to create new C++ classes
|
||||||
|
* Code-completion / symbols-browser (work in progress)
|
||||||
|
* Default MIME handler
|
||||||
|
* Wizard to create new Code::Blocks plugins
|
||||||
|
* To-do list
|
||||||
|
* Extensible wizard based on scripts
|
||||||
|
* Autosave (saves your work in the unfortunate case of a crash)
|
||||||
|
.
|
||||||
|
This package contains the development headers for creating plugins
|
||||||
|
for the Code::Blocks IDE.
|
||||||
|
|
||||||
|
Package: codeblocks-wxcontrib-dev
|
||||||
|
Architecture: any
|
||||||
|
Section: libdevel
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
, codeblocks-libwxcontrib0 (= ${binary:Version})
|
||||||
|
, codeblocks-wxcontrib-headers (= ${source:Version})
|
||||||
|
Description: Code::Blocks development libraries for wxContribItems
|
||||||
|
This package contains the development libraries for the wxContribItems used by wxSmith .
|
||||||
|
Items included in this package are:
|
||||||
|
* KWIC
|
||||||
|
* wxChartCtrl
|
||||||
|
* wxFlatNotebook
|
||||||
|
* wxImagePanel
|
||||||
|
* wxSpeedButton
|
||||||
|
* wxCustomButton
|
||||||
|
* wxLED
|
||||||
|
.
|
||||||
|
This package contains the development libraries needed to use the wxContribItems in own
|
||||||
|
programs.
|
||||||
|
|
||||||
|
Package: codeblocks-wxcontrib-headers
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
, codeblocks-wxcontrib-dev (>= ${source:Version})
|
||||||
|
, codeblocks-wxcontrib-dev (<< ${source:Version}.1~)
|
||||||
|
Conflicts: codeblocks-wxcontrib-dev (<< ${source:Version})
|
||||||
|
Description: Code::Blocks development headers for wxContribItems
|
||||||
|
This package contains the development headers for the wxContribItems used by wxSmith .
|
||||||
|
Items included in this package are:
|
||||||
|
* KWIC
|
||||||
|
* wxChartCtrl
|
||||||
|
* wxFlatNotebook
|
||||||
|
* wxImagePanel
|
||||||
|
* wxSpeedButton
|
||||||
|
* wxCustomButton
|
||||||
|
* wxLED
|
||||||
|
.
|
||||||
|
This package contains the development headers needed to use the wxContribItems in own
|
||||||
|
programs.
|
||||||
|
|
||||||
|
Package: libwxsmithlib0
|
||||||
|
Architecture: any
|
||||||
|
Section: libs
|
||||||
|
Depends: ${shlibs:Depends}
|
||||||
|
, ${misc:Depends}
|
||||||
|
, libcodeblocks0 (= ${binary:Version})
|
||||||
|
Recommends: codeblocks-contrib (= ${binary:Version})
|
||||||
|
Description: wxSmith shared library (Code::Blocks plugin for RAD GUI editing)
|
||||||
|
Code::Blocks is the open-source, cross-platform Integrated Development
|
||||||
|
Environment (IDE).
|
||||||
|
It is based on a self-developed plugin framework allowing unlimited
|
||||||
|
extensibility. Most of its functionality is already provided by plugins.
|
||||||
|
Plugins included in the base package are:
|
||||||
|
* Compiler frontend to many free compilers
|
||||||
|
* Debugger frontend for GDB (and CDB for windows platforms)
|
||||||
|
* Source formatter (based on AStyle)
|
||||||
|
* Wizard to create new C++ classes
|
||||||
|
* Code-completion / symbols-browser (work in progress)
|
||||||
|
* Default MIME handler
|
||||||
|
* Wizard to create new Code::Blocks plugins
|
||||||
|
* To-do list
|
||||||
|
* Extensible wizard based on scripts
|
||||||
|
* Autosave (saves your work in the unfortunate case of a crash)
|
||||||
|
.
|
||||||
|
This package contains the wxSmith shared library.
|
||||||
|
wxSmith is included in the codeblocks-contrib package.
|
||||||
|
|
||||||
|
Package: libwxsmithlib0-dev
|
||||||
|
Architecture: any
|
||||||
|
Section: libdevel
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
, wxsmith-dev (= ${binary:Version})
|
||||||
|
Conflicts: libwxsmithlib0-dev (<< ${source:Version})
|
||||||
|
Description: wxSmith development metapackage
|
||||||
|
This is a transitional dummy package to ensure clean upgrades to new
|
||||||
|
package and directory structure.
|
||||||
|
It can be safely removed.
|
||||||
|
|
||||||
|
Package: wxsmith-dev
|
||||||
|
Architecture: any
|
||||||
|
Section: libdevel
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
, libcodeblocks0 (= ${binary:Version})
|
||||||
|
, wxsmith-headers (= ${source:Version})
|
||||||
|
Replaces: libwxsmithlib0-dev
|
||||||
|
Description: wxSmith development files (libraries)
|
||||||
|
Code::Blocks is the open-source, cross-platform Integrated Development
|
||||||
|
Environment (IDE).
|
||||||
|
It is based on a self-developed plugin framework allowing unlimited
|
||||||
|
extensibility. Most of its functionality is already provided by plugins.
|
||||||
|
Plugins included in the base package are:
|
||||||
|
* Compiler frontend to many free compilers
|
||||||
|
* Debugger frontend for GDB (and CDB for windows platforms)
|
||||||
|
* Source formatter (based on AStyle)
|
||||||
|
* Wizard to create new C++ classes
|
||||||
|
* Code-completion / symbols-browser (work in progress)
|
||||||
|
* Default MIME handler
|
||||||
|
* Wizard to create new Code::Blocks plugins
|
||||||
|
* To-do list
|
||||||
|
* Extensible wizard based on scripts
|
||||||
|
* Autosave (saves your work in the unfortunate case of a crash)
|
||||||
|
.
|
||||||
|
This package contains the development libraries for wxSmith, the codeblocks
|
||||||
|
RAD GUI editing tool.
|
||||||
|
|
||||||
|
Package: wxsmith-headers
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends}
|
||||||
|
Conflicts: wxsmith-dev (<< ${source:Version})
|
||||||
|
Description: wxSmith development files (headers)
|
||||||
|
Code::Blocks is the open-source, cross-platform Integrated Development
|
||||||
|
Environment (IDE).
|
||||||
|
It is based on a self-developed plugin framework allowing unlimited
|
||||||
|
extensibility. Most of its functionality is already provided by plugins.
|
||||||
|
Plugins included in the base package are:
|
||||||
|
* Compiler frontend to many free compilers
|
||||||
|
* Debugger frontend for GDB (and CDB for windows platforms)
|
||||||
|
* Source formatter (based on AStyle)
|
||||||
|
* Wizard to create new C++ classes
|
||||||
|
* Code-completion / symbols-browser (work in progress)
|
||||||
|
* Default MIME handler
|
||||||
|
* Wizard to create new Code::Blocks plugins
|
||||||
|
* To-do list
|
||||||
|
* Extensible wizard based on scripts
|
||||||
|
* Autosave (saves your work in the unfortunate case of a crash)
|
||||||
|
.
|
||||||
|
This package contains the development headers for wxsmith , the codeblocks
|
||||||
|
RAD GUI editing tool.
|
42
debian/copyright
vendored
Normal file
42
debian/copyright
vendored
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
This package was debianized by Jens Lody <jens@codeblocks.org> on
|
||||||
|
Thu, 04 Oct 2007 20:52:21 +0200.
|
||||||
|
|
||||||
|
It was originally debianized by Yiannis Mandravellos <mandrav@codeblocks.org>
|
||||||
|
on Sat, 25 Feb 2006 12:26:36 +0200.
|
||||||
|
|
||||||
|
It was exported from svn://svn.berlios.de/codeblocks/trunk.
|
||||||
|
The only extra thing performed before debianization, was to run bootstrap to
|
||||||
|
generate the autotools build configuration.
|
||||||
|
|
||||||
|
Copyright © 2004 - 2013 by Yiannis Mandravellos <mandrav@codeblocks.org>
|
||||||
|
|
||||||
|
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; This program is distributed in the hope
|
||||||
|
that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License with
|
||||||
|
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-3;
|
||||||
|
if not, write to the Free Software Foundation, Inc., 51 Franklin St,
|
||||||
|
Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
|
Additionally, parts of this package are licensed under the GNU Lesser
|
||||||
|
General Public License.
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation; This program is distributed in the hope that it
|
||||||
|
will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License,
|
||||||
|
Version 3 with the Debian GNU/Linux distribution in file
|
||||||
|
/usr/share/common-licenses/LGPL-3; if not, it is available online
|
||||||
|
at http://www.gnu.org/licenses/lgpl-3.0.html"
|
||||||
|
|
||||||
|
The Debian packaging is © 2007, Jens Lody <debian@jenslody.de> and
|
||||||
|
© 2006, Yiannis Mandravellos <mandrav@codeblocks.org> is licensed under the
|
||||||
|
GPL, see `/usr/share/common-licenses/GPL'.
|
7
debian/docs
vendored
Normal file
7
debian/docs
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
AUTHORS
|
||||||
|
BUGS
|
||||||
|
BUILD
|
||||||
|
COMPILERS
|
||||||
|
NEWS
|
||||||
|
README
|
||||||
|
TODO
|
103
debian/get-orig-source
vendored
Normal file
103
debian/get-orig-source
vendored
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
# This script is used to generate the codeblocks orig tarball for a release build used for this
|
||||||
|
# package.
|
||||||
|
# It is copied from ubuntus codeblocks-package.
|
||||||
|
|
||||||
|
# Some variables to make maintaining this script easier
|
||||||
|
CODEBLOCKS_VERSION="20.03-1"
|
||||||
|
CODEBLOCKS_URL_DIR="https://sourceforge.net/projects/codeblocks/files/Sources/20.03/"
|
||||||
|
CODEBLOCKS_TARBALL="codeblocks_${CODEBLOCKS_VERSION}.tar.gz"
|
||||||
|
CODEBLOCKS_TARBALL_CHECKSUM="4b450f620d9f1875ecf6882ab3c11402"
|
||||||
|
|
||||||
|
USAGE='This script is used to generate the orig tarball used in building \
|
||||||
|
Debian packages for codeblocks-$CODEBLOCKS_VERSION. \
|
||||||
|
Usage: get-orig-source [OPTION] \
|
||||||
|
\
|
||||||
|
-h, --help Display this help message. \
|
||||||
|
--keep-upstream-files Keep downloaded files. \
|
||||||
|
--keep-orig-dir Keep the generated orig directory.
|
||||||
|
'
|
||||||
|
|
||||||
|
while [ "$#" -gt "0" ]
|
||||||
|
do
|
||||||
|
case "$1" in
|
||||||
|
--keep-upstream-files)
|
||||||
|
KEEP_UPSTREAM_FILES=1
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
--keep-orig-dir)
|
||||||
|
KEEP_ORIG_DIR=1
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-h|--help|*)
|
||||||
|
echo >&2 "${USAGE}"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Function to download files. Takes two parameters, the directory name of the
|
||||||
|
# url to use, and the filename of the file.
|
||||||
|
download() {
|
||||||
|
local url="$1/$2"
|
||||||
|
if [ ! -f $2 ] ; then
|
||||||
|
# Download the tarball
|
||||||
|
wget $url
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Function to verify the checksum. Takes two parameters, the file to compute the
|
||||||
|
# checksum for and the checksum it should be.
|
||||||
|
verify_checksum() {
|
||||||
|
local checksum=`md5sum $1 | cut -d ' ' -f 1`
|
||||||
|
|
||||||
|
if [ $2 != $checksum ] ; then
|
||||||
|
echo "Checksum verification failed. Checksum was $checksum
|
||||||
|
Expected checksum $2"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Checksum verified. Checksum is $2"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# The rest is our main functions.
|
||||||
|
#Download the files
|
||||||
|
download $CODEBLOCKS_URL_DIR $CODEBLOCKS_TARBALL
|
||||||
|
|
||||||
|
# Verify the checksums
|
||||||
|
#verify_checksum $CODEBLOCKS_TARBALL $CODEBLOCKS_TARBALL_CHECKSUM
|
||||||
|
|
||||||
|
# Unpack the upstream source
|
||||||
|
if [ ! -d codeblocks-$CODEBLOCKS_VERSION-release -a ! -d codeblocks-$CODEBLOCKS_VERSION ]; then
|
||||||
|
echo "Unpacking upstream source."
|
||||||
|
tar jxf $CODEBLOCKS_TARBALL
|
||||||
|
# mv codeblocks-$CODEBLOCKS_VERSION-release codeblocks-$CODEBLOCKS_VERSION
|
||||||
|
else
|
||||||
|
echo -n "Please remove or move codeblocks-$CODEBLOCKS_VERSION-release and codeblocks-$CODEBLOCKS_VERSION "
|
||||||
|
echo "directory."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Pack into a gzipped tarball
|
||||||
|
if [ ! -f codeblocks-$CODEBLOCKS_VERSION ]; then
|
||||||
|
echo "Removing all prebuilt windows binaries"
|
||||||
|
find codeblocks-$CODEBLOCKS_VERSION -name "*.dll" | xargs rm -f
|
||||||
|
echo "Creating codeblocks_$CODEBLOCKS_VERSION orig tarball."
|
||||||
|
tar --owner=root --group=root -cjf codeblocks_$CODEBLOCKS_VERSION.orig.tar.bz2 codeblocks-$CODEBLOCKS_VERSION
|
||||||
|
else
|
||||||
|
echo "Please remove or move codeblocks_$CODEBLOCKS_VERSION.orig.tar.gz."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Perform cleanup
|
||||||
|
if [ -z "$KEEP_ORIG_DIR" ]; then
|
||||||
|
echo "Removing extracted directory."
|
||||||
|
rm -rf codeblocks-$CODEBLOCKS_VERSION
|
||||||
|
fi
|
||||||
|
if [ -z "$KEEP_UPSTREAM_FILES" ]; then
|
||||||
|
echo "Removing upstream files."
|
||||||
|
rm $CODEBLOCKS_TARBALL
|
||||||
|
fi
|
105
debian/get-orig-source-from-svn
vendored
Normal file
105
debian/get-orig-source-from-svn
vendored
Normal file
|
@ -0,0 +1,105 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
# This script is used to generate the codeblocks orig tarball used for this
|
||||||
|
# package.
|
||||||
|
# It is based on ubuntus get-orig-source script.
|
||||||
|
# Modified by Jens Lody (jens@codeblocks.org) to fetch an orig tarball from codeblocks
|
||||||
|
# subversion archive.
|
||||||
|
|
||||||
|
# Some variables to make maintaining this script easier
|
||||||
|
CODEBLOCKS_BASE_VERSION="20.03svn"
|
||||||
|
CODEBLOCKS_SVN_URL="http://svn.code.sf.net/p/codeblocks/code/trunk"
|
||||||
|
CODEBLOCKS_LOCAL_DIR="../codeblocks-$CODEBLOCKS_BASE_VERSION-download/codeblocks-$CODEBLOCKS_BASE_VERSION"
|
||||||
|
OLD_DIR=`pwd`
|
||||||
|
|
||||||
|
USAGE='This script is used to generate the orig tarball used in building
|
||||||
|
Debian packages from codeblocks svn (HEAD).
|
||||||
|
Usage: get-orig-source-from-svn [OPTION]
|
||||||
|
|
||||||
|
-h, --help Display this help message.
|
||||||
|
--remove-upstream-dir Remove downloaded files.
|
||||||
|
'
|
||||||
|
|
||||||
|
while [ "$#" -gt "0" ]
|
||||||
|
do
|
||||||
|
case "$1" in
|
||||||
|
--remove-upstream-dir)
|
||||||
|
REMOVE_UPSTREAM_DIR=1
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
-h|--help|*)
|
||||||
|
echo >&2 "${USAGE}"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Function to download files. Takes two parameters, the directory name of the
|
||||||
|
# url to use, and the filename of the file.
|
||||||
|
download() {
|
||||||
|
local url="$1"
|
||||||
|
local target="$2"
|
||||||
|
mkdir -p $target
|
||||||
|
svn co $1 $2 --non-interactive
|
||||||
|
}
|
||||||
|
|
||||||
|
# The rest is our main functions.
|
||||||
|
#Download the files
|
||||||
|
echo "Now downloading svn sources"
|
||||||
|
download $CODEBLOCKS_SVN_URL $CODEBLOCKS_LOCAL_DIR
|
||||||
|
|
||||||
|
# cd to source-dir
|
||||||
|
echo "change directory to $CODEBLOCKS_LOCAL_DIR"
|
||||||
|
cd $CODEBLOCKS_LOCAL_DIR
|
||||||
|
|
||||||
|
# update Changelog
|
||||||
|
echo "update Changelog"
|
||||||
|
./updateChangeLog.sh
|
||||||
|
|
||||||
|
# run bootstrap
|
||||||
|
echo "update/create Makefile's and configure-script"
|
||||||
|
./bootstrap
|
||||||
|
|
||||||
|
# fetching actual svn-revision
|
||||||
|
if svn --xml info >/dev/null 2>&1; then
|
||||||
|
SVN_REV=`svn --xml info | tr -d '\r\n' | sed -e 's/.*<commit.*revision="\([0-9]*\)".*<\/commit>.*/\1/'`
|
||||||
|
elif svn --version --quiet >/dev/null 2>&1; then
|
||||||
|
SVN_REV=`svn info | grep "^Revision:" | cut -d" " -f2`
|
||||||
|
else
|
||||||
|
SVN_REV=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$SVN_REV" -eq "0" ]; then
|
||||||
|
echo "Error retrieving svn version, can not continue !"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
CODEBLOCKS_ORIG_TARBALL=codeblocks_$CODEBLOCKS_BASE_VERSION$SVN_REV.orig.tar.gz
|
||||||
|
|
||||||
|
if [ -f ../../$CODEBLOCKS_ORIG_TARBALL ]; then
|
||||||
|
echo "We already have the newest revision in $CODEBLOCKS_ORIG_TARBALL ."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Create source tarball
|
||||||
|
echo "Create sources tarball"
|
||||||
|
#echo "pre-configuring sources"
|
||||||
|
#./configure --enable-keep-dlls=no
|
||||||
|
cd ..
|
||||||
|
echo "creating tarball $CODEBLOCKS_ORIG_TARBALL "
|
||||||
|
tar zcf $CODEBLOCKS_ORIG_TARBALL --exclude=".svn" --exclude="autom4te.cache" --exclude="*.dll" codeblocks-$CODEBLOCKS_BASE_VERSION
|
||||||
|
|
||||||
|
# Move tarball to right directory
|
||||||
|
mv $CODEBLOCKS_ORIG_TARBALL ..
|
||||||
|
|
||||||
|
cd $OLD_DIR
|
||||||
|
./update_revision.sh
|
||||||
|
|
||||||
|
# Perform cleanup
|
||||||
|
if [ ! -z "$REMOVE_UPSTREAM_DIR" ]; then
|
||||||
|
echo "Removing upstream files."
|
||||||
|
rm -rf $CODEBLOCKS_LOCAL_DIR
|
||||||
|
fi
|
1
debian/libcodeblocks0.install
vendored
Normal file
1
debian/libcodeblocks0.install
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
usr/lib/libcodeblocks.so.*
|
1
debian/libwxsmithlib0.install
vendored
Normal file
1
debian/libwxsmithlib0.install
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
usr/lib/libwxsmithlib.so.*
|
1
debian/lintian/codeblocks
vendored
Normal file
1
debian/lintian/codeblocks
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
codeblocks binary: binary-without-manpage {usr/bin/cb_console_runner,usr/bin/cb_share_config,usr/bin/codeblocks}
|
5
debian/lintian/codeblocks-common
vendored
Normal file
5
debian/lintian/codeblocks-common
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
codeblocks-common binary: desktop-command-not-in-package /usr/share/applications/codeblocks.desktop codeblocks
|
||||||
|
# This lintian override is here because lexer_bash.sample is a test for the
|
||||||
|
# bash lexer in the IDE. It is not susposed to be run as it only serves as a
|
||||||
|
# test file, and not an actual program.
|
||||||
|
codeblocks-common binary: script-not-executable ./usr/share/codeblocks/lexers/lexer_bash.sample
|
1
debian/lintian/codeblocks-contrib
vendored
Normal file
1
debian/lintian/codeblocks-contrib
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
codeblocks-contrib binary: binary-without-manpage usr/bin/codesnippets
|
24
debian/rules
vendored
Normal file
24
debian/rules
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
include /usr/share/cdbs/1/class/autotools.mk
|
||||||
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
|
|
||||||
|
DEB_BUILD_PARALLEL= yes
|
||||||
|
|
||||||
|
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||||
|
DEB_PARALLEL_JOBS ?= $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||||
|
endif
|
||||||
|
|
||||||
|
DEB_PARALLEL_JOBS ?= $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
|
||||||
|
|
||||||
|
ifneq (,$(filter $(DEB_PARALLEL_JOBS),-1 0))
|
||||||
|
DEB_PARALLEL_JOBS:=1
|
||||||
|
endif
|
||||||
|
|
||||||
|
DEB_CONFIGURE_EXTRA_FLAGS=--with-contrib-plugins=all --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
|
||||||
|
|
||||||
|
DEB_INSTALL_CHANGELOGS_ALL= ChangeLog
|
||||||
|
DEB_DBG_PACKAGE_libcodeblocks0= codeblocks-dbg
|
||||||
|
DEB_DBG_PACKAGE_libwxsmithlib0= codeblocks-contrib-dbg
|
||||||
|
|
||||||
|
DEB_DH_MAKESHLIBS_ARGS_codeblocks-contrib= -Ncodeblocks-contrib
|
||||||
|
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (native)
|
2
debian/wxsmith-dev.install
vendored
Normal file
2
debian/wxsmith-dev.install
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
usr/lib/libwxsmithlib.so
|
||||||
|
usr/lib/pkgconfig/wxsmith.pc
|
1
debian/wxsmith-headers.install
vendored
Normal file
1
debian/wxsmith-headers.install
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
usr/include/wxsmith/
|
791
depcomp
Normal file
791
depcomp
Normal file
|
@ -0,0 +1,791 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# depcomp - compile a program generating dependencies as side-effects
|
||||||
|
|
||||||
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
|
# Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# 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, 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
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# 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, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
'')
|
||||||
|
echo "$0: No command. Try '$0 --help' for more information." 1>&2
|
||||||
|
exit 1;
|
||||||
|
;;
|
||||||
|
-h | --h*)
|
||||||
|
cat <<\EOF
|
||||||
|
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
|
||||||
|
|
||||||
|
Run PROGRAMS ARGS to compile a file, generating dependencies
|
||||||
|
as side-effects.
|
||||||
|
|
||||||
|
Environment variables:
|
||||||
|
depmode Dependency tracking mode.
|
||||||
|
source Source file read by 'PROGRAMS ARGS'.
|
||||||
|
object Object file output by 'PROGRAMS ARGS'.
|
||||||
|
DEPDIR directory where to store dependencies.
|
||||||
|
depfile Dependency file to output.
|
||||||
|
tmpdepfile Temporary file to use when outputting dependencies.
|
||||||
|
libtool Whether libtool is used (yes/no).
|
||||||
|
|
||||||
|
Report bugs to <bug-automake@gnu.org>.
|
||||||
|
EOF
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
-v | --v*)
|
||||||
|
echo "depcomp $scriptversion"
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Get the directory component of the given path, and save it in the
|
||||||
|
# global variables '$dir'. Note that this directory component will
|
||||||
|
# be either empty or ending with a '/' character. This is deliberate.
|
||||||
|
set_dir_from ()
|
||||||
|
{
|
||||||
|
case $1 in
|
||||||
|
*/*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
|
||||||
|
*) dir=;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
# Get the suffix-stripped basename of the given path, and save it the
|
||||||
|
# global variable '$base'.
|
||||||
|
set_base_from ()
|
||||||
|
{
|
||||||
|
base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
|
||||||
|
}
|
||||||
|
|
||||||
|
# If no dependency file was actually created by the compiler invocation,
|
||||||
|
# we still have to create a dummy depfile, to avoid errors with the
|
||||||
|
# Makefile "include basename.Plo" scheme.
|
||||||
|
make_dummy_depfile ()
|
||||||
|
{
|
||||||
|
echo "#dummy" > "$depfile"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Factor out some common post-processing of the generated depfile.
|
||||||
|
# Requires the auxiliary global variable '$tmpdepfile' to be set.
|
||||||
|
aix_post_process_depfile ()
|
||||||
|
{
|
||||||
|
# If the compiler actually managed to produce a dependency file,
|
||||||
|
# post-process it.
|
||||||
|
if test -f "$tmpdepfile"; then
|
||||||
|
# Each line is of the form 'foo.o: dependency.h'.
|
||||||
|
# Do two passes, one to just change these to
|
||||||
|
# $object: dependency.h
|
||||||
|
# and one to simply output
|
||||||
|
# dependency.h:
|
||||||
|
# which is needed to avoid the deleted-header problem.
|
||||||
|
{ sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
|
||||||
|
sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
|
||||||
|
} > "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
else
|
||||||
|
make_dummy_depfile
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# A tabulation character.
|
||||||
|
tab=' '
|
||||||
|
# A newline character.
|
||||||
|
nl='
|
||||||
|
'
|
||||||
|
# Character ranges might be problematic outside the C locale.
|
||||||
|
# These definitions help.
|
||||||
|
upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
|
lower=abcdefghijklmnopqrstuvwxyz
|
||||||
|
digits=0123456789
|
||||||
|
alpha=${upper}${lower}
|
||||||
|
|
||||||
|
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||||
|
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
|
||||||
|
depfile=${depfile-`echo "$object" |
|
||||||
|
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
|
||||||
|
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||||
|
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
|
||||||
|
# Avoid interferences from the environment.
|
||||||
|
gccflag= dashmflag=
|
||||||
|
|
||||||
|
# Some modes work just like other modes, but use different flags. We
|
||||||
|
# parameterize here, but still list the modes in the big case below,
|
||||||
|
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||||
|
# here, because this file can only contain one case statement.
|
||||||
|
if test "$depmode" = hp; then
|
||||||
|
# HP compiler uses -M and no extra arg.
|
||||||
|
gccflag=-M
|
||||||
|
depmode=gcc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$depmode" = dashXmstdout; then
|
||||||
|
# This is just like dashmstdout with a different argument.
|
||||||
|
dashmflag=-xM
|
||||||
|
depmode=dashmstdout
|
||||||
|
fi
|
||||||
|
|
||||||
|
cygpath_u="cygpath -u -f -"
|
||||||
|
if test "$depmode" = msvcmsys; then
|
||||||
|
# This is just like msvisualcpp but w/o cygpath translation.
|
||||||
|
# Just convert the backslash-escaped backslashes to single forward
|
||||||
|
# slashes to satisfy depend.m4
|
||||||
|
cygpath_u='sed s,\\\\,/,g'
|
||||||
|
depmode=msvisualcpp
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$depmode" = msvc7msys; then
|
||||||
|
# This is just like msvc7 but w/o cygpath translation.
|
||||||
|
# Just convert the backslash-escaped backslashes to single forward
|
||||||
|
# slashes to satisfy depend.m4
|
||||||
|
cygpath_u='sed s,\\\\,/,g'
|
||||||
|
depmode=msvc7
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$depmode" = xlc; then
|
||||||
|
# IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
|
||||||
|
gccflag=-qmakedep=gcc,-MF
|
||||||
|
depmode=gcc
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$depmode" in
|
||||||
|
gcc3)
|
||||||
|
## gcc 3 implements dependency tracking that does exactly what
|
||||||
|
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||||
|
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||||
|
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
||||||
|
## the command line argument order; so add the flags where they
|
||||||
|
## appear in depend2.am. Note that the slowdown incurred here
|
||||||
|
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $arg in
|
||||||
|
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
||||||
|
*) set fnord "$@" "$arg" ;;
|
||||||
|
esac
|
||||||
|
shift # fnord
|
||||||
|
shift # $arg
|
||||||
|
done
|
||||||
|
"$@"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
mv "$tmpdepfile" "$depfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
gcc)
|
||||||
|
## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
|
||||||
|
## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
|
||||||
|
## (see the conditional assignment to $gccflag above).
|
||||||
|
## There are various ways to get dependency output from gcc. Here's
|
||||||
|
## why we pick this rather obscure method:
|
||||||
|
## - Don't want to use -MD because we'd like the dependencies to end
|
||||||
|
## up in a subdir. Having to rename by hand is ugly.
|
||||||
|
## (We might end up doing this anyway to support other compilers.)
|
||||||
|
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||||
|
## -MM, not -M (despite what the docs say). Also, it might not be
|
||||||
|
## supported by the other compilers which use the 'gcc' depmode.
|
||||||
|
## - Using -M directly means running the compiler twice (even worse
|
||||||
|
## than renaming).
|
||||||
|
if test -z "$gccflag"; then
|
||||||
|
gccflag=-MD,
|
||||||
|
fi
|
||||||
|
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
# The second -e expression handles DOS-style file names with drive
|
||||||
|
# letters.
|
||||||
|
sed -e 's/^[^:]*: / /' \
|
||||||
|
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||||
|
## This next piece of magic avoids the "deleted header file" problem.
|
||||||
|
## The problem is that when a header file which appears in a .P file
|
||||||
|
## is deleted, the dependency causes make to die (because there is
|
||||||
|
## typically no way to rebuild the header). We avoid this by adding
|
||||||
|
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||||
|
## this for us directly.
|
||||||
|
## Some versions of gcc put a space before the ':'. On the theory
|
||||||
|
## that the space means something, we add a space to the output as
|
||||||
|
## well. hp depmode also adds that space, but also prefixes the VPATH
|
||||||
|
## to the object. Take care to not repeat it in the output.
|
||||||
|
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
|
## correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
hp)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
sgi)
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||||
|
else
|
||||||
|
"$@" -MDupdate "$tmpdepfile"
|
||||||
|
fi
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
|
||||||
|
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
# Clip off the initial element (the dependent). Don't try to be
|
||||||
|
# clever and replace this with sed code, as IRIX sed won't handle
|
||||||
|
# lines with more than a fixed number of characters (4096 in
|
||||||
|
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||||
|
# the IRIX cc adds comments like '#:fec' to the end of the
|
||||||
|
# dependency line.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
|
||||||
|
| tr "$nl" ' ' >> "$depfile"
|
||||||
|
echo >> "$depfile"
|
||||||
|
# The second pass generates a dummy entry for each header file.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||||
|
>> "$depfile"
|
||||||
|
else
|
||||||
|
make_dummy_depfile
|
||||||
|
fi
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
xlc)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
aix)
|
||||||
|
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||||
|
# in a .u file. In older versions, this file always lives in the
|
||||||
|
# current directory. Also, the AIX compiler puts '$object:' at the
|
||||||
|
# start of each line; $object doesn't have directory information.
|
||||||
|
# Version 6 uses the directory in both cases.
|
||||||
|
set_dir_from "$object"
|
||||||
|
set_base_from "$object"
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
tmpdepfile1=$dir$base.u
|
||||||
|
tmpdepfile2=$base.u
|
||||||
|
tmpdepfile3=$dir.libs/$base.u
|
||||||
|
"$@" -Wc,-M
|
||||||
|
else
|
||||||
|
tmpdepfile1=$dir$base.u
|
||||||
|
tmpdepfile2=$dir$base.u
|
||||||
|
tmpdepfile3=$dir$base.u
|
||||||
|
"$@" -M
|
||||||
|
fi
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
|
||||||
|
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
do
|
||||||
|
test -f "$tmpdepfile" && break
|
||||||
|
done
|
||||||
|
aix_post_process_depfile
|
||||||
|
;;
|
||||||
|
|
||||||
|
tcc)
|
||||||
|
# tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
|
||||||
|
# FIXME: That version still under development at the moment of writing.
|
||||||
|
# Make that this statement remains true also for stable, released
|
||||||
|
# versions.
|
||||||
|
# It will wrap lines (doesn't matter whether long or short) with a
|
||||||
|
# trailing '\', as in:
|
||||||
|
#
|
||||||
|
# foo.o : \
|
||||||
|
# foo.c \
|
||||||
|
# foo.h \
|
||||||
|
#
|
||||||
|
# It will put a trailing '\' even on the last line, and will use leading
|
||||||
|
# spaces rather than leading tabs (at least since its commit 0394caf7
|
||||||
|
# "Emit spaces for -MD").
|
||||||
|
"$@" -MD -MF "$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
# Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
|
||||||
|
# We have to change lines of the first kind to '$object: \'.
|
||||||
|
sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
|
||||||
|
# And for each line of the second kind, we have to emit a 'dep.h:'
|
||||||
|
# dummy dependency, to avoid the deleted-header problem.
|
||||||
|
sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
## The order of this option in the case statement is important, since the
|
||||||
|
## shell code in configure will try each of these formats in the order
|
||||||
|
## listed in this file. A plain '-MD' option would be understood by many
|
||||||
|
## compilers, so we must ensure this comes after the gcc and icc options.
|
||||||
|
pgcc)
|
||||||
|
# Portland's C compiler understands '-MD'.
|
||||||
|
# Will always output deps to 'file.d' where file is the root name of the
|
||||||
|
# source file under compilation, even if file resides in a subdirectory.
|
||||||
|
# The object file name does not affect the name of the '.d' file.
|
||||||
|
# pgcc 10.2 will output
|
||||||
|
# foo.o: sub/foo.c sub/foo.h
|
||||||
|
# and will wrap long lines using '\' :
|
||||||
|
# foo.o: sub/foo.c ... \
|
||||||
|
# sub/foo.h ... \
|
||||||
|
# ...
|
||||||
|
set_dir_from "$object"
|
||||||
|
# Use the source, not the object, to determine the base name, since
|
||||||
|
# that's sadly what pgcc will do too.
|
||||||
|
set_base_from "$source"
|
||||||
|
tmpdepfile=$base.d
|
||||||
|
|
||||||
|
# For projects that build the same source file twice into different object
|
||||||
|
# files, the pgcc approach of using the *source* file root name can cause
|
||||||
|
# problems in parallel builds. Use a locking strategy to avoid stomping on
|
||||||
|
# the same $tmpdepfile.
|
||||||
|
lockdir=$base.d-lock
|
||||||
|
trap "
|
||||||
|
echo '$0: caught signal, cleaning up...' >&2
|
||||||
|
rmdir '$lockdir'
|
||||||
|
exit 1
|
||||||
|
" 1 2 13 15
|
||||||
|
numtries=100
|
||||||
|
i=$numtries
|
||||||
|
while test $i -gt 0; do
|
||||||
|
# mkdir is a portable test-and-set.
|
||||||
|
if mkdir "$lockdir" 2>/dev/null; then
|
||||||
|
# This process acquired the lock.
|
||||||
|
"$@" -MD
|
||||||
|
stat=$?
|
||||||
|
# Release the lock.
|
||||||
|
rmdir "$lockdir"
|
||||||
|
break
|
||||||
|
else
|
||||||
|
# If the lock is being held by a different process, wait
|
||||||
|
# until the winning process is done or we timeout.
|
||||||
|
while test -d "$lockdir" && test $i -gt 0; do
|
||||||
|
sleep 1
|
||||||
|
i=`expr $i - 1`
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
i=`expr $i - 1`
|
||||||
|
done
|
||||||
|
trap - 1 2 13 15
|
||||||
|
if test $i -le 0; then
|
||||||
|
echo "$0: failed to acquire lock after $numtries attempts" >&2
|
||||||
|
echo "$0: check lockdir '$lockdir'" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
# Each line is of the form `foo.o: dependent.h',
|
||||||
|
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
||||||
|
# Do two passes, one to just change these to
|
||||||
|
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||||
|
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
||||||
|
# Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
|
# correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
hp2)
|
||||||
|
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
||||||
|
# compilers, which have integrated preprocessors. The correct option
|
||||||
|
# to use with these is +Maked; it writes dependencies to a file named
|
||||||
|
# 'foo.d', which lands next to the object file, wherever that
|
||||||
|
# happens to be.
|
||||||
|
# Much of this is similar to the tru64 case; see comments there.
|
||||||
|
set_dir_from "$object"
|
||||||
|
set_base_from "$object"
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
tmpdepfile1=$dir$base.d
|
||||||
|
tmpdepfile2=$dir.libs/$base.d
|
||||||
|
"$@" -Wc,+Maked
|
||||||
|
else
|
||||||
|
tmpdepfile1=$dir$base.d
|
||||||
|
tmpdepfile2=$dir$base.d
|
||||||
|
"$@" +Maked
|
||||||
|
fi
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
|
||||||
|
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
||||||
|
do
|
||||||
|
test -f "$tmpdepfile" && break
|
||||||
|
done
|
||||||
|
if test -f "$tmpdepfile"; then
|
||||||
|
sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
|
||||||
|
# Add 'dependent.h:' lines.
|
||||||
|
sed -ne '2,${
|
||||||
|
s/^ *//
|
||||||
|
s/ \\*$//
|
||||||
|
s/$/:/
|
||||||
|
p
|
||||||
|
}' "$tmpdepfile" >> "$depfile"
|
||||||
|
else
|
||||||
|
make_dummy_depfile
|
||||||
|
fi
|
||||||
|
rm -f "$tmpdepfile" "$tmpdepfile2"
|
||||||
|
;;
|
||||||
|
|
||||||
|
tru64)
|
||||||
|
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||||
|
# effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
|
||||||
|
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||||
|
# dependencies in 'foo.d' instead, so we check for that too.
|
||||||
|
# Subdirectories are respected.
|
||||||
|
set_dir_from "$object"
|
||||||
|
set_base_from "$object"
|
||||||
|
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
# Libtool generates 2 separate objects for the 2 libraries. These
|
||||||
|
# two compilations output dependencies in $dir.libs/$base.o.d and
|
||||||
|
# in $dir$base.o.d. We have to check for both files, because
|
||||||
|
# one of the two compilations can be disabled. We should prefer
|
||||||
|
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
||||||
|
# automatically cleaned when .libs/ is deleted, while ignoring
|
||||||
|
# the former would cause a distcleancheck panic.
|
||||||
|
tmpdepfile1=$dir$base.o.d # libtool 1.5
|
||||||
|
tmpdepfile2=$dir.libs/$base.o.d # Likewise.
|
||||||
|
tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
|
||||||
|
"$@" -Wc,-MD
|
||||||
|
else
|
||||||
|
tmpdepfile1=$dir$base.d
|
||||||
|
tmpdepfile2=$dir$base.d
|
||||||
|
tmpdepfile3=$dir$base.d
|
||||||
|
"$@" -MD
|
||||||
|
fi
|
||||||
|
|
||||||
|
stat=$?
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
|
||||||
|
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||||
|
do
|
||||||
|
test -f "$tmpdepfile" && break
|
||||||
|
done
|
||||||
|
# Same post-processing that is required for AIX mode.
|
||||||
|
aix_post_process_depfile
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvc7)
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
showIncludes=-Wc,-showIncludes
|
||||||
|
else
|
||||||
|
showIncludes=-showIncludes
|
||||||
|
fi
|
||||||
|
"$@" $showIncludes > "$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
grep -v '^Note: including file: ' "$tmpdepfile"
|
||||||
|
if test $stat -ne 0; then
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
# The first sed program below extracts the file names and escapes
|
||||||
|
# backslashes for cygpath. The second sed program outputs the file
|
||||||
|
# name when reading, but also accumulates all include files in the
|
||||||
|
# hold buffer in order to output them again at the end. This only
|
||||||
|
# works with sed implementations that can handle large buffers.
|
||||||
|
sed < "$tmpdepfile" -n '
|
||||||
|
/^Note: including file: *\(.*\)/ {
|
||||||
|
s//\1/
|
||||||
|
s/\\/\\\\/g
|
||||||
|
p
|
||||||
|
}' | $cygpath_u | sort -u | sed -n '
|
||||||
|
s/ /\\ /g
|
||||||
|
s/\(.*\)/'"$tab"'\1 \\/p
|
||||||
|
s/.\(.*\) \\/\1:/
|
||||||
|
H
|
||||||
|
$ {
|
||||||
|
s/.*/'"$tab"'/
|
||||||
|
G
|
||||||
|
p
|
||||||
|
}' >> "$depfile"
|
||||||
|
echo >> "$depfile" # make sure the fragment doesn't end with a backslash
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvc7msys)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
#nosideeffect)
|
||||||
|
# This comment above is used by automake to tell side-effect
|
||||||
|
# dependency tracking mechanisms from slower ones.
|
||||||
|
|
||||||
|
dashmstdout)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout, regardless of -o.
|
||||||
|
"$@" || exit $?
|
||||||
|
|
||||||
|
# Remove the call to Libtool.
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove '-o $object'.
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $arg in
|
||||||
|
-o)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
$object)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift # fnord
|
||||||
|
shift # $arg
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
test -z "$dashmflag" && dashmflag=-M
|
||||||
|
# Require at least two characters before searching for ':'
|
||||||
|
# in the target name. This is to cope with DOS-style filenames:
|
||||||
|
# a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
|
||||||
|
"$@" $dashmflag |
|
||||||
|
sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
cat < "$tmpdepfile" > "$depfile"
|
||||||
|
# Some versions of the HPUX 10.20 sed can't process this sed invocation
|
||||||
|
# correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
tr ' ' "$nl" < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
dashXmstdout)
|
||||||
|
# This case only exists to satisfy depend.m4. It is never actually
|
||||||
|
# run, as this mode is specially recognized in the preamble.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
makedepend)
|
||||||
|
"$@" || exit $?
|
||||||
|
# Remove any Libtool call
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
# X makedepend
|
||||||
|
shift
|
||||||
|
cleared=no eat=no
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $cleared in
|
||||||
|
no)
|
||||||
|
set ""; shift
|
||||||
|
cleared=yes ;;
|
||||||
|
esac
|
||||||
|
if test $eat = yes; then
|
||||||
|
eat=no
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
case "$arg" in
|
||||||
|
-D*|-I*)
|
||||||
|
set fnord "$@" "$arg"; shift ;;
|
||||||
|
# Strip any option that makedepend may not understand. Remove
|
||||||
|
# the object too, otherwise makedepend will parse it as a source file.
|
||||||
|
-arch)
|
||||||
|
eat=yes ;;
|
||||||
|
-*|$object)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"; shift ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
obj_suffix=`echo "$object" | sed 's/^.*\././'`
|
||||||
|
touch "$tmpdepfile"
|
||||||
|
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||||
|
rm -f "$depfile"
|
||||||
|
# makedepend may prepend the VPATH from the source file name to the object.
|
||||||
|
# No need to regex-escape $object, excess matching of '.' is harmless.
|
||||||
|
sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
|
||||||
|
# Some versions of the HPUX 10.20 sed can't process the last invocation
|
||||||
|
# correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
sed '1,2d' "$tmpdepfile" \
|
||||||
|
| tr ' ' "$nl" \
|
||||||
|
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
|
||||||
|
| sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||||
|
;;
|
||||||
|
|
||||||
|
cpp)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout.
|
||||||
|
"$@" || exit $?
|
||||||
|
|
||||||
|
# Remove the call to Libtool.
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove '-o $object'.
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $arg in
|
||||||
|
-o)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
$object)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift # fnord
|
||||||
|
shift # $arg
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
"$@" -E \
|
||||||
|
| sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||||
|
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||||
|
| sed '$ s: \\$::' > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
cat < "$tmpdepfile" >> "$depfile"
|
||||||
|
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvisualcpp)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout.
|
||||||
|
"$@" || exit $?
|
||||||
|
|
||||||
|
# Remove the call to Libtool.
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test "X$1" != 'X--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case "$arg" in
|
||||||
|
-o)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
$object)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||||
|
set fnord "$@"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
"$@" -E 2>/dev/null |
|
||||||
|
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
|
||||||
|
echo "$tab" >> "$depfile"
|
||||||
|
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvcmsys)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
none)
|
||||||
|
exec "$@"
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo "Unknown depmode $depmode" 1>&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: shell-script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# eval: (add-hook 'before-save-hook 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC0"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
518
install-sh
Normal file
518
install-sh
Normal file
|
@ -0,0 +1,518 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# install - install a program, script, or datafile
|
||||||
|
|
||||||
|
scriptversion=2018-03-11.20; # UTC
|
||||||
|
|
||||||
|
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||||
|
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||||
|
# following copyright and license.
|
||||||
|
#
|
||||||
|
# Copyright (C) 1994 X Consortium
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to
|
||||||
|
# deal in the Software without restriction, including without limitation the
|
||||||
|
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||||
|
# sell copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in
|
||||||
|
# all copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||||
|
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||||
|
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
#
|
||||||
|
# Except as contained in this notice, the name of the X Consortium shall not
|
||||||
|
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||||
|
# ings in this Software without prior written authorization from the X Consor-
|
||||||
|
# tium.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# FSF changes to this file are in the public domain.
|
||||||
|
#
|
||||||
|
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||||
|
# 'make' implicit rules from creating a file called install from it
|
||||||
|
# when there is no Makefile.
|
||||||
|
#
|
||||||
|
# This script is compatible with the BSD install script, but was written
|
||||||
|
# from scratch.
|
||||||
|
|
||||||
|
tab=' '
|
||||||
|
nl='
|
||||||
|
'
|
||||||
|
IFS=" $tab$nl"
|
||||||
|
|
||||||
|
# Set DOITPROG to "echo" to test this script.
|
||||||
|
|
||||||
|
doit=${DOITPROG-}
|
||||||
|
doit_exec=${doit:-exec}
|
||||||
|
|
||||||
|
# Put in absolute file names if you don't have them in your path;
|
||||||
|
# or use environment vars.
|
||||||
|
|
||||||
|
chgrpprog=${CHGRPPROG-chgrp}
|
||||||
|
chmodprog=${CHMODPROG-chmod}
|
||||||
|
chownprog=${CHOWNPROG-chown}
|
||||||
|
cmpprog=${CMPPROG-cmp}
|
||||||
|
cpprog=${CPPROG-cp}
|
||||||
|
mkdirprog=${MKDIRPROG-mkdir}
|
||||||
|
mvprog=${MVPROG-mv}
|
||||||
|
rmprog=${RMPROG-rm}
|
||||||
|
stripprog=${STRIPPROG-strip}
|
||||||
|
|
||||||
|
posix_mkdir=
|
||||||
|
|
||||||
|
# Desired mode of installed file.
|
||||||
|
mode=0755
|
||||||
|
|
||||||
|
chgrpcmd=
|
||||||
|
chmodcmd=$chmodprog
|
||||||
|
chowncmd=
|
||||||
|
mvcmd=$mvprog
|
||||||
|
rmcmd="$rmprog -f"
|
||||||
|
stripcmd=
|
||||||
|
|
||||||
|
src=
|
||||||
|
dst=
|
||||||
|
dir_arg=
|
||||||
|
dst_arg=
|
||||||
|
|
||||||
|
copy_on_change=false
|
||||||
|
is_target_a_directory=possibly
|
||||||
|
|
||||||
|
usage="\
|
||||||
|
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||||
|
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||||
|
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||||
|
or: $0 [OPTION]... -d DIRECTORIES...
|
||||||
|
|
||||||
|
In the 1st form, copy SRCFILE to DSTFILE.
|
||||||
|
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||||
|
In the 4th, create DIRECTORIES.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
--help display this help and exit.
|
||||||
|
--version display version info and exit.
|
||||||
|
|
||||||
|
-c (ignored)
|
||||||
|
-C install only if different (preserve the last data modification time)
|
||||||
|
-d create directories instead of installing files.
|
||||||
|
-g GROUP $chgrpprog installed files to GROUP.
|
||||||
|
-m MODE $chmodprog installed files to MODE.
|
||||||
|
-o USER $chownprog installed files to USER.
|
||||||
|
-s $stripprog installed files.
|
||||||
|
-t DIRECTORY install into DIRECTORY.
|
||||||
|
-T report an error if DSTFILE is a directory.
|
||||||
|
|
||||||
|
Environment variables override the default commands:
|
||||||
|
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||||
|
RMPROG STRIPPROG
|
||||||
|
"
|
||||||
|
|
||||||
|
while test $# -ne 0; do
|
||||||
|
case $1 in
|
||||||
|
-c) ;;
|
||||||
|
|
||||||
|
-C) copy_on_change=true;;
|
||||||
|
|
||||||
|
-d) dir_arg=true;;
|
||||||
|
|
||||||
|
-g) chgrpcmd="$chgrpprog $2"
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
--help) echo "$usage"; exit $?;;
|
||||||
|
|
||||||
|
-m) mode=$2
|
||||||
|
case $mode in
|
||||||
|
*' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
|
||||||
|
echo "$0: invalid mode: $mode" >&2
|
||||||
|
exit 1;;
|
||||||
|
esac
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
-o) chowncmd="$chownprog $2"
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
-s) stripcmd=$stripprog;;
|
||||||
|
|
||||||
|
-t)
|
||||||
|
is_target_a_directory=always
|
||||||
|
dst_arg=$2
|
||||||
|
# Protect names problematic for 'test' and other utilities.
|
||||||
|
case $dst_arg in
|
||||||
|
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||||
|
esac
|
||||||
|
shift;;
|
||||||
|
|
||||||
|
-T) is_target_a_directory=never;;
|
||||||
|
|
||||||
|
--version) echo "$0 $scriptversion"; exit $?;;
|
||||||
|
|
||||||
|
--) shift
|
||||||
|
break;;
|
||||||
|
|
||||||
|
-*) echo "$0: invalid option: $1" >&2
|
||||||
|
exit 1;;
|
||||||
|
|
||||||
|
*) break;;
|
||||||
|
esac
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
# We allow the use of options -d and -T together, by making -d
|
||||||
|
# take the precedence; this is for compatibility with GNU install.
|
||||||
|
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
if test -n "$dst_arg"; then
|
||||||
|
echo "$0: target directory not allowed when installing a directory." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
||||||
|
# When -d is used, all remaining arguments are directories to create.
|
||||||
|
# When -t is used, the destination is already specified.
|
||||||
|
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
if test -n "$dst_arg"; then
|
||||||
|
# $@ is not empty: it contains at least $arg.
|
||||||
|
set fnord "$@" "$dst_arg"
|
||||||
|
shift # fnord
|
||||||
|
fi
|
||||||
|
shift # arg
|
||||||
|
dst_arg=$arg
|
||||||
|
# Protect names problematic for 'test' and other utilities.
|
||||||
|
case $dst_arg in
|
||||||
|
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $# -eq 0; then
|
||||||
|
if test -z "$dir_arg"; then
|
||||||
|
echo "$0: no input file specified." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
# It's OK to call 'install-sh -d' without argument.
|
||||||
|
# This can happen when creating conditional directories.
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -z "$dir_arg"; then
|
||||||
|
if test $# -gt 1 || test "$is_target_a_directory" = always; then
|
||||||
|
if test ! -d "$dst_arg"; then
|
||||||
|
echo "$0: $dst_arg: Is not a directory." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -z "$dir_arg"; then
|
||||||
|
do_exit='(exit $ret); exit $ret'
|
||||||
|
trap "ret=129; $do_exit" 1
|
||||||
|
trap "ret=130; $do_exit" 2
|
||||||
|
trap "ret=141; $do_exit" 13
|
||||||
|
trap "ret=143; $do_exit" 15
|
||||||
|
|
||||||
|
# Set umask so as not to create temps with too-generous modes.
|
||||||
|
# However, 'strip' requires both read and write access to temps.
|
||||||
|
case $mode in
|
||||||
|
# Optimize common cases.
|
||||||
|
*644) cp_umask=133;;
|
||||||
|
*755) cp_umask=22;;
|
||||||
|
|
||||||
|
*[0-7])
|
||||||
|
if test -z "$stripcmd"; then
|
||||||
|
u_plus_rw=
|
||||||
|
else
|
||||||
|
u_plus_rw='% 200'
|
||||||
|
fi
|
||||||
|
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||||
|
*)
|
||||||
|
if test -z "$stripcmd"; then
|
||||||
|
u_plus_rw=
|
||||||
|
else
|
||||||
|
u_plus_rw=,u+rw
|
||||||
|
fi
|
||||||
|
cp_umask=$mode$u_plus_rw;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
for src
|
||||||
|
do
|
||||||
|
# Protect names problematic for 'test' and other utilities.
|
||||||
|
case $src in
|
||||||
|
-* | [=\(\)!]) src=./$src;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
dst=$src
|
||||||
|
dstdir=$dst
|
||||||
|
test -d "$dstdir"
|
||||||
|
dstdir_status=$?
|
||||||
|
else
|
||||||
|
|
||||||
|
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||||
|
# might cause directories to be created, which would be especially bad
|
||||||
|
# if $src (and thus $dsttmp) contains '*'.
|
||||||
|
if test ! -f "$src" && test ! -d "$src"; then
|
||||||
|
echo "$0: $src does not exist." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -z "$dst_arg"; then
|
||||||
|
echo "$0: no destination specified." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
dst=$dst_arg
|
||||||
|
|
||||||
|
# If destination is a directory, append the input filename.
|
||||||
|
if test -d "$dst"; then
|
||||||
|
if test "$is_target_a_directory" = never; then
|
||||||
|
echo "$0: $dst_arg: Is a directory" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
dstdir=$dst
|
||||||
|
dstbase=`basename "$src"`
|
||||||
|
case $dst in
|
||||||
|
*/) dst=$dst$dstbase;;
|
||||||
|
*) dst=$dst/$dstbase;;
|
||||||
|
esac
|
||||||
|
dstdir_status=0
|
||||||
|
else
|
||||||
|
dstdir=`dirname "$dst"`
|
||||||
|
test -d "$dstdir"
|
||||||
|
dstdir_status=$?
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $dstdir in
|
||||||
|
*/) dstdirslash=$dstdir;;
|
||||||
|
*) dstdirslash=$dstdir/;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
obsolete_mkdir_used=false
|
||||||
|
|
||||||
|
if test $dstdir_status != 0; then
|
||||||
|
case $posix_mkdir in
|
||||||
|
'')
|
||||||
|
# Create intermediate dirs using mode 755 as modified by the umask.
|
||||||
|
# This is like FreeBSD 'install' as of 1997-10-28.
|
||||||
|
umask=`umask`
|
||||||
|
case $stripcmd.$umask in
|
||||||
|
# Optimize common cases.
|
||||||
|
*[2367][2367]) mkdir_umask=$umask;;
|
||||||
|
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
||||||
|
|
||||||
|
*[0-7])
|
||||||
|
mkdir_umask=`expr $umask + 22 \
|
||||||
|
- $umask % 100 % 40 + $umask % 20 \
|
||||||
|
- $umask % 10 % 4 + $umask % 2
|
||||||
|
`;;
|
||||||
|
*) mkdir_umask=$umask,go-w;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# With -d, create the new directory with the user-specified mode.
|
||||||
|
# Otherwise, rely on $mkdir_umask.
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
mkdir_mode=-m$mode
|
||||||
|
else
|
||||||
|
mkdir_mode=
|
||||||
|
fi
|
||||||
|
|
||||||
|
posix_mkdir=false
|
||||||
|
case $umask in
|
||||||
|
*[123567][0-7][0-7])
|
||||||
|
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
||||||
|
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# Note that $RANDOM variable is not portable (e.g. dash); Use it
|
||||||
|
# here however when possible just to lower collision chance.
|
||||||
|
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||||
|
|
||||||
|
trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||||
|
|
||||||
|
# Because "mkdir -p" follows existing symlinks and we likely work
|
||||||
|
# directly in world-writeable /tmp, make sure that the '$tmpdir'
|
||||||
|
# directory is successfully created first before we actually test
|
||||||
|
# 'mkdir -p' feature.
|
||||||
|
if (umask $mkdir_umask &&
|
||||||
|
$mkdirprog $mkdir_mode "$tmpdir" &&
|
||||||
|
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
if test -z "$dir_arg" || {
|
||||||
|
# Check for POSIX incompatibilities with -m.
|
||||||
|
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||||
|
# other-writable bit of parent directory when it shouldn't.
|
||||||
|
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||||
|
test_tmpdir="$tmpdir/a"
|
||||||
|
ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
|
||||||
|
case $ls_ld_tmpdir in
|
||||||
|
d????-?r-*) different_mode=700;;
|
||||||
|
d????-?--*) different_mode=755;;
|
||||||
|
*) false;;
|
||||||
|
esac &&
|
||||||
|
$mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
|
||||||
|
ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
|
||||||
|
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
then posix_mkdir=:
|
||||||
|
fi
|
||||||
|
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
|
||||||
|
else
|
||||||
|
# Remove any dirs left behind by ancient mkdir implementations.
|
||||||
|
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
|
||||||
|
fi
|
||||||
|
trap '' 0;;
|
||||||
|
esac;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if
|
||||||
|
$posix_mkdir && (
|
||||||
|
umask $mkdir_umask &&
|
||||||
|
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||||
|
)
|
||||||
|
then :
|
||||||
|
else
|
||||||
|
|
||||||
|
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
||||||
|
# or it failed possibly due to a race condition. Create the
|
||||||
|
# directory the slow way, step by step, checking for races as we go.
|
||||||
|
|
||||||
|
case $dstdir in
|
||||||
|
/*) prefix='/';;
|
||||||
|
[-=\(\)!]*) prefix='./';;
|
||||||
|
*) prefix='';;
|
||||||
|
esac
|
||||||
|
|
||||||
|
oIFS=$IFS
|
||||||
|
IFS=/
|
||||||
|
set -f
|
||||||
|
set fnord $dstdir
|
||||||
|
shift
|
||||||
|
set +f
|
||||||
|
IFS=$oIFS
|
||||||
|
|
||||||
|
prefixes=
|
||||||
|
|
||||||
|
for d
|
||||||
|
do
|
||||||
|
test X"$d" = X && continue
|
||||||
|
|
||||||
|
prefix=$prefix$d
|
||||||
|
if test -d "$prefix"; then
|
||||||
|
prefixes=
|
||||||
|
else
|
||||||
|
if $posix_mkdir; then
|
||||||
|
(umask=$mkdir_umask &&
|
||||||
|
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||||
|
# Don't fail if two instances are running concurrently.
|
||||||
|
test -d "$prefix" || exit 1
|
||||||
|
else
|
||||||
|
case $prefix in
|
||||||
|
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||||
|
*) qprefix=$prefix;;
|
||||||
|
esac
|
||||||
|
prefixes="$prefixes '$qprefix'"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
prefix=$prefix/
|
||||||
|
done
|
||||||
|
|
||||||
|
if test -n "$prefixes"; then
|
||||||
|
# Don't fail if two instances are running concurrently.
|
||||||
|
(umask $mkdir_umask &&
|
||||||
|
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||||
|
test -d "$dstdir" || exit 1
|
||||||
|
obsolete_mkdir_used=true
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -n "$dir_arg"; then
|
||||||
|
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||||
|
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||||
|
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||||
|
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
||||||
|
else
|
||||||
|
|
||||||
|
# Make a couple of temp file names in the proper directory.
|
||||||
|
dsttmp=${dstdirslash}_inst.$$_
|
||||||
|
rmtmp=${dstdirslash}_rm.$$_
|
||||||
|
|
||||||
|
# Trap to clean up those temp files at exit.
|
||||||
|
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||||
|
|
||||||
|
# Copy the file name to the temp name.
|
||||||
|
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
||||||
|
|
||||||
|
# and set any options; do chmod last to preserve setuid bits.
|
||||||
|
#
|
||||||
|
# If any of these fail, we abort the whole thing. If we want to
|
||||||
|
# ignore errors from any of these, just make sure not to ignore
|
||||||
|
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||||
|
#
|
||||||
|
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
||||||
|
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
||||||
|
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
||||||
|
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
||||||
|
|
||||||
|
# If -C, don't bother to copy if it wouldn't change the file.
|
||||||
|
if $copy_on_change &&
|
||||||
|
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
||||||
|
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
||||||
|
set -f &&
|
||||||
|
set X $old && old=:$2:$4:$5:$6 &&
|
||||||
|
set X $new && new=:$2:$4:$5:$6 &&
|
||||||
|
set +f &&
|
||||||
|
test "$old" = "$new" &&
|
||||||
|
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
rm -f "$dsttmp"
|
||||||
|
else
|
||||||
|
# Rename the file to the real destination.
|
||||||
|
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||||
|
|
||||||
|
# The rename failed, perhaps because mv can't rename something else
|
||||||
|
# to itself, or perhaps because mv is so ancient that it does not
|
||||||
|
# support -f.
|
||||||
|
{
|
||||||
|
# Now remove or move aside any old file at destination location.
|
||||||
|
# We try this two ways since rm can't unlink itself on some
|
||||||
|
# systems and the destination file might be busy for other
|
||||||
|
# reasons. In this case, the final cleanup might fail but the new
|
||||||
|
# file should still install successfully.
|
||||||
|
{
|
||||||
|
test ! -f "$dst" ||
|
||||||
|
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
||||||
|
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||||
|
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
||||||
|
} ||
|
||||||
|
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||||
|
(exit 1); exit 1
|
||||||
|
}
|
||||||
|
} &&
|
||||||
|
|
||||||
|
# Now rename the file to the real destination.
|
||||||
|
$doit $mvcmd "$dsttmp" "$dst"
|
||||||
|
}
|
||||||
|
fi || exit 1
|
||||||
|
|
||||||
|
trap '' 0
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Local variables:
|
||||||
|
# eval: (add-hook 'before-save-hook 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC0"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
859
m4/acinclude.m4
Normal file
859
m4/acinclude.m4
Normal file
|
@ -0,0 +1,859 @@
|
||||||
|
dnl setup codeblocks for current target
|
||||||
|
dnl copied and adapted from Ogre3D (www.ogre3d.org)
|
||||||
|
|
||||||
|
AC_DEFUN([CODEBLOCKS_GET_PLATFORM],
|
||||||
|
[CODEBLOCKS_PLATFORM=gtk
|
||||||
|
AC_ARG_WITH(platform,
|
||||||
|
AC_HELP_STRING([--with-platform=PLATFORM],
|
||||||
|
[the platform to build, win32, macosx or gtk(default)]),
|
||||||
|
CODEBLOCKS_PLATFORM=$withval,
|
||||||
|
CODEBLOCKS_PLATFORM=gtk)
|
||||||
|
|
||||||
|
|
||||||
|
PLATFORM_CFLAGS=""
|
||||||
|
PLATFORM_LIBS=""
|
||||||
|
|
||||||
|
dnl Do the extra checks per type here
|
||||||
|
case $CODEBLOCKS_PLATFORM in
|
||||||
|
gtk)
|
||||||
|
PLATFORM_CFLAGS="-I/usr/X11R6/include"
|
||||||
|
PLATFORM_LIBS="-L/usr/X11R6/lib -lX11"
|
||||||
|
;;
|
||||||
|
win32)
|
||||||
|
PLATFORM_CFLAGS=""
|
||||||
|
PLATFORM_LIBS="-lgdi32"
|
||||||
|
;;
|
||||||
|
macosx)
|
||||||
|
PLATFORM_CFLAGS=""
|
||||||
|
PLATFORM_LIBS=""
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
AC_SUBST(PLATFORM_CFLAGS)
|
||||||
|
AC_SUBST(PLATFORM_LIBS)
|
||||||
|
AC_SUBST(CODEBLOCKS_PLATFORM)
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_DEFUN([CODEBLOCKS_SETUP_FOR_TARGET],
|
||||||
|
[case $host in
|
||||||
|
*-*-cygwin* | *-*-mingw*)
|
||||||
|
AC_SUBST(SHARED_FLAGS, "-shared -no-undefined -Xlinker --export-all-symbols")
|
||||||
|
AC_SUBST(PLUGIN_FLAGS, "-shared -no-undefined -avoid-version")
|
||||||
|
AC_CHECK_TOOL(RC, windres)
|
||||||
|
nt=true
|
||||||
|
;;
|
||||||
|
*-*-darwin*) dnl including macosx
|
||||||
|
AC_SUBST(SHARED_FLAGS, "-dynamic")
|
||||||
|
AC_SUBST(PLUGIN_FLAGS, "-bundle -avoid-version")
|
||||||
|
darwin=true
|
||||||
|
;;
|
||||||
|
*) dnl default to standard linux
|
||||||
|
AC_SUBST(SHARED_FLAGS, "-shared")
|
||||||
|
AC_SUBST(PLUGIN_FLAGS, "-shared -avoid-version")
|
||||||
|
linux=true
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
dnl you must arrange for every AM_conditional to run every time configure runs
|
||||||
|
AM_CONDITIONAL(CODEBLOCKS_NT, test x$nt = xtrue)
|
||||||
|
AM_CONDITIONAL(CODEBLOCKS_LINUX, test x$linux = xtrue)
|
||||||
|
AM_CONDITIONAL(CODEBLOCKS_DARWIN, test x$darwin = xtrue )
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl copied, renamed and fixed to work on older autoconf's from autoconf-archive AX_CHECK_LINK_FLAG
|
||||||
|
AC_DEFUN([CODEBLOCKS_CHECK_LINK_FLAG],
|
||||||
|
[
|
||||||
|
m4_version_prereq([2.64], dnl for _AC_LANG_PREFIX and AS_VAR_IF
|
||||||
|
[
|
||||||
|
AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_ldflags_$4_$1])dnl
|
||||||
|
AC_CACHE_CHECK([whether the linker accepts $1], CACHEVAR, [
|
||||||
|
ax_check_save_flags=$LDFLAGS
|
||||||
|
LDFLAGS="$LDFLAGS $4 $1"
|
||||||
|
AC_LINK_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])],
|
||||||
|
[AS_VAR_SET(CACHEVAR,[yes])],
|
||||||
|
[AS_VAR_SET(CACHEVAR,[no])])
|
||||||
|
LDFLAGS=$ax_check_save_flags])
|
||||||
|
AS_VAR_IF(CACHEVAR,yes,
|
||||||
|
[m4_default([$2], :)],
|
||||||
|
[m4_default([$3], :)])
|
||||||
|
AS_VAR_POPDEF([CACHEVAR])dnl
|
||||||
|
],
|
||||||
|
[
|
||||||
|
AC_MSG_NOTICE([autoconf-version < 2.64, not checking for linker-flags "$1"])
|
||||||
|
])
|
||||||
|
])dnl CODEBLOCKS_CHECK_LINK_FLAG
|
||||||
|
|
||||||
|
|
||||||
|
dnl check whether to enable debugging
|
||||||
|
AC_DEFUN([CODEBLOCKS_CHECK_DEBUG],
|
||||||
|
[
|
||||||
|
AC_MSG_CHECKING(whether to enable debugging)
|
||||||
|
debug_default="no"
|
||||||
|
AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [turn on debugging (default is OFF)])],,
|
||||||
|
enable_debug=$debug_default)
|
||||||
|
if test "x$enable_debug" = "xyes"; then
|
||||||
|
CFLAGS="-g $CFLAGS"
|
||||||
|
CXXFLAGS="-g $CXXFLAGS"
|
||||||
|
CPPFLAGS="-DDEBUG -DcbDEBUG $CPPFLAGS"
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AS_IF([test "x$enable_flags_setting" = "xyes"],[
|
||||||
|
CFLAGS="-O2 -ffast-math $CFLAGS"
|
||||||
|
CXXFLAGS="-O2 -ffast-math $CXXFLAGS"
|
||||||
|
], [
|
||||||
|
: ${CFLAGS=""}
|
||||||
|
: ${CXXFLAGS=""}
|
||||||
|
])
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
CPPFLAGS="-DCB_AUTOCONF $CPPFLAGS"
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_DEFUN([CB_GCC_VERSION], [
|
||||||
|
GCC_FULL_VERSION=""
|
||||||
|
GCC_MAJOR_VERSION=""
|
||||||
|
GCC_MINOR_VERSION=""
|
||||||
|
GCC_PATCH_VERSION=""
|
||||||
|
if test "x$GCC" = "xyes" ; then
|
||||||
|
AC_CACHE_CHECK([gcc version],[cb_cv_gcc_version],[
|
||||||
|
cb_cv_gcc_version="`$CC -dumpversion`"
|
||||||
|
if test "x$cb_cv_gcc_version" = "x"; then
|
||||||
|
cb_cv_gcc_version=""
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
GCC_FULL_VERSION=$cb_cv_gcc_version
|
||||||
|
GCC_MAJOR_VERSION=$(echo $GCC_FULL_VERSION | cut -d'.' -f1)
|
||||||
|
GCC_MINOR_VERSION=$(echo $GCC_FULL_VERSION | cut -d'.' -f2)
|
||||||
|
GCC_PATCH_VERSION=$(echo $GCC_FULL_VERSION | cut -d'.' -f3)
|
||||||
|
fi
|
||||||
|
AC_SUBST([GCC_VERSION])
|
||||||
|
AC_SUBST([GCC_MAJOR_VERSION])
|
||||||
|
AC_SUBST([GCC_MINOR_VERSION])
|
||||||
|
AC_SUBST([GCC_PATCH_VERSION])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl check what settings to enable
|
||||||
|
AC_DEFUN([CODEBLOCKS_ENABLE_SETTINGS],
|
||||||
|
[
|
||||||
|
AC_MSG_CHECKING(whether to build the source formatter plugin)
|
||||||
|
astyle_default="yes"
|
||||||
|
AC_ARG_ENABLE(source-formatter, [AC_HELP_STRING([--enable-source-formatter], [build the source formatter plugin (default YES)])],,
|
||||||
|
enable_astyle=$astyle_default)
|
||||||
|
AM_CONDITIONAL([BUILD_ASTYLE], [test "x$enable_astyle" = "xyes"])
|
||||||
|
if test "x$enable_astyle" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the autosave plugin)
|
||||||
|
autosave_default="yes"
|
||||||
|
AC_ARG_ENABLE(autosave, [AC_HELP_STRING([--enable-autosave], [build the autosave plugin (default YES)])],,
|
||||||
|
enable_autosave=$autosave_default)
|
||||||
|
AM_CONDITIONAL([BUILD_AUTOSAVE], [test "x$enable_autosave" = "xyes"])
|
||||||
|
if test "x$enable_autosave" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the class wizard plugin)
|
||||||
|
cw_default="yes"
|
||||||
|
AC_ARG_ENABLE(class-wizard, [AC_HELP_STRING([--enable-class-wizard], [build the class wizard plugin (default YES)])],,
|
||||||
|
enable_cw=$cw_default)
|
||||||
|
AM_CONDITIONAL([BUILD_CLASSWIZARD], [test "x$enable_cw" = "xyes"])
|
||||||
|
if test "x$enable_cw" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the code completion plugin)
|
||||||
|
cc_default="yes"
|
||||||
|
AC_ARG_ENABLE(code-completion, [AC_HELP_STRING([--enable-code-completion], [build the code completion plugin (default YES)])],,
|
||||||
|
enable_cc=$cc_default)
|
||||||
|
AM_CONDITIONAL([BUILD_CODECOMPLETION], [test "x$enable_cc" = "xyes"])
|
||||||
|
if test "x$enable_cc" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the compiler plugin)
|
||||||
|
gcc_default="yes"
|
||||||
|
AC_ARG_ENABLE(compiler, [AC_HELP_STRING([--enable-compiler], [build the compiler plugin (default YES)])],,
|
||||||
|
enable_gcc=$gcc_default)
|
||||||
|
AM_CONDITIONAL([BUILD_COMPILER], [test "x$enable_gcc" = "xyes"])
|
||||||
|
if test "x$enable_gcc" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the debugger plugin)
|
||||||
|
dbg_default="yes"
|
||||||
|
AC_ARG_ENABLE(debugger, [AC_HELP_STRING([--enable-debugger], [build the debugger plugin (default YES)])],,
|
||||||
|
enable_dbg=$dbg_default)
|
||||||
|
AM_CONDITIONAL([BUILD_DEBUGGER], [test "x$enable_dbg" = "xyes"])
|
||||||
|
if test "x$enable_dbg" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the default MIME handler plugin)
|
||||||
|
mime_default="yes"
|
||||||
|
AC_ARG_ENABLE(mime-handler, [AC_HELP_STRING([--enable-mime-handler], [build the default MIME handler plugin (default YES)])],,
|
||||||
|
enable_mime=$mime_default)
|
||||||
|
AM_CONDITIONAL([BUILD_MIMEHANDLER], [test "x$enable_mime" = "xyes"])
|
||||||
|
if test "x$enable_mime" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the open files list plugin)
|
||||||
|
openfiles_default="yes"
|
||||||
|
AC_ARG_ENABLE(open-files-list, [AC_HELP_STRING([--enable-open-files-list], [build the open files list plugin (default YES)])],,
|
||||||
|
enable_openfiles=$openfiles_default)
|
||||||
|
AM_CONDITIONAL([BUILD_OPENFILESLIST], [test "x$enable_openfiles" = "xyes"])
|
||||||
|
if test "x$enable_openfiles" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the occurrences highlighting plugin)
|
||||||
|
occurrenceshighlighting_default="yes"
|
||||||
|
AC_ARG_ENABLE(occurrences-highlighting, [AC_HELP_STRING([--enable-occurrences-highlighting], [build the occurrences highlighting plugin (default YES)])],,
|
||||||
|
enable_occurrenceshighlighting=$occurrenceshighlighting_default)
|
||||||
|
AM_CONDITIONAL([BUILD_OCCURRENCESHIGHLIGHTING], [test "x$enable_occurrenceshighlighting" = "xyes"])
|
||||||
|
if test "x$enable_occurrenceshighlighting" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the foreign projects importer plugin)
|
||||||
|
pimport_default="yes"
|
||||||
|
AC_ARG_ENABLE(projects-importer, [AC_HELP_STRING([--enable-projects-importer], [build the foreign projects importer plugin (default YES)])],,
|
||||||
|
enable_pimport=$pimport_default)
|
||||||
|
AM_CONDITIONAL([BUILD_PROJECTSIMPORTER], [test "x$enable_pimport" = "xyes"])
|
||||||
|
if test "x$enable_pimport" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the scripted wizard plugin)
|
||||||
|
prw_default="yes"
|
||||||
|
AC_ARG_ENABLE(scripted-wizard, [AC_HELP_STRING([--enable-scripted-wizard], [build the scripted wizard plugin (default YES)])],,
|
||||||
|
enable_prw=$prw_default)
|
||||||
|
AM_CONDITIONAL([BUILD_SCRIPTEDWIZARD], [test "x$enable_prw" = "xyes"])
|
||||||
|
if test "x$enable_prw" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the to-do plugin)
|
||||||
|
todo_default="yes"
|
||||||
|
AC_ARG_ENABLE(todo, [AC_HELP_STRING([--enable-todo], [build the to-do plugin (default YES)])],,
|
||||||
|
enable_todo=$todo_default)
|
||||||
|
AM_CONDITIONAL([BUILD_TODO], [test "x$enable_todo" = "xyes"])
|
||||||
|
if test "x$enable_todo" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to build the abbreviations plugin)
|
||||||
|
abbreviations_default="yes"
|
||||||
|
AC_ARG_ENABLE(abbreviations, [AC_HELP_STRING([--enable-abbreviations], [build the abbreviations plugin (default YES)])],,
|
||||||
|
enable_abbreviations=$abbreviations_default)
|
||||||
|
AM_CONDITIONAL([BUILD_ABBREVIATIONS], [test "x$enable_abbreviations" = "xyes"])
|
||||||
|
if test "x$enable_abbreviations" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to keep prebuild windows dll's in dist-tarball)
|
||||||
|
keep_dlls_default="yes"
|
||||||
|
AC_ARG_ENABLE(keep-dlls, [AC_HELP_STRING([--enable-keep-dlls], [keep prebuild windows dll's in dist-tarball (default YES)])],,
|
||||||
|
enable_keep_dlls=$keep_dlls_default)
|
||||||
|
AM_CONDITIONAL([KEEP_DLLS], [test "x$enable_keep_dlls" = "xyes"])
|
||||||
|
if test "x$enable_keep_dlls" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to integrate fortran-plugin in dist-tarball)
|
||||||
|
enable_fortran_default="yes"
|
||||||
|
AC_ARG_ENABLE(fortran, [AC_HELP_STRING([--enable-fortran], [integrate (external) fortran plugin in dist-tarball (default YES), NOTE: it will not be build automatically])],,
|
||||||
|
enable_fortran=$enable_fortran_default)
|
||||||
|
AM_CONDITIONAL([ENABLE_FORTRAN], [test "x$enable_fortran" = "xyes"])
|
||||||
|
if test "x$enable_fortran" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether to use gtk-notebook as default notebook)
|
||||||
|
gtk_notebook_default="yes"
|
||||||
|
AC_ARG_ENABLE(gtk-notebook, [AC_HELP_STRING([--enable-gtk-notebook], [use gtk-notebook as default notebook (default YES)])],,
|
||||||
|
enable_gtk_notebook=$gtk_notebook_default)
|
||||||
|
AM_CONDITIONAL([GTK_NOTEBOOK], [test "x$enable_gtk_notebook" = "xyes"])
|
||||||
|
if test "x$enable_gtk_notebook" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
case $host in
|
||||||
|
*-*-cygwin* | *-*-mingw*)
|
||||||
|
AC_MSG_CHECKING(whether to build the xp-manifest plugin)
|
||||||
|
xpmanifest_default="yes"
|
||||||
|
AC_ARG_ENABLE(xpmanifest, [AC_HELP_STRING([--enable-xpmanifest], [build the xp-manifest plugin (default YES)])],,
|
||||||
|
enable_xpmanifest=$xpmanifest_default)
|
||||||
|
AM_CONDITIONAL([BUILD_MANIFEST], [test "x$enable_xpmanifest" = "xyes"])
|
||||||
|
if test "x$enable_xpmanifest" = "xyes"; then
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
AM_CONDITIONAL([BUILD_MANIFEST], [false])
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
AC_DEFUN([BUILD_CONTRIB_NONE], [
|
||||||
|
AM_CONDITIONAL([BUILD_AUTOVERSIONING], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_BROWSETRACKER], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_BYOGAMES], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_CBKODERS], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_CODESNIPPETS], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_CODESTAT], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_COPYSTRINGS], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_CSCOPE], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_DOXYBLOCKS], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_DRAGSCROLL], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_EDITORCONFIG], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_EDITORTWEAKS], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_ENVVARS], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_FILEMANAGER], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_HEADERFIXUP], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_HELP], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_KEYBINDER], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_LIBFINDER], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_NASSISHNEIDERMAN], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_PROFILER], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_PROJECTOPTIONSMANIPULATOR], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_REGEX], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_REOPENEDITOR], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_RNDGEN], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_EXPORTER], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_SMARTINDENT], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_SPELLCHECKER], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_SYMTAB], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_THREADSEARCH], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_TOOLSPLUS], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_VALGRIND], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_WXCONTRIB], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITH], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITHCONTRIB], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITHAUI], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_HEXEDITOR], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_INCSEARCH], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_MOUSESAP], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_CCCC], [false])
|
||||||
|
AM_CONDITIONAL([BUILD_CPPCHECK], [false])
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_DEFUN([BUILD_CONTRIB_ALL], [
|
||||||
|
AM_CONDITIONAL([BUILD_AUTOVERSIONING], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_BROWSETRACKER], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_BYOGAMES], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_CBKODERS], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_CODESNIPPETS], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_CODESTAT], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_COPYSTRINGS], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_CSCOPE], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_DOXYBLOCKS], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_DRAGSCROLL], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_EDITORCONFIG], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_EDITORTWEAKS], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_ENVVARS], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_FILEMANAGER], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_HEADERFIXUP], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_HELP], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_KEYBINDER], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_LIBFINDER], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_NASSISHNEIDERMAN], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_PROJECTOPTIONSMANIPULATOR], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_PROFILER], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_REGEX], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_REOPENEDITOR], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_RNDGEN], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_EXPORTER], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_SMARTINDENT], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_SPELLCHECKER], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_SYMTAB], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_THREADSEARCH], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_TOOLSPLUS], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_VALGRIND], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_WXCONTRIB], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITH], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITHCONTRIB], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITHAUI], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_HEXEDITOR], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_INCSEARCH], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_MOUSESAP], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_CCCC], [true])
|
||||||
|
AM_CONDITIONAL([BUILD_CPPCHECK], [true])
|
||||||
|
])
|
||||||
|
|
||||||
|
# default to 'none'
|
||||||
|
BUILD_CONTRIB_NONE
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(which (if any) contrib plugins to build)
|
||||||
|
AC_ARG_WITH(contrib-plugins,
|
||||||
|
[ --with-contrib-plugins=<list> compile contrib plugins in <list>. ]
|
||||||
|
[ plugins may be separated with commas. ]
|
||||||
|
[ "all", "yes" or just "--with-contrib-plugins" compiles all contrib plugins ]
|
||||||
|
[ "all,-help" or "yes,-help" compiles all contrib plugins except the help plugin ]
|
||||||
|
[ "none", "no", "--without-contrib-plugins" or skipping the parameter at all, ]
|
||||||
|
[ compiles none of the contrib-plugins ]
|
||||||
|
[ Plugin names are: AutoVersioning, BrowseTracker, byogames, Cccc, CppCheck, cbkoders, codesnippets, ]
|
||||||
|
[ codestat, copystrings, Cscope, DoxyBlocks, dragscroll, EditorConfig, EditorTweaks, envvars, exporter, ]
|
||||||
|
[ FileManager, headerfixup, help, hexeditor, incsearch, keybinder, libfinder, MouseSap, ]
|
||||||
|
[ NassiShneiderman, ProjectOptionsManipulator, profiler, regex, ReopenEditor, rndgen, smartindent, spellchecker, ]
|
||||||
|
[ symtab, ThreadSearch, ToolsPlus, Valgrind, wxcontrib, wxsmith, wxsmithcontrib, wxsmithaui ],
|
||||||
|
plugins="$withval", plugins="none")
|
||||||
|
|
||||||
|
plugins=`echo $plugins | sed 's/,/ /g'`
|
||||||
|
for plugin in $plugins
|
||||||
|
do
|
||||||
|
case "$plugin" in
|
||||||
|
all|yes)
|
||||||
|
BUILD_CONTRIB_ALL
|
||||||
|
;;
|
||||||
|
AutoVersioning)
|
||||||
|
AM_CONDITIONAL([BUILD_AUTOVERSIONING], [true])
|
||||||
|
;;
|
||||||
|
BrowseTracker)
|
||||||
|
AM_CONDITIONAL([BUILD_BROWSETRACKER], [true])
|
||||||
|
;;
|
||||||
|
byogames)
|
||||||
|
AM_CONDITIONAL([BUILD_BYOGAMES], [true])
|
||||||
|
;;
|
||||||
|
cbkoders)
|
||||||
|
AM_CONDITIONAL([BUILD_CBKODERS], [true])
|
||||||
|
;;
|
||||||
|
codesnippets)
|
||||||
|
AM_CONDITIONAL([BUILD_CODESNIPPETS], [true])
|
||||||
|
;;
|
||||||
|
codestat)
|
||||||
|
AM_CONDITIONAL([BUILD_CODESTAT], [true])
|
||||||
|
;;
|
||||||
|
copystrings)
|
||||||
|
AM_CONDITIONAL([BUILD_COPYSTRINGS], [true])
|
||||||
|
;;
|
||||||
|
Cscope)
|
||||||
|
AM_CONDITIONAL([BUILD_CSCOPE], [true])
|
||||||
|
;;
|
||||||
|
DoxyBlocks)
|
||||||
|
AM_CONDITIONAL([BUILD_DOXYBLOCKS], [true])
|
||||||
|
;;
|
||||||
|
dragscroll)
|
||||||
|
AM_CONDITIONAL([BUILD_DRAGSCROLL], [true])
|
||||||
|
;;
|
||||||
|
EditorConfig)
|
||||||
|
AM_CONDITIONAL([BUILD_EDITORCONFIG], [true])
|
||||||
|
;;
|
||||||
|
EditorTweaks)
|
||||||
|
AM_CONDITIONAL([BUILD_EDITORTWEAKS], [true])
|
||||||
|
;;
|
||||||
|
envvars)
|
||||||
|
AM_CONDITIONAL([BUILD_ENVVARS], [true])
|
||||||
|
;;
|
||||||
|
FileManager)
|
||||||
|
AM_CONDITIONAL([BUILD_FILEMANAGER], [true])
|
||||||
|
;;
|
||||||
|
headerfixup)
|
||||||
|
AM_CONDITIONAL([BUILD_HEADERFIXUP], [true])
|
||||||
|
;;
|
||||||
|
help)
|
||||||
|
AM_CONDITIONAL([BUILD_HELP], [true])
|
||||||
|
;;
|
||||||
|
keybinder)
|
||||||
|
AM_CONDITIONAL([BUILD_KEYBINDER], [true])
|
||||||
|
;;
|
||||||
|
libfinder)
|
||||||
|
AM_CONDITIONAL([BUILD_LIBFINDER], [true])
|
||||||
|
;;
|
||||||
|
NassiShneiderman)
|
||||||
|
AM_CONDITIONAL([BUILD_NASSISHNEIDERMAN], [true])
|
||||||
|
;;
|
||||||
|
ProjectOptionsManipulator)
|
||||||
|
AM_CONDITIONAL([BUILD_PROJECTOPTIONSMANIPULATOR], [true])
|
||||||
|
;;
|
||||||
|
profiler)
|
||||||
|
AM_CONDITIONAL([BUILD_PROFILER], [true])
|
||||||
|
;;
|
||||||
|
regex)
|
||||||
|
AM_CONDITIONAL([BUILD_REGEX], [true])
|
||||||
|
;;
|
||||||
|
ReopenEditor)
|
||||||
|
AM_CONDITIONAL([BUILD_REOPENEDITOR], [true])
|
||||||
|
;;
|
||||||
|
rndgen)
|
||||||
|
AM_CONDITIONAL([BUILD_RNDGEN], [true])
|
||||||
|
;;
|
||||||
|
exporter)
|
||||||
|
AM_CONDITIONAL([BUILD_EXPORTER], [true])
|
||||||
|
;;
|
||||||
|
smartindent)
|
||||||
|
AM_CONDITIONAL([BUILD_SMARTINDENT], [true])
|
||||||
|
;;
|
||||||
|
spellchecker)
|
||||||
|
AM_CONDITIONAL([BUILD_SPELLCHECKER], [true])
|
||||||
|
;;
|
||||||
|
symtab)
|
||||||
|
AM_CONDITIONAL([BUILD_SYMTAB], [true])
|
||||||
|
;;
|
||||||
|
ThreadSearch)
|
||||||
|
AM_CONDITIONAL([BUILD_THREADSEARCH], [true])
|
||||||
|
;;
|
||||||
|
ToolsPlus)
|
||||||
|
AM_CONDITIONAL([BUILD_TOOLSPLUS], [true])
|
||||||
|
;;
|
||||||
|
Valgrind)
|
||||||
|
AM_CONDITIONAL([BUILD_VALGRIND], [true])
|
||||||
|
;;
|
||||||
|
wxcontrib)
|
||||||
|
AM_CONDITIONAL([BUILD_WXCONTRIB], [true])
|
||||||
|
;;
|
||||||
|
wxsmith)
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITH], [true])
|
||||||
|
;;
|
||||||
|
wxsmithcontrib)
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITHCONTRIB], [true])
|
||||||
|
;;
|
||||||
|
wxsmithaui)
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITHAUI], [true])
|
||||||
|
;;
|
||||||
|
hexeditor)
|
||||||
|
AM_CONDITIONAL([BUILD_HEXEDITOR], [true])
|
||||||
|
;;
|
||||||
|
incsearch)
|
||||||
|
AM_CONDITIONAL([BUILD_INCSEARCH], [true])
|
||||||
|
;;
|
||||||
|
MouseSap)
|
||||||
|
AM_CONDITIONAL([BUILD_MOUSESAP], [true])
|
||||||
|
;;
|
||||||
|
Cccc)
|
||||||
|
AM_CONDITIONAL([BUILD_CCCC], [true])
|
||||||
|
;;
|
||||||
|
CppCheck)
|
||||||
|
AM_CONDITIONAL([BUILD_CPPCHECK], [true])
|
||||||
|
;;
|
||||||
|
-AutoVersioning)
|
||||||
|
AM_CONDITIONAL([BUILD_AUTOVERSIONING], [false])
|
||||||
|
;;
|
||||||
|
-BrowseTracker)
|
||||||
|
AM_CONDITIONAL([BUILD_BROWSETRACKER], [false])
|
||||||
|
;;
|
||||||
|
-byogames)
|
||||||
|
AM_CONDITIONAL([BUILD_BYOGAMES], [false])
|
||||||
|
;;
|
||||||
|
-cbkoders)
|
||||||
|
AM_CONDITIONAL([BUILD_CBKODERS], [false])
|
||||||
|
;;
|
||||||
|
-codesnippets)
|
||||||
|
AM_CONDITIONAL([BUILD_CODESNIPPETS], [false])
|
||||||
|
;;
|
||||||
|
-codestat)
|
||||||
|
AM_CONDITIONAL([BUILD_CODESTAT], [false])
|
||||||
|
;;
|
||||||
|
-copystrings)
|
||||||
|
AM_CONDITIONAL([BUILD_COPYSTRINGS], [false])
|
||||||
|
;;
|
||||||
|
-Cscope)
|
||||||
|
AM_CONDITIONAL([BUILD_CSCOPE], [false])
|
||||||
|
;;
|
||||||
|
-DoxyBlocks)
|
||||||
|
AM_CONDITIONAL([BUILD_DOXYBLOCKS], [false])
|
||||||
|
;;
|
||||||
|
-dragscroll)
|
||||||
|
AM_CONDITIONAL([BUILD_DRAGSCROLL], [false])
|
||||||
|
;;
|
||||||
|
-EditorConfig)
|
||||||
|
AM_CONDITIONAL([BUILD_EDITORCONFIG], [false])
|
||||||
|
;;
|
||||||
|
-EditorTweaks)
|
||||||
|
AM_CONDITIONAL([BUILD_EDITORTWEAKS], [false])
|
||||||
|
;;
|
||||||
|
-envvars)
|
||||||
|
AM_CONDITIONAL([BUILD_ENVVARS], [false])
|
||||||
|
;;
|
||||||
|
-FileManager)
|
||||||
|
AM_CONDITIONAL([BUILD_FILEMANAGER], [false])
|
||||||
|
;;
|
||||||
|
-headerfixup)
|
||||||
|
AM_CONDITIONAL([BUILD_HEADERFIXUP], [false])
|
||||||
|
;;
|
||||||
|
-help)
|
||||||
|
AM_CONDITIONAL([BUILD_HELP], [false])
|
||||||
|
;;
|
||||||
|
-keybinder)
|
||||||
|
AM_CONDITIONAL([BUILD_KEYBINDER], [false])
|
||||||
|
;;
|
||||||
|
-libfinder)
|
||||||
|
AM_CONDITIONAL([BUILD_LIBFINDER], [false])
|
||||||
|
;;
|
||||||
|
-NassiShneiderman)
|
||||||
|
AM_CONDITIONAL([BUILD_NASSISHNEIDERMAN], [false])
|
||||||
|
;;
|
||||||
|
-profiler)
|
||||||
|
AM_CONDITIONAL([BUILD_PROFILER], [false])
|
||||||
|
;;
|
||||||
|
-regex)
|
||||||
|
AM_CONDITIONAL([BUILD_REGEX], [false])
|
||||||
|
;;
|
||||||
|
-ReopenEditor)
|
||||||
|
AM_CONDITIONAL([BUILD_REOPENEDITOR], [false])
|
||||||
|
;;
|
||||||
|
-rndgen)
|
||||||
|
AM_CONDITIONAL([BUILD_RNDGEN], [false])
|
||||||
|
;;
|
||||||
|
-exporter)
|
||||||
|
AM_CONDITIONAL([BUILD_EXPORTER], [false])
|
||||||
|
;;
|
||||||
|
-smartindent)
|
||||||
|
AM_CONDITIONAL([BUILD_SMARTINDENT], [false])
|
||||||
|
;;
|
||||||
|
-spellchecker)
|
||||||
|
AM_CONDITIONAL([BUILD_SPELLCHECKER], [false])
|
||||||
|
;;
|
||||||
|
-symtab)
|
||||||
|
AM_CONDITIONAL([BUILD_SYMTAB], [false])
|
||||||
|
;;
|
||||||
|
-ThreadSearch)
|
||||||
|
AM_CONDITIONAL([BUILD_THREADSEARCH], [false])
|
||||||
|
;;
|
||||||
|
-ToolsPlus)
|
||||||
|
AM_CONDITIONAL([BUILD_TOOLSPLUS], [false])
|
||||||
|
;;
|
||||||
|
-Valgrind)
|
||||||
|
AM_CONDITIONAL([BUILD_VALGRIND], [false])
|
||||||
|
;;
|
||||||
|
-wxcontrib)
|
||||||
|
AM_CONDITIONAL([BUILD_WXCONTRIB], [false])
|
||||||
|
;;
|
||||||
|
-wxsmith)
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITH], [false])
|
||||||
|
;;
|
||||||
|
-wxsmithcontrib)
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITHCONTRIB], [false])
|
||||||
|
;;
|
||||||
|
-wxsmithaui)
|
||||||
|
AM_CONDITIONAL([BUILD_WXSMITHAUI], [false])
|
||||||
|
;;
|
||||||
|
-hexeditor)
|
||||||
|
AM_CONDITIONAL([BUILD_HEXEDITOR], [false])
|
||||||
|
;;
|
||||||
|
-incsearch)
|
||||||
|
AM_CONDITIONAL([BUILD_INCSEARCH], [false])
|
||||||
|
;;
|
||||||
|
-MouseSap)
|
||||||
|
AM_CONDITIONAL([BUILD_MOUSESAP], [false])
|
||||||
|
;;
|
||||||
|
-Cccc)
|
||||||
|
AM_CONDITIONAL([BUILD_CCCC], [false])
|
||||||
|
;;
|
||||||
|
-CppCheck)
|
||||||
|
AM_CONDITIONAL([BUILD_CPPCHECK], [false])
|
||||||
|
;;
|
||||||
|
none|no)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo
|
||||||
|
echo "Error: Unknown contrib plugin $plugin." >&2
|
||||||
|
echo " Note: the names are case-sensitive!" >&2
|
||||||
|
echo " Try $[0] --help for exact spelling." >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
AC_MSG_RESULT($plugins)
|
||||||
|
|
||||||
|
|
||||||
|
AC_SUBST(BUILD_AUTOVERSIONING)
|
||||||
|
AC_SUBST(BUILD_BROWSETRACKER)
|
||||||
|
AC_SUBST(BUILD_BYOGAMES)
|
||||||
|
AC_SUBST(BUILD_CBKODERS)
|
||||||
|
AC_SUBST(BUILD_CCCC)
|
||||||
|
AC_SUBST(BUILD_CODESNIPPETS)
|
||||||
|
AC_SUBST(BUILD_CODESTAT)
|
||||||
|
AC_SUBST(BUILD_COPYSTRINGS)
|
||||||
|
AC_SUBST(BUILD_CPPCHECK)
|
||||||
|
AC_SUBST(BUILD_CSCOPE)
|
||||||
|
AC_SUBST(BUILD_DOXYBLOCKS)
|
||||||
|
AC_SUBST(BUILD_DRAGSCROLL)
|
||||||
|
AC_SUBST(BUILD_EDITORCONFIG)
|
||||||
|
AC_SUBST(BUILD_EDITORTWEAKS)
|
||||||
|
AC_SUBST(BUILD_ENVVARS)
|
||||||
|
AC_SUBST(BUILD_FILEMANAGER)
|
||||||
|
AC_SUBST(BUILD_HEADERFIXUP)
|
||||||
|
AC_SUBST(BUILD_HELP)
|
||||||
|
AC_SUBST(BUILD_HEXEDITOR)
|
||||||
|
AC_SUBST(BUILD_INCSEARCH)
|
||||||
|
AC_SUBST(BUILD_KEYBINDER)
|
||||||
|
AC_SUBST(BUILD_LIBFINDER)
|
||||||
|
AC_SUBST(BUILD_MOUSESAP)
|
||||||
|
AC_SUBST(BUILD_NASSISHNEIDERMAN)
|
||||||
|
AC_SUBST(BUILD_PROFILER)
|
||||||
|
AC_SUBST(BUILD_REGEX)
|
||||||
|
AC_SUBST(BUILD_REOPENEDITOR)
|
||||||
|
AC_SUBST(BUILD_RNDGEN)
|
||||||
|
AC_SUBST(BUILD_EXPORTER)
|
||||||
|
AC_SUBST(BUILD_SYMTAB)
|
||||||
|
AC_SUBST(BUILD_SMARTINDENT)
|
||||||
|
AC_SUBST(BUILD_SPELLCHECKER)
|
||||||
|
AC_SUBST(BUILD_THREADSEARCH)
|
||||||
|
AC_SUBST(BUILD_TOOLSPLUS)
|
||||||
|
AC_SUBST(BUILD_VALGRIND)
|
||||||
|
AC_SUBST(BUILD_WXCONTRIB)
|
||||||
|
AC_SUBST(BUILD_WXSMITH)
|
||||||
|
AC_SUBST(BUILD_WXSMITHCONTRIB)
|
||||||
|
AC_SUBST(BUILD_WXSMITHAUI)
|
||||||
|
|
||||||
|
GCC_PCH=0
|
||||||
|
PCH_FLAGS=
|
||||||
|
pch_default="yes"
|
||||||
|
AM_CONDITIONAL([PRECOMPILE_HEADERS], [false])
|
||||||
|
AC_ARG_ENABLE(pch, [AC_HELP_STRING([--enable-pch], [use precompiled headers if available (default YES)])],,
|
||||||
|
enable_pch=$pch_default)
|
||||||
|
if test "x$enable_pch" = "x" -o "x$enable_pch" = "xyes" ; then
|
||||||
|
if test "x$GCC" = "xyes"; then
|
||||||
|
dnl test if we have gcc-3.4:
|
||||||
|
AC_MSG_CHECKING([if the compiler supports precompiled headers])
|
||||||
|
AC_TRY_COMPILE([],
|
||||||
|
[
|
||||||
|
#if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
|
||||||
|
#error "no pch support"
|
||||||
|
#endif
|
||||||
|
#if (__GNUC__ < 3)
|
||||||
|
#error "no pch support"
|
||||||
|
#endif
|
||||||
|
#if (__GNUC__ == 3) && \
|
||||||
|
((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
|
||||||
|
( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
|
||||||
|
#error "no pch support"
|
||||||
|
#endif
|
||||||
|
],
|
||||||
|
[
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
GCC_PCH=1
|
||||||
|
PCH_FLAGS="-DCB_PRECOMP"
|
||||||
|
CPPFLAGS="${CPPFLAGS} ${PCH_FLAGS}"
|
||||||
|
CXXFLAGS="${CXXFLAGS} -Winvalid-pch"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
])
|
||||||
|
AM_CONDITIONAL([PRECOMPILE_HEADERS], [test $GCC_PCH = 1])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
])
|
||||||
|
|
||||||
|
# _AM_PROG_TAR(FORMAT)
|
||||||
|
# --------------------
|
||||||
|
# Check how to create a tarball in format FORMAT.
|
||||||
|
# FORMAT should be one of `v7', `ustar', or `pax'.
|
||||||
|
#
|
||||||
|
# Substitute a variable $(am__tar) that is a command
|
||||||
|
# writing to stdout a FORMAT-tarball containing the directory
|
||||||
|
# $tardir.
|
||||||
|
# tardir=directory && $(am__tar) > result.tar
|
||||||
|
#
|
||||||
|
# Substitute a variable $(am__untar) that extract such
|
||||||
|
# a tarball read from stdin.
|
||||||
|
# $(am__untar) < result.tar
|
||||||
|
AC_DEFUN([_AM_PROG_TAR],
|
||||||
|
[# Always define AMTAR for backward compatibility.
|
||||||
|
AM_MISSING_PROG([AMTAR], [tar])
|
||||||
|
m4_if([$1], [v7],
|
||||||
|
[am__tar='${AMTAR} chf - "$$tardir"'; am__untar='${AMTAR} xf -'],
|
||||||
|
[m4_case([$1], [ustar],, [pax],,
|
||||||
|
[m4_fatal([Unknown tar format])])
|
||||||
|
AC_MSG_CHECKING([how to create a $1 tar archive])
|
||||||
|
# Loop over all known methods to create a tar archive until one works.
|
||||||
|
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
|
||||||
|
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
|
||||||
|
# Do not fold the above two line into one, because Tru64 sh and
|
||||||
|
# Solaris sh will not grok spaces in the rhs of `-'.
|
||||||
|
for _am_tool in $_am_tools
|
||||||
|
do
|
||||||
|
case $_am_tool in
|
||||||
|
gnutar)
|
||||||
|
for _am_tar in tar gnutar gtar;
|
||||||
|
do
|
||||||
|
AM_RUN_LOG([$_am_tar --version]) && break
|
||||||
|
done
|
||||||
|
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
|
||||||
|
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
|
||||||
|
am__untar="$_am_tar -xf -"
|
||||||
|
;;
|
||||||
|
plaintar)
|
||||||
|
# Must skip GNU tar: if it does not support --format= it doesn't create
|
||||||
|
# ustar tarball either.
|
||||||
|
(tar --version) >/dev/null 2>&1 && continue
|
||||||
|
am__tar='tar chf - "$$tardir"'
|
||||||
|
am__tar_='tar chf - "$tardir"'
|
||||||
|
am__untar='tar xf -'
|
||||||
|
;;
|
||||||
|
pax)
|
||||||
|
am__tar='pax -L -x $1 -w "$$tardir"'
|
||||||
|
am__tar_='pax -L -x $1 -w "$tardir"'
|
||||||
|
am__untar='pax -r'
|
||||||
|
;;
|
||||||
|
cpio)
|
||||||
|
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
|
||||||
|
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
|
||||||
|
am__untar='cpio -i -H $1 -d'
|
||||||
|
;;
|
||||||
|
none)
|
||||||
|
am__tar=false
|
||||||
|
am__tar_=false
|
||||||
|
am__untar=false
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# If the value was cached, stop now. We just wanted to have am__tar
|
||||||
|
# and am__untar set.
|
||||||
|
test -n "${am_cv_prog_tar_$1}" && break
|
||||||
|
|
||||||
|
# tar/untar a dummy directory, and stop if the command works
|
||||||
|
rm -rf conftest.dir
|
||||||
|
mkdir conftest.dir
|
||||||
|
echo GrepMe > conftest.dir/file
|
||||||
|
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
|
||||||
|
rm -rf conftest.dir
|
||||||
|
if test -s conftest.tar; then
|
||||||
|
AM_RUN_LOG([$am__untar <conftest.tar])
|
||||||
|
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
rm -rf conftest.dir
|
||||||
|
|
||||||
|
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
|
||||||
|
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
|
||||||
|
AC_SUBST([am__tar])
|
||||||
|
AC_SUBST([am__untar])
|
||||||
|
]) # _AM_PROG_TAR
|
301
m4/ax_boost_base.m4
Normal file
301
m4/ax_boost_base.m4
Normal file
|
@ -0,0 +1,301 @@
|
||||||
|
# ===========================================================================
|
||||||
|
# https://www.gnu.org/software/autoconf-archive/ax_boost_base.html
|
||||||
|
# ===========================================================================
|
||||||
|
#
|
||||||
|
# SYNOPSIS
|
||||||
|
#
|
||||||
|
# AX_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
|
||||||
|
#
|
||||||
|
# DESCRIPTION
|
||||||
|
#
|
||||||
|
# Test for the Boost C++ libraries of a particular version (or newer)
|
||||||
|
#
|
||||||
|
# If no path to the installed boost library is given the macro searchs
|
||||||
|
# under /usr, /usr/local, /opt and /opt/local and evaluates the
|
||||||
|
# $BOOST_ROOT environment variable. Further documentation is available at
|
||||||
|
# <http://randspringer.de/boost/index.html>.
|
||||||
|
#
|
||||||
|
# This macro calls:
|
||||||
|
#
|
||||||
|
# AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)
|
||||||
|
#
|
||||||
|
# And sets:
|
||||||
|
#
|
||||||
|
# HAVE_BOOST
|
||||||
|
#
|
||||||
|
# LICENSE
|
||||||
|
#
|
||||||
|
# Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de>
|
||||||
|
# Copyright (c) 2009 Peter Adolphs
|
||||||
|
#
|
||||||
|
# Copying and distribution of this file, with or without modification, are
|
||||||
|
# permitted in any medium without royalty provided the copyright notice
|
||||||
|
# and this notice are preserved. This file is offered as-is, without any
|
||||||
|
# warranty.
|
||||||
|
|
||||||
|
#serial 42
|
||||||
|
|
||||||
|
# example boost program (need to pass version)
|
||||||
|
m4_define([_AX_BOOST_BASE_PROGRAM],
|
||||||
|
[AC_LANG_PROGRAM([[
|
||||||
|
#include <boost/version.hpp>
|
||||||
|
]],[[
|
||||||
|
(void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($1))]));
|
||||||
|
]])])
|
||||||
|
|
||||||
|
AC_DEFUN([AX_BOOST_BASE],
|
||||||
|
[
|
||||||
|
AC_ARG_WITH([boost],
|
||||||
|
[AS_HELP_STRING([--with-boost@<:@=ARG@:>@],
|
||||||
|
[use Boost library from a standard location (ARG=yes),
|
||||||
|
from the specified location (ARG=<path>),
|
||||||
|
or disable it (ARG=no)
|
||||||
|
@<:@ARG=yes@:>@ ])],
|
||||||
|
[
|
||||||
|
AS_CASE([$withval],
|
||||||
|
[no],[want_boost="no";_AX_BOOST_BASE_boost_path=""],
|
||||||
|
[yes],[want_boost="yes";_AX_BOOST_BASE_boost_path=""],
|
||||||
|
[want_boost="yes";_AX_BOOST_BASE_boost_path="$withval"])
|
||||||
|
],
|
||||||
|
[want_boost="yes"])
|
||||||
|
|
||||||
|
|
||||||
|
AC_ARG_WITH([boost-libdir],
|
||||||
|
[AS_HELP_STRING([--with-boost-libdir=LIB_DIR],
|
||||||
|
[Force given directory for boost libraries.
|
||||||
|
Note that this will override library path detection,
|
||||||
|
so use this parameter only if default library detection fails
|
||||||
|
and you know exactly where your boost libraries are located.])],
|
||||||
|
[
|
||||||
|
AS_IF([test -d "$withval"],
|
||||||
|
[_AX_BOOST_BASE_boost_lib_path="$withval"],
|
||||||
|
[AC_MSG_ERROR([--with-boost-libdir expected directory name])])
|
||||||
|
],
|
||||||
|
[_AX_BOOST_BASE_boost_lib_path=""])
|
||||||
|
|
||||||
|
BOOST_LDFLAGS=""
|
||||||
|
BOOST_CPPFLAGS=""
|
||||||
|
AS_IF([test "x$want_boost" = "xyes"],
|
||||||
|
[_AX_BOOST_BASE_RUNDETECT([$1],[$2],[$3])])
|
||||||
|
AC_SUBST(BOOST_CPPFLAGS)
|
||||||
|
AC_SUBST(BOOST_LDFLAGS)
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
# convert a version string in $2 to numeric and affect to polymorphic var $1
|
||||||
|
AC_DEFUN([_AX_BOOST_BASE_TONUMERICVERSION],[
|
||||||
|
AS_IF([test "x$2" = "x"],[_AX_BOOST_BASE_TONUMERICVERSION_req="1.20.0"],[_AX_BOOST_BASE_TONUMERICVERSION_req="$2"])
|
||||||
|
_AX_BOOST_BASE_TONUMERICVERSION_req_shorten=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([[0-9]]*\.[[0-9]]*\)'`
|
||||||
|
_AX_BOOST_BASE_TONUMERICVERSION_req_major=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([[0-9]]*\)'`
|
||||||
|
AS_IF([test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_major" = "x"],
|
||||||
|
[AC_MSG_ERROR([You should at least specify libboost major version])])
|
||||||
|
_AX_BOOST_BASE_TONUMERICVERSION_req_minor=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[[0-9]]*\.\([[0-9]]*\)'`
|
||||||
|
AS_IF([test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_minor" = "x"],
|
||||||
|
[_AX_BOOST_BASE_TONUMERICVERSION_req_minor="0"])
|
||||||
|
_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'`
|
||||||
|
AS_IF([test "X$_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor" = "X"],
|
||||||
|
[_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor="0"])
|
||||||
|
_AX_BOOST_BASE_TONUMERICVERSION_RET=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req_major \* 100000 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_minor \* 100 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor`
|
||||||
|
AS_VAR_SET($1,$_AX_BOOST_BASE_TONUMERICVERSION_RET)
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl Run the detection of boost should be run only if $want_boost
|
||||||
|
AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[
|
||||||
|
_AX_BOOST_BASE_TONUMERICVERSION(WANT_BOOST_VERSION,[$1])
|
||||||
|
succeeded=no
|
||||||
|
|
||||||
|
|
||||||
|
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||||
|
dnl On 64-bit systems check for system libraries in both lib64 and lib.
|
||||||
|
dnl The former is specified by FHS, but e.g. Debian does not adhere to
|
||||||
|
dnl this (as it rises problems for generic multi-arch support).
|
||||||
|
dnl The last entry in the list is chosen by default when no libraries
|
||||||
|
dnl are found, e.g. when only header-only libraries are installed!
|
||||||
|
AS_CASE([${host_cpu}],
|
||||||
|
[x86_64],[libsubdirs="lib64 libx32 lib lib64"],
|
||||||
|
[ppc64|s390x|sparc64|aarch64|ppc64le],[libsubdirs="lib64 lib lib64"],
|
||||||
|
[libsubdirs="lib"],
|
||||||
|
)
|
||||||
|
|
||||||
|
dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give
|
||||||
|
dnl them priority over the other paths since, if libs are found there, they
|
||||||
|
dnl are almost assuredly the ones desired.
|
||||||
|
AS_CASE([${host_cpu}],
|
||||||
|
[i?86],[multiarch_libsubdir="lib/i386-${host_os}"],
|
||||||
|
[multiarch_libsubdir="lib/${host_cpu}-${host_os}"]
|
||||||
|
)
|
||||||
|
|
||||||
|
dnl first we check the system location for boost libraries
|
||||||
|
dnl this location ist chosen if boost libraries are installed with the --layout=system option
|
||||||
|
dnl or if you install boost with RPM
|
||||||
|
AS_IF([test "x$_AX_BOOST_BASE_boost_path" != "x"],[
|
||||||
|
AC_MSG_CHECKING([for boostlib >= $1 ($WANT_BOOST_VERSION) includes in "$_AX_BOOST_BASE_boost_path/include"])
|
||||||
|
AS_IF([test -d "$_AX_BOOST_BASE_boost_path/include" && test -r "$_AX_BOOST_BASE_boost_path/include"],[
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path/include"
|
||||||
|
for _AX_BOOST_BASE_boost_path_tmp in $multiarch_libsubdir $libsubdirs; do
|
||||||
|
AC_MSG_CHECKING([for boostlib >= $1 ($WANT_BOOST_VERSION) lib path in "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp"])
|
||||||
|
AS_IF([test -d "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp" && test -r "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp" ],[
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp";
|
||||||
|
break;
|
||||||
|
],
|
||||||
|
[AC_MSG_RESULT([no])])
|
||||||
|
done],[
|
||||||
|
AC_MSG_RESULT([no])])
|
||||||
|
],[
|
||||||
|
if test X"$cross_compiling" = Xyes; then
|
||||||
|
search_libsubdirs=$multiarch_libsubdir
|
||||||
|
else
|
||||||
|
search_libsubdirs="$multiarch_libsubdir $libsubdirs"
|
||||||
|
fi
|
||||||
|
for _AX_BOOST_BASE_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
|
||||||
|
if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
|
||||||
|
for libsubdir in $search_libsubdirs ; do
|
||||||
|
if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
|
||||||
|
done
|
||||||
|
BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path_tmp/$libsubdir"
|
||||||
|
BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path_tmp/include"
|
||||||
|
break;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl overwrite ld flags if we have required special directory with
|
||||||
|
dnl --with-boost-libdir parameter
|
||||||
|
AS_IF([test "x$_AX_BOOST_BASE_boost_lib_path" != "x"],
|
||||||
|
[BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_lib_path"])
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([for boostlib >= $1 ($WANT_BOOST_VERSION)])
|
||||||
|
CPPFLAGS_SAVED="$CPPFLAGS"
|
||||||
|
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
||||||
|
export CPPFLAGS
|
||||||
|
|
||||||
|
LDFLAGS_SAVED="$LDFLAGS"
|
||||||
|
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
|
||||||
|
export LDFLAGS
|
||||||
|
|
||||||
|
AC_REQUIRE([AC_PROG_CXX])
|
||||||
|
AC_LANG_PUSH(C++)
|
||||||
|
AC_COMPILE_IFELSE([_AX_BOOST_BASE_PROGRAM($WANT_BOOST_VERSION)],[
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
succeeded=yes
|
||||||
|
found_system=yes
|
||||||
|
],[
|
||||||
|
])
|
||||||
|
AC_LANG_POP([C++])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
dnl if we found no boost with system layout we search for boost libraries
|
||||||
|
dnl built and installed without the --layout=system option or for a staged(not installed) version
|
||||||
|
if test "x$succeeded" != "xyes" ; then
|
||||||
|
CPPFLAGS="$CPPFLAGS_SAVED"
|
||||||
|
LDFLAGS="$LDFLAGS_SAVED"
|
||||||
|
BOOST_CPPFLAGS=
|
||||||
|
if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
|
||||||
|
BOOST_LDFLAGS=
|
||||||
|
fi
|
||||||
|
_version=0
|
||||||
|
if test -n "$_AX_BOOST_BASE_boost_path" ; then
|
||||||
|
if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path"; then
|
||||||
|
for i in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
|
||||||
|
_version_tmp=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
|
||||||
|
V_CHECK=`expr $_version_tmp \> $_version`
|
||||||
|
if test "x$V_CHECK" = "x1" ; then
|
||||||
|
_version=$_version_tmp
|
||||||
|
fi
|
||||||
|
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
|
||||||
|
BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path/include/boost-$VERSION_UNDERSCORE"
|
||||||
|
done
|
||||||
|
dnl if nothing found search for layout used in Windows distributions
|
||||||
|
if test -z "$BOOST_CPPFLAGS"; then
|
||||||
|
if test -d "$_AX_BOOST_BASE_boost_path/boost" && test -r "$_AX_BOOST_BASE_boost_path/boost"; then
|
||||||
|
BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
dnl if we found something and BOOST_LDFLAGS was unset before
|
||||||
|
dnl (because "$_AX_BOOST_BASE_boost_lib_path" = ""), set it here.
|
||||||
|
if test -n "$BOOST_CPPFLAGS" && test -z "$BOOST_LDFLAGS"; then
|
||||||
|
for libsubdir in $libsubdirs ; do
|
||||||
|
if ls "$_AX_BOOST_BASE_boost_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
|
||||||
|
done
|
||||||
|
BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path/$libsubdir"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if test "x$cross_compiling" != "xyes" ; then
|
||||||
|
for _AX_BOOST_BASE_boost_path in /usr /usr/local /opt /opt/local ; do
|
||||||
|
if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then
|
||||||
|
for i in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
|
||||||
|
_version_tmp=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
|
||||||
|
V_CHECK=`expr $_version_tmp \> $_version`
|
||||||
|
if test "x$V_CHECK" = "x1" ; then
|
||||||
|
_version=$_version_tmp
|
||||||
|
best_path=$_AX_BOOST_BASE_boost_path
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
|
||||||
|
BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
|
||||||
|
if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
|
||||||
|
for libsubdir in $libsubdirs ; do
|
||||||
|
if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
|
||||||
|
done
|
||||||
|
BOOST_LDFLAGS="-L$best_path/$libsubdir"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -n "$BOOST_ROOT" ; then
|
||||||
|
for libsubdir in $libsubdirs ; do
|
||||||
|
if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
|
||||||
|
done
|
||||||
|
if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
|
||||||
|
version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
|
||||||
|
stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
|
||||||
|
stage_version_shorten=`expr $stage_version : '\([[0-9]]*\.[[0-9]]*\)'`
|
||||||
|
V_CHECK=`expr $stage_version_shorten \>\= $_version`
|
||||||
|
if test "x$V_CHECK" = "x1" && test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
|
||||||
|
AC_MSG_NOTICE(We will use a staged boost library from $BOOST_ROOT)
|
||||||
|
BOOST_CPPFLAGS="-I$BOOST_ROOT"
|
||||||
|
BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
||||||
|
export CPPFLAGS
|
||||||
|
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
|
||||||
|
export LDFLAGS
|
||||||
|
|
||||||
|
AC_LANG_PUSH(C++)
|
||||||
|
AC_COMPILE_IFELSE([_AX_BOOST_BASE_PROGRAM($WANT_BOOST_VERSION)],[
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
succeeded=yes
|
||||||
|
found_system=yes
|
||||||
|
],[
|
||||||
|
])
|
||||||
|
AC_LANG_POP([C++])
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$succeeded" != "xyes" ; then
|
||||||
|
if test "x$_version" = "x0" ; then
|
||||||
|
AC_MSG_NOTICE([[We could not detect the boost libraries (version $1 or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.]])
|
||||||
|
else
|
||||||
|
AC_MSG_NOTICE([Your boost libraries seems to old (version $_version).])
|
||||||
|
fi
|
||||||
|
# execute ACTION-IF-NOT-FOUND (if present):
|
||||||
|
ifelse([$3], , :, [$3])
|
||||||
|
else
|
||||||
|
AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available])
|
||||||
|
# execute ACTION-IF-FOUND (if present):
|
||||||
|
ifelse([$2], , :, [$2])
|
||||||
|
fi
|
||||||
|
|
||||||
|
CPPFLAGS="$CPPFLAGS_SAVED"
|
||||||
|
LDFLAGS="$LDFLAGS_SAVED"
|
||||||
|
|
||||||
|
])
|
121
m4/ax_boost_system.m4
Normal file
121
m4/ax_boost_system.m4
Normal file
|
@ -0,0 +1,121 @@
|
||||||
|
# ===========================================================================
|
||||||
|
# https://www.gnu.org/software/autoconf-archive/ax_boost_system.html
|
||||||
|
# ===========================================================================
|
||||||
|
#
|
||||||
|
# SYNOPSIS
|
||||||
|
#
|
||||||
|
# AX_BOOST_SYSTEM
|
||||||
|
#
|
||||||
|
# DESCRIPTION
|
||||||
|
#
|
||||||
|
# Test for System library from the Boost C++ libraries. The macro requires
|
||||||
|
# a preceding call to AX_BOOST_BASE. Further documentation is available at
|
||||||
|
# <http://randspringer.de/boost/index.html>.
|
||||||
|
#
|
||||||
|
# This macro calls:
|
||||||
|
#
|
||||||
|
# AC_SUBST(BOOST_SYSTEM_LIB)
|
||||||
|
#
|
||||||
|
# And sets:
|
||||||
|
#
|
||||||
|
# HAVE_BOOST_SYSTEM
|
||||||
|
#
|
||||||
|
# LICENSE
|
||||||
|
#
|
||||||
|
# Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de>
|
||||||
|
# Copyright (c) 2008 Michael Tindal
|
||||||
|
# Copyright (c) 2008 Daniel Casimiro <dan.casimiro@gmail.com>
|
||||||
|
#
|
||||||
|
# Copying and distribution of this file, with or without modification, are
|
||||||
|
# permitted in any medium without royalty provided the copyright notice
|
||||||
|
# and this notice are preserved. This file is offered as-is, without any
|
||||||
|
# warranty.
|
||||||
|
|
||||||
|
#serial 19
|
||||||
|
|
||||||
|
AC_DEFUN([AX_BOOST_SYSTEM],
|
||||||
|
[
|
||||||
|
AC_ARG_WITH([boost-system],
|
||||||
|
AS_HELP_STRING([--with-boost-system@<:@=special-lib@:>@],
|
||||||
|
[use the System library from boost - it is possible to specify a certain library for the linker
|
||||||
|
e.g. --with-boost-system=boost_system-gcc-mt ]),
|
||||||
|
[
|
||||||
|
if test "$withval" = "no"; then
|
||||||
|
want_boost="no"
|
||||||
|
elif test "$withval" = "yes"; then
|
||||||
|
want_boost="yes"
|
||||||
|
ax_boost_user_system_lib=""
|
||||||
|
else
|
||||||
|
want_boost="yes"
|
||||||
|
ax_boost_user_system_lib="$withval"
|
||||||
|
fi
|
||||||
|
],
|
||||||
|
[want_boost="yes"]
|
||||||
|
)
|
||||||
|
|
||||||
|
if test "x$want_boost" = "xyes"; then
|
||||||
|
AC_REQUIRE([AC_PROG_CC])
|
||||||
|
AC_REQUIRE([AC_CANONICAL_BUILD])
|
||||||
|
CPPFLAGS_SAVED="$CPPFLAGS"
|
||||||
|
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
||||||
|
export CPPFLAGS
|
||||||
|
|
||||||
|
LDFLAGS_SAVED="$LDFLAGS"
|
||||||
|
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
|
||||||
|
export LDFLAGS
|
||||||
|
|
||||||
|
AC_CACHE_CHECK(whether the Boost::System library is available,
|
||||||
|
ax_cv_boost_system,
|
||||||
|
[AC_LANG_PUSH([C++])
|
||||||
|
CXXFLAGS_SAVE=$CXXFLAGS
|
||||||
|
CXXFLAGS=
|
||||||
|
|
||||||
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/system/error_code.hpp>]],
|
||||||
|
[[boost::system::error_category *a = 0;]])],
|
||||||
|
ax_cv_boost_system=yes, ax_cv_boost_system=no)
|
||||||
|
CXXFLAGS=$CXXFLAGS_SAVE
|
||||||
|
AC_LANG_POP([C++])
|
||||||
|
])
|
||||||
|
if test "x$ax_cv_boost_system" = "xyes"; then
|
||||||
|
AC_SUBST(BOOST_CPPFLAGS)
|
||||||
|
|
||||||
|
AC_DEFINE(HAVE_BOOST_SYSTEM,,[define if the Boost::System library is available])
|
||||||
|
BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
|
||||||
|
|
||||||
|
LDFLAGS_SAVE=$LDFLAGS
|
||||||
|
if test "x$ax_boost_user_system_lib" = "x"; then
|
||||||
|
for libextension in `ls -r $BOOSTLIBDIR/libboost_system* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
|
||||||
|
ax_lib=${libextension}
|
||||||
|
AC_CHECK_LIB($ax_lib, exit,
|
||||||
|
[BOOST_SYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_SYSTEM_LIB) link_system="yes"; break],
|
||||||
|
[link_system="no"])
|
||||||
|
done
|
||||||
|
if test "x$link_system" != "xyes"; then
|
||||||
|
for libextension in `ls -r $BOOSTLIBDIR/boost_system* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
|
||||||
|
ax_lib=${libextension}
|
||||||
|
AC_CHECK_LIB($ax_lib, exit,
|
||||||
|
[BOOST_SYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_SYSTEM_LIB) link_system="yes"; break],
|
||||||
|
[link_system="no"])
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
else
|
||||||
|
for ax_lib in $ax_boost_user_system_lib boost_system-$ax_boost_user_system_lib; do
|
||||||
|
AC_CHECK_LIB($ax_lib, exit,
|
||||||
|
[BOOST_SYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_SYSTEM_LIB) link_system="yes"; break],
|
||||||
|
[link_system="no"])
|
||||||
|
done
|
||||||
|
|
||||||
|
fi
|
||||||
|
if test "x$ax_lib" = "x"; then
|
||||||
|
AC_MSG_ERROR(Could not find a version of the library!)
|
||||||
|
fi
|
||||||
|
if test "x$link_system" = "xno"; then
|
||||||
|
AC_MSG_ERROR(Could not link against $ax_lib !)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
CPPFLAGS="$CPPFLAGS_SAVED"
|
||||||
|
LDFLAGS="$LDFLAGS_SAVED"
|
||||||
|
fi
|
||||||
|
])
|
562
m4/ax_cxx_compile_stdcxx.m4
Normal file
562
m4/ax_cxx_compile_stdcxx.m4
Normal file
|
@ -0,0 +1,562 @@
|
||||||
|
# ===========================================================================
|
||||||
|
# http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
|
||||||
|
# ===========================================================================
|
||||||
|
#
|
||||||
|
# SYNOPSIS
|
||||||
|
#
|
||||||
|
# AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
|
||||||
|
#
|
||||||
|
# DESCRIPTION
|
||||||
|
#
|
||||||
|
# Check for baseline language coverage in the compiler for the specified
|
||||||
|
# version of the C++ standard. If necessary, add switches to CXX and
|
||||||
|
# CXXCPP to enable support. VERSION may be '11' (for the C++11 standard)
|
||||||
|
# or '14' (for the C++14 standard).
|
||||||
|
#
|
||||||
|
# The second argument, if specified, indicates whether you insist on an
|
||||||
|
# extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
|
||||||
|
# -std=c++11). If neither is specified, you get whatever works, with
|
||||||
|
# preference for an extended mode.
|
||||||
|
#
|
||||||
|
# The third argument, if specified 'mandatory' or if left unspecified,
|
||||||
|
# indicates that baseline support for the specified C++ standard is
|
||||||
|
# required and that the macro should error out if no mode with that
|
||||||
|
# support is found. If specified 'optional', then configuration proceeds
|
||||||
|
# regardless, after defining HAVE_CXX${VERSION} if and only if a
|
||||||
|
# supporting mode is found.
|
||||||
|
#
|
||||||
|
# LICENSE
|
||||||
|
#
|
||||||
|
# Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
# Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
|
||||||
|
# Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
|
||||||
|
# Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
|
||||||
|
# Copyright (c) 2015 Paul Norman <penorman@mac.com>
|
||||||
|
# Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
|
||||||
|
#
|
||||||
|
# Copying and distribution of this file, with or without modification, are
|
||||||
|
# permitted in any medium without royalty provided the copyright notice
|
||||||
|
# and this notice are preserved. This file is offered as-is, without any
|
||||||
|
# warranty.
|
||||||
|
|
||||||
|
#serial 4
|
||||||
|
|
||||||
|
dnl This macro is based on the code from the AX_CXX_COMPILE_STDCXX_11 macro
|
||||||
|
dnl (serial version number 13).
|
||||||
|
|
||||||
|
AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl
|
||||||
|
m4_if([$1], [11], [],
|
||||||
|
[$1], [14], [],
|
||||||
|
[$1], [17], [m4_fatal([support for C++17 not yet implemented in AX_CXX_COMPILE_STDCXX])],
|
||||||
|
[m4_fatal([invalid first argument `$1' to AX_CXX_COMPILE_STDCXX])])dnl
|
||||||
|
m4_if([$2], [], [],
|
||||||
|
[$2], [ext], [],
|
||||||
|
[$2], [noext], [],
|
||||||
|
[m4_fatal([invalid second argument `$2' to AX_CXX_COMPILE_STDCXX])])dnl
|
||||||
|
m4_if([$3], [], [ax_cxx_compile_cxx$1_required=true],
|
||||||
|
[$3], [mandatory], [ax_cxx_compile_cxx$1_required=true],
|
||||||
|
[$3], [optional], [ax_cxx_compile_cxx$1_required=false],
|
||||||
|
[m4_fatal([invalid third argument `$3' to AX_CXX_COMPILE_STDCXX])])
|
||||||
|
AC_LANG_PUSH([C++])dnl
|
||||||
|
ac_success=no
|
||||||
|
AC_CACHE_CHECK(whether $CXX supports C++$1 features by default,
|
||||||
|
ax_cv_cxx_compile_cxx$1,
|
||||||
|
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
|
||||||
|
[ax_cv_cxx_compile_cxx$1=yes],
|
||||||
|
[ax_cv_cxx_compile_cxx$1=no])])
|
||||||
|
if test x$ax_cv_cxx_compile_cxx$1 = xyes; then
|
||||||
|
ac_success=yes
|
||||||
|
fi
|
||||||
|
|
||||||
|
m4_if([$2], [noext], [], [dnl
|
||||||
|
if test x$ac_success = xno; then
|
||||||
|
for switch in -std=gnu++$1 -std=gnu++0x; do
|
||||||
|
cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch])
|
||||||
|
AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch,
|
||||||
|
$cachevar,
|
||||||
|
[ac_save_CXX="$CXX"
|
||||||
|
CXX="$CXX $switch"
|
||||||
|
AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
|
||||||
|
[eval $cachevar=yes],
|
||||||
|
[eval $cachevar=no])
|
||||||
|
CXX="$ac_save_CXX"])
|
||||||
|
if eval test x\$$cachevar = xyes; then
|
||||||
|
CXX="$CXX $switch"
|
||||||
|
if test -n "$CXXCPP" ; then
|
||||||
|
CXXCPP="$CXXCPP $switch"
|
||||||
|
fi
|
||||||
|
ac_success=yes
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi])
|
||||||
|
|
||||||
|
m4_if([$2], [ext], [], [dnl
|
||||||
|
if test x$ac_success = xno; then
|
||||||
|
dnl HP's aCC needs +std=c++11 according to:
|
||||||
|
dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf
|
||||||
|
dnl Cray's crayCC needs "-h std=c++11"
|
||||||
|
for switch in -std=c++$1 -std=c++0x +std=c++$1 "-h std=c++$1"; do
|
||||||
|
cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch])
|
||||||
|
AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch,
|
||||||
|
$cachevar,
|
||||||
|
[ac_save_CXX="$CXX"
|
||||||
|
CXX="$CXX $switch"
|
||||||
|
AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
|
||||||
|
[eval $cachevar=yes],
|
||||||
|
[eval $cachevar=no])
|
||||||
|
CXX="$ac_save_CXX"])
|
||||||
|
if eval test x\$$cachevar = xyes; then
|
||||||
|
CXX="$CXX $switch"
|
||||||
|
if test -n "$CXXCPP" ; then
|
||||||
|
CXXCPP="$CXXCPP $switch"
|
||||||
|
fi
|
||||||
|
ac_success=yes
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi])
|
||||||
|
AC_LANG_POP([C++])
|
||||||
|
if test x$ax_cxx_compile_cxx$1_required = xtrue; then
|
||||||
|
if test x$ac_success = xno; then
|
||||||
|
AC_MSG_ERROR([*** A compiler with support for C++$1 language features is required.])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if test x$ac_success = xno; then
|
||||||
|
HAVE_CXX$1=0
|
||||||
|
AC_MSG_NOTICE([No compiler with C++$1 support was found])
|
||||||
|
else
|
||||||
|
HAVE_CXX$1=1
|
||||||
|
AC_DEFINE(HAVE_CXX$1,1,
|
||||||
|
[define if the compiler supports basic C++$1 syntax])
|
||||||
|
fi
|
||||||
|
AC_SUBST(HAVE_CXX$1)
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl Test body for checking C++11 support
|
||||||
|
|
||||||
|
m4_define([_AX_CXX_COMPILE_STDCXX_testbody_11],
|
||||||
|
_AX_CXX_COMPILE_STDCXX_testbody_new_in_11
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
dnl Test body for checking C++14 support
|
||||||
|
|
||||||
|
m4_define([_AX_CXX_COMPILE_STDCXX_testbody_14],
|
||||||
|
_AX_CXX_COMPILE_STDCXX_testbody_new_in_11
|
||||||
|
_AX_CXX_COMPILE_STDCXX_testbody_new_in_14
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
dnl Tests for new features in C++11
|
||||||
|
|
||||||
|
m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_11], [[
|
||||||
|
|
||||||
|
// If the compiler admits that it is not ready for C++11, why torture it?
|
||||||
|
// Hopefully, this will speed up the test.
|
||||||
|
|
||||||
|
#ifndef __cplusplus
|
||||||
|
|
||||||
|
#error "This is not a C++ compiler"
|
||||||
|
|
||||||
|
#elif __cplusplus < 201103L
|
||||||
|
|
||||||
|
#error "This is not a C++11 compiler"
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
namespace cxx11
|
||||||
|
{
|
||||||
|
|
||||||
|
namespace test_static_assert
|
||||||
|
{
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
|
struct check
|
||||||
|
{
|
||||||
|
static_assert(sizeof(int) <= sizeof(T), "not big enough");
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_final_override
|
||||||
|
{
|
||||||
|
|
||||||
|
struct Base
|
||||||
|
{
|
||||||
|
virtual void f() {}
|
||||||
|
};
|
||||||
|
|
||||||
|
struct Derived : public Base
|
||||||
|
{
|
||||||
|
virtual void f() override {}
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_double_right_angle_brackets
|
||||||
|
{
|
||||||
|
|
||||||
|
template < typename T >
|
||||||
|
struct check {};
|
||||||
|
|
||||||
|
typedef check<void> single_type;
|
||||||
|
typedef check<check<void>> double_type;
|
||||||
|
typedef check<check<check<void>>> triple_type;
|
||||||
|
typedef check<check<check<check<void>>>> quadruple_type;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_decltype
|
||||||
|
{
|
||||||
|
|
||||||
|
int
|
||||||
|
f()
|
||||||
|
{
|
||||||
|
int a = 1;
|
||||||
|
decltype(a) b = 2;
|
||||||
|
return a + b;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_type_deduction
|
||||||
|
{
|
||||||
|
|
||||||
|
template < typename T1, typename T2 >
|
||||||
|
struct is_same
|
||||||
|
{
|
||||||
|
static const bool value = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
template < typename T >
|
||||||
|
struct is_same<T, T>
|
||||||
|
{
|
||||||
|
static const bool value = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
template < typename T1, typename T2 >
|
||||||
|
auto
|
||||||
|
add(T1 a1, T2 a2) -> decltype(a1 + a2)
|
||||||
|
{
|
||||||
|
return a1 + a2;
|
||||||
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
test(const int c, volatile int v)
|
||||||
|
{
|
||||||
|
static_assert(is_same<int, decltype(0)>::value == true, "");
|
||||||
|
static_assert(is_same<int, decltype(c)>::value == false, "");
|
||||||
|
static_assert(is_same<int, decltype(v)>::value == false, "");
|
||||||
|
auto ac = c;
|
||||||
|
auto av = v;
|
||||||
|
auto sumi = ac + av + 'x';
|
||||||
|
auto sumf = ac + av + 1.0;
|
||||||
|
static_assert(is_same<int, decltype(ac)>::value == true, "");
|
||||||
|
static_assert(is_same<int, decltype(av)>::value == true, "");
|
||||||
|
static_assert(is_same<int, decltype(sumi)>::value == true, "");
|
||||||
|
static_assert(is_same<int, decltype(sumf)>::value == false, "");
|
||||||
|
static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
|
||||||
|
return (sumf > 0.0) ? sumi : add(c, v);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_noexcept
|
||||||
|
{
|
||||||
|
|
||||||
|
int f() { return 0; }
|
||||||
|
int g() noexcept { return 0; }
|
||||||
|
|
||||||
|
static_assert(noexcept(f()) == false, "");
|
||||||
|
static_assert(noexcept(g()) == true, "");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_constexpr
|
||||||
|
{
|
||||||
|
|
||||||
|
template < typename CharT >
|
||||||
|
unsigned long constexpr
|
||||||
|
strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
|
||||||
|
{
|
||||||
|
return *s ? strlen_c_r(s + 1, acc + 1) : acc;
|
||||||
|
}
|
||||||
|
|
||||||
|
template < typename CharT >
|
||||||
|
unsigned long constexpr
|
||||||
|
strlen_c(const CharT *const s) noexcept
|
||||||
|
{
|
||||||
|
return strlen_c_r(s, 0UL);
|
||||||
|
}
|
||||||
|
|
||||||
|
static_assert(strlen_c("") == 0UL, "");
|
||||||
|
static_assert(strlen_c("1") == 1UL, "");
|
||||||
|
static_assert(strlen_c("example") == 7UL, "");
|
||||||
|
static_assert(strlen_c("another\0example") == 7UL, "");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_rvalue_references
|
||||||
|
{
|
||||||
|
|
||||||
|
template < int N >
|
||||||
|
struct answer
|
||||||
|
{
|
||||||
|
static constexpr int value = N;
|
||||||
|
};
|
||||||
|
|
||||||
|
answer<1> f(int&) { return answer<1>(); }
|
||||||
|
answer<2> f(const int&) { return answer<2>(); }
|
||||||
|
answer<3> f(int&&) { return answer<3>(); }
|
||||||
|
|
||||||
|
void
|
||||||
|
test()
|
||||||
|
{
|
||||||
|
int i = 0;
|
||||||
|
const int c = 0;
|
||||||
|
static_assert(decltype(f(i))::value == 1, "");
|
||||||
|
static_assert(decltype(f(c))::value == 2, "");
|
||||||
|
static_assert(decltype(f(0))::value == 3, "");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_uniform_initialization
|
||||||
|
{
|
||||||
|
|
||||||
|
struct test
|
||||||
|
{
|
||||||
|
static const int zero {};
|
||||||
|
static const int one {1};
|
||||||
|
};
|
||||||
|
|
||||||
|
static_assert(test::zero == 0, "");
|
||||||
|
static_assert(test::one == 1, "");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_lambdas
|
||||||
|
{
|
||||||
|
|
||||||
|
void
|
||||||
|
test1()
|
||||||
|
{
|
||||||
|
auto lambda1 = [](){};
|
||||||
|
auto lambda2 = lambda1;
|
||||||
|
lambda1();
|
||||||
|
lambda2();
|
||||||
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
test2()
|
||||||
|
{
|
||||||
|
auto a = [](int i, int j){ return i + j; }(1, 2);
|
||||||
|
auto b = []() -> int { return '0'; }();
|
||||||
|
auto c = [=](){ return a + b; }();
|
||||||
|
auto d = [&](){ return c; }();
|
||||||
|
auto e = [a, &b](int x) mutable {
|
||||||
|
const auto identity = [](int y){ return y; };
|
||||||
|
for (auto i = 0; i < a; ++i)
|
||||||
|
a += b--;
|
||||||
|
return x + identity(a + b);
|
||||||
|
}(0);
|
||||||
|
return a + b + c + d + e;
|
||||||
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
test3()
|
||||||
|
{
|
||||||
|
const auto nullary = [](){ return 0; };
|
||||||
|
const auto unary = [](int x){ return x; };
|
||||||
|
using nullary_t = decltype(nullary);
|
||||||
|
using unary_t = decltype(unary);
|
||||||
|
const auto higher1st = [](nullary_t f){ return f(); };
|
||||||
|
const auto higher2nd = [unary](nullary_t f1){
|
||||||
|
return [unary, f1](unary_t f2){ return f2(unary(f1())); };
|
||||||
|
};
|
||||||
|
return higher1st(nullary) + higher2nd(nullary)(unary);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_variadic_templates
|
||||||
|
{
|
||||||
|
|
||||||
|
template <int...>
|
||||||
|
struct sum;
|
||||||
|
|
||||||
|
template <int N0, int... N1toN>
|
||||||
|
struct sum<N0, N1toN...>
|
||||||
|
{
|
||||||
|
static constexpr auto value = N0 + sum<N1toN...>::value;
|
||||||
|
};
|
||||||
|
|
||||||
|
template <>
|
||||||
|
struct sum<>
|
||||||
|
{
|
||||||
|
static constexpr auto value = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
static_assert(sum<>::value == 0, "");
|
||||||
|
static_assert(sum<1>::value == 1, "");
|
||||||
|
static_assert(sum<23>::value == 23, "");
|
||||||
|
static_assert(sum<1, 2>::value == 3, "");
|
||||||
|
static_assert(sum<5, 5, 11>::value == 21, "");
|
||||||
|
static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
|
||||||
|
// Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
|
||||||
|
// because of this.
|
||||||
|
namespace test_template_alias_sfinae
|
||||||
|
{
|
||||||
|
|
||||||
|
struct foo {};
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
using member = typename T::member_type;
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
void func(...) {}
|
||||||
|
|
||||||
|
template<typename T>
|
||||||
|
void func(member<T>*) {}
|
||||||
|
|
||||||
|
void test();
|
||||||
|
|
||||||
|
void test() { func<foo>(0); }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace cxx11
|
||||||
|
|
||||||
|
#endif // __cplusplus >= 201103L
|
||||||
|
|
||||||
|
]])
|
||||||
|
|
||||||
|
|
||||||
|
dnl Tests for new features in C++14
|
||||||
|
|
||||||
|
m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_14], [[
|
||||||
|
|
||||||
|
// If the compiler admits that it is not ready for C++14, why torture it?
|
||||||
|
// Hopefully, this will speed up the test.
|
||||||
|
|
||||||
|
#ifndef __cplusplus
|
||||||
|
|
||||||
|
#error "This is not a C++ compiler"
|
||||||
|
|
||||||
|
#elif __cplusplus < 201402L
|
||||||
|
|
||||||
|
#error "This is not a C++14 compiler"
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
namespace cxx14
|
||||||
|
{
|
||||||
|
|
||||||
|
namespace test_polymorphic_lambdas
|
||||||
|
{
|
||||||
|
|
||||||
|
int
|
||||||
|
test()
|
||||||
|
{
|
||||||
|
const auto lambda = [](auto&&... args){
|
||||||
|
const auto istiny = [](auto x){
|
||||||
|
return (sizeof(x) == 1UL) ? 1 : 0;
|
||||||
|
};
|
||||||
|
const int aretiny[] = { istiny(args)... };
|
||||||
|
return aretiny[0];
|
||||||
|
};
|
||||||
|
return lambda(1, 1L, 1.0f, '1');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_binary_literals
|
||||||
|
{
|
||||||
|
|
||||||
|
constexpr auto ivii = 0b0000000000101010;
|
||||||
|
static_assert(ivii == 42, "wrong value");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_generalized_constexpr
|
||||||
|
{
|
||||||
|
|
||||||
|
template < typename CharT >
|
||||||
|
constexpr unsigned long
|
||||||
|
strlen_c(const CharT *const s) noexcept
|
||||||
|
{
|
||||||
|
auto length = 0UL;
|
||||||
|
for (auto p = s; *p; ++p)
|
||||||
|
++length;
|
||||||
|
return length;
|
||||||
|
}
|
||||||
|
|
||||||
|
static_assert(strlen_c("") == 0UL, "");
|
||||||
|
static_assert(strlen_c("x") == 1UL, "");
|
||||||
|
static_assert(strlen_c("test") == 4UL, "");
|
||||||
|
static_assert(strlen_c("another\0test") == 7UL, "");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_lambda_init_capture
|
||||||
|
{
|
||||||
|
|
||||||
|
int
|
||||||
|
test()
|
||||||
|
{
|
||||||
|
auto x = 0;
|
||||||
|
const auto lambda1 = [a = x](int b){ return a + b; };
|
||||||
|
const auto lambda2 = [a = lambda1(x)](){ return a; };
|
||||||
|
return lambda2();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_digit_seperators
|
||||||
|
{
|
||||||
|
|
||||||
|
constexpr auto ten_million = 100'000'000;
|
||||||
|
static_assert(ten_million == 100000000, "");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace test_return_type_deduction
|
||||||
|
{
|
||||||
|
|
||||||
|
auto f(int& x) { return x; }
|
||||||
|
decltype(auto) g(int& x) { return x; }
|
||||||
|
|
||||||
|
template < typename T1, typename T2 >
|
||||||
|
struct is_same
|
||||||
|
{
|
||||||
|
static constexpr auto value = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
template < typename T >
|
||||||
|
struct is_same<T, T>
|
||||||
|
{
|
||||||
|
static constexpr auto value = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
int
|
||||||
|
test()
|
||||||
|
{
|
||||||
|
auto x = 0;
|
||||||
|
static_assert(is_same<int, decltype(f(x))>::value, "");
|
||||||
|
static_assert(is_same<int&, decltype(g(x))>::value, "");
|
||||||
|
return x;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace cxx14
|
||||||
|
|
||||||
|
#endif // __cplusplus >= 201402L
|
||||||
|
|
||||||
|
]])
|
8387
m4/libtool.m4
vendored
Normal file
8387
m4/libtool.m4
vendored
Normal file
File diff suppressed because it is too large
Load diff
437
m4/ltoptions.m4
vendored
Normal file
437
m4/ltoptions.m4
vendored
Normal file
|
@ -0,0 +1,437 @@
|
||||||
|
# Helper functions for option handling. -*- Autoconf -*-
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
|
||||||
|
# Foundation, Inc.
|
||||||
|
# Written by Gary V. Vaughan, 2004
|
||||||
|
#
|
||||||
|
# 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 ltoptions.m4
|
||||||
|
|
||||||
|
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||||
|
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
|
||||||
|
# ------------------------------------------
|
||||||
|
m4_define([_LT_MANGLE_OPTION],
|
||||||
|
[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
|
||||||
|
# ---------------------------------------
|
||||||
|
# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
|
||||||
|
# matching handler defined, dispatch to it. Other OPTION-NAMEs are
|
||||||
|
# saved as a flag.
|
||||||
|
m4_define([_LT_SET_OPTION],
|
||||||
|
[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
|
||||||
|
m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
|
||||||
|
_LT_MANGLE_DEFUN([$1], [$2]),
|
||||||
|
[m4_warning([Unknown $1 option '$2'])])[]dnl
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
|
||||||
|
# ------------------------------------------------------------
|
||||||
|
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||||
|
m4_define([_LT_IF_OPTION],
|
||||||
|
[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
|
||||||
|
# -------------------------------------------------------
|
||||||
|
# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
|
||||||
|
# are set.
|
||||||
|
m4_define([_LT_UNLESS_OPTIONS],
|
||||||
|
[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
|
||||||
|
[m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
|
||||||
|
[m4_define([$0_found])])])[]dnl
|
||||||
|
m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
|
||||||
|
])[]dnl
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
|
||||||
|
# ----------------------------------------
|
||||||
|
# OPTION-LIST is a space-separated list of Libtool options associated
|
||||||
|
# with MACRO-NAME. If any OPTION has a matching handler declared with
|
||||||
|
# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
|
||||||
|
# the unknown option and exit.
|
||||||
|
m4_defun([_LT_SET_OPTIONS],
|
||||||
|
[# Set options
|
||||||
|
m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
|
||||||
|
[_LT_SET_OPTION([$1], _LT_Option)])
|
||||||
|
|
||||||
|
m4_if([$1],[LT_INIT],[
|
||||||
|
dnl
|
||||||
|
dnl Simply set some default values (i.e off) if boolean options were not
|
||||||
|
dnl specified:
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
|
||||||
|
])
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
|
||||||
|
])
|
||||||
|
dnl
|
||||||
|
dnl If no reference was made to various pairs of opposing options, then
|
||||||
|
dnl we run the default mode handler for the pair. For example, if neither
|
||||||
|
dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
|
||||||
|
dnl archives by default:
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
|
||||||
|
[_LT_ENABLE_FAST_INSTALL])
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
|
||||||
|
[_LT_WITH_AIX_SONAME([aix])])
|
||||||
|
])
|
||||||
|
])# _LT_SET_OPTIONS
|
||||||
|
|
||||||
|
|
||||||
|
## --------------------------------- ##
|
||||||
|
## Macros to handle LT_INIT options. ##
|
||||||
|
## --------------------------------- ##
|
||||||
|
|
||||||
|
# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
|
||||||
|
# -----------------------------------------
|
||||||
|
m4_define([_LT_MANGLE_DEFUN],
|
||||||
|
[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
|
||||||
|
|
||||||
|
|
||||||
|
# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
|
||||||
|
# -----------------------------------------------
|
||||||
|
m4_define([LT_OPTION_DEFINE],
|
||||||
|
[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
|
||||||
|
])# LT_OPTION_DEFINE
|
||||||
|
|
||||||
|
|
||||||
|
# dlopen
|
||||||
|
# ------
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
|
||||||
|
])
|
||||||
|
|
||||||
|
AU_DEFUN([AC_LIBTOOL_DLOPEN],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], [dlopen])
|
||||||
|
AC_DIAGNOSE([obsolete],
|
||||||
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||||
|
put the 'dlopen' option into LT_INIT's first parameter.])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
|
||||||
|
|
||||||
|
|
||||||
|
# win32-dll
|
||||||
|
# ---------
|
||||||
|
# Declare package support for building win32 dll's.
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [win32-dll],
|
||||||
|
[enable_win32_dll=yes
|
||||||
|
|
||||||
|
case $host in
|
||||||
|
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
|
||||||
|
AC_CHECK_TOOL(AS, as, false)
|
||||||
|
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
|
||||||
|
AC_CHECK_TOOL(OBJDUMP, objdump, false)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
test -z "$AS" && AS=as
|
||||||
|
_LT_DECL([], [AS], [1], [Assembler program])dnl
|
||||||
|
|
||||||
|
test -z "$DLLTOOL" && DLLTOOL=dlltool
|
||||||
|
_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
|
||||||
|
|
||||||
|
test -z "$OBJDUMP" && OBJDUMP=objdump
|
||||||
|
_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
|
||||||
|
])# win32-dll
|
||||||
|
|
||||||
|
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
|
||||||
|
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||||
|
_LT_SET_OPTION([LT_INIT], [win32-dll])
|
||||||
|
AC_DIAGNOSE([obsolete],
|
||||||
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||||
|
put the 'win32-dll' option into LT_INIT's first parameter.])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_ENABLE_SHARED([DEFAULT])
|
||||||
|
# ----------------------------
|
||||||
|
# implement the --enable-shared flag, and supports the 'shared' and
|
||||||
|
# 'disable-shared' LT_INIT options.
|
||||||
|
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||||
|
m4_define([_LT_ENABLE_SHARED],
|
||||||
|
[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||||
|
AC_ARG_ENABLE([shared],
|
||||||
|
[AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
|
||||||
|
[build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
|
||||||
|
[p=${PACKAGE-default}
|
||||||
|
case $enableval in
|
||||||
|
yes) enable_shared=yes ;;
|
||||||
|
no) enable_shared=no ;;
|
||||||
|
*)
|
||||||
|
enable_shared=no
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
|
for pkg in $enableval; do
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
if test "X$pkg" = "X$p"; then
|
||||||
|
enable_shared=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
[enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
|
||||||
|
|
||||||
|
_LT_DECL([build_libtool_libs], [enable_shared], [0],
|
||||||
|
[Whether or not to build shared libraries])
|
||||||
|
])# _LT_ENABLE_SHARED
|
||||||
|
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
|
||||||
|
|
||||||
|
# Old names:
|
||||||
|
AC_DEFUN([AC_ENABLE_SHARED],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_DEFUN([AC_DISABLE_SHARED],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], [disable-shared])
|
||||||
|
])
|
||||||
|
|
||||||
|
AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
|
||||||
|
AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AM_ENABLE_SHARED], [])
|
||||||
|
dnl AC_DEFUN([AM_DISABLE_SHARED], [])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_ENABLE_STATIC([DEFAULT])
|
||||||
|
# ----------------------------
|
||||||
|
# implement the --enable-static flag, and support the 'static' and
|
||||||
|
# 'disable-static' LT_INIT options.
|
||||||
|
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||||
|
m4_define([_LT_ENABLE_STATIC],
|
||||||
|
[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||||
|
AC_ARG_ENABLE([static],
|
||||||
|
[AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
|
||||||
|
[build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
|
||||||
|
[p=${PACKAGE-default}
|
||||||
|
case $enableval in
|
||||||
|
yes) enable_static=yes ;;
|
||||||
|
no) enable_static=no ;;
|
||||||
|
*)
|
||||||
|
enable_static=no
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
|
for pkg in $enableval; do
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
if test "X$pkg" = "X$p"; then
|
||||||
|
enable_static=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
[enable_static=]_LT_ENABLE_STATIC_DEFAULT)
|
||||||
|
|
||||||
|
_LT_DECL([build_old_libs], [enable_static], [0],
|
||||||
|
[Whether or not to build static libraries])
|
||||||
|
])# _LT_ENABLE_STATIC
|
||||||
|
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
|
||||||
|
|
||||||
|
# Old names:
|
||||||
|
AC_DEFUN([AC_ENABLE_STATIC],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_DEFUN([AC_DISABLE_STATIC],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], [disable-static])
|
||||||
|
])
|
||||||
|
|
||||||
|
AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
|
||||||
|
AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AM_ENABLE_STATIC], [])
|
||||||
|
dnl AC_DEFUN([AM_DISABLE_STATIC], [])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_ENABLE_FAST_INSTALL([DEFAULT])
|
||||||
|
# ----------------------------------
|
||||||
|
# implement the --enable-fast-install flag, and support the 'fast-install'
|
||||||
|
# and 'disable-fast-install' LT_INIT options.
|
||||||
|
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||||
|
m4_define([_LT_ENABLE_FAST_INSTALL],
|
||||||
|
[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||||
|
AC_ARG_ENABLE([fast-install],
|
||||||
|
[AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
|
||||||
|
[optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
|
||||||
|
[p=${PACKAGE-default}
|
||||||
|
case $enableval in
|
||||||
|
yes) enable_fast_install=yes ;;
|
||||||
|
no) enable_fast_install=no ;;
|
||||||
|
*)
|
||||||
|
enable_fast_install=no
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
|
for pkg in $enableval; do
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
if test "X$pkg" = "X$p"; then
|
||||||
|
enable_fast_install=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
[enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
|
||||||
|
|
||||||
|
_LT_DECL([fast_install], [enable_fast_install], [0],
|
||||||
|
[Whether or not to optimize for fast installation])dnl
|
||||||
|
])# _LT_ENABLE_FAST_INSTALL
|
||||||
|
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
|
||||||
|
|
||||||
|
# Old names:
|
||||||
|
AU_DEFUN([AC_ENABLE_FAST_INSTALL],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
|
||||||
|
AC_DIAGNOSE([obsolete],
|
||||||
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
||||||
|
the 'fast-install' option into LT_INIT's first parameter.])
|
||||||
|
])
|
||||||
|
|
||||||
|
AU_DEFUN([AC_DISABLE_FAST_INSTALL],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
|
||||||
|
AC_DIAGNOSE([obsolete],
|
||||||
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
||||||
|
the 'disable-fast-install' option into LT_INIT's first parameter.])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
|
||||||
|
dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_WITH_AIX_SONAME([DEFAULT])
|
||||||
|
# ----------------------------------
|
||||||
|
# implement the --with-aix-soname flag, and support the `aix-soname=aix'
|
||||||
|
# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
|
||||||
|
# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
|
||||||
|
m4_define([_LT_WITH_AIX_SONAME],
|
||||||
|
[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
|
||||||
|
shared_archive_member_spec=
|
||||||
|
case $host,$enable_shared in
|
||||||
|
power*-*-aix[[5-9]]*,yes)
|
||||||
|
AC_MSG_CHECKING([which variant of shared library versioning to provide])
|
||||||
|
AC_ARG_WITH([aix-soname],
|
||||||
|
[AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
|
||||||
|
[shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
|
||||||
|
[case $withval in
|
||||||
|
aix|svr4|both)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
AC_MSG_ERROR([Unknown argument to --with-aix-soname])
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
lt_cv_with_aix_soname=$with_aix_soname],
|
||||||
|
[AC_CACHE_VAL([lt_cv_with_aix_soname],
|
||||||
|
[lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
|
||||||
|
with_aix_soname=$lt_cv_with_aix_soname])
|
||||||
|
AC_MSG_RESULT([$with_aix_soname])
|
||||||
|
if test aix != "$with_aix_soname"; then
|
||||||
|
# For the AIX way of multilib, we name the shared archive member
|
||||||
|
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
|
||||||
|
# and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
|
||||||
|
# Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
|
||||||
|
# the AIX toolchain works better with OBJECT_MODE set (default 32).
|
||||||
|
if test 64 = "${OBJECT_MODE-32}"; then
|
||||||
|
shared_archive_member_spec=shr_64
|
||||||
|
else
|
||||||
|
shared_archive_member_spec=shr
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
with_aix_soname=aix
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
_LT_DECL([], [shared_archive_member_spec], [0],
|
||||||
|
[Shared archive member basename, for filename based shared library versioning on AIX])dnl
|
||||||
|
])# _LT_WITH_AIX_SONAME
|
||||||
|
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_WITH_PIC([MODE])
|
||||||
|
# --------------------
|
||||||
|
# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
|
||||||
|
# LT_INIT options.
|
||||||
|
# MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
|
||||||
|
m4_define([_LT_WITH_PIC],
|
||||||
|
[AC_ARG_WITH([pic],
|
||||||
|
[AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
|
||||||
|
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
|
||||||
|
[lt_p=${PACKAGE-default}
|
||||||
|
case $withval in
|
||||||
|
yes|no) pic_mode=$withval ;;
|
||||||
|
*)
|
||||||
|
pic_mode=default
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
|
for lt_pkg in $withval; do
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
if test "X$lt_pkg" = "X$lt_p"; then
|
||||||
|
pic_mode=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS=$lt_save_ifs
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
[pic_mode=m4_default([$1], [default])])
|
||||||
|
|
||||||
|
_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
|
||||||
|
])# _LT_WITH_PIC
|
||||||
|
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
|
||||||
|
|
||||||
|
# Old name:
|
||||||
|
AU_DEFUN([AC_LIBTOOL_PICMODE],
|
||||||
|
[_LT_SET_OPTION([LT_INIT], [pic-only])
|
||||||
|
AC_DIAGNOSE([obsolete],
|
||||||
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||||
|
put the 'pic-only' option into LT_INIT's first parameter.])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
|
||||||
|
|
||||||
|
## ----------------- ##
|
||||||
|
## LTDL_INIT Options ##
|
||||||
|
## ----------------- ##
|
||||||
|
|
||||||
|
m4_define([_LTDL_MODE], [])
|
||||||
|
LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
|
||||||
|
[m4_define([_LTDL_MODE], [nonrecursive])])
|
||||||
|
LT_OPTION_DEFINE([LTDL_INIT], [recursive],
|
||||||
|
[m4_define([_LTDL_MODE], [recursive])])
|
||||||
|
LT_OPTION_DEFINE([LTDL_INIT], [subproject],
|
||||||
|
[m4_define([_LTDL_MODE], [subproject])])
|
||||||
|
|
||||||
|
m4_define([_LTDL_TYPE], [])
|
||||||
|
LT_OPTION_DEFINE([LTDL_INIT], [installable],
|
||||||
|
[m4_define([_LTDL_TYPE], [installable])])
|
||||||
|
LT_OPTION_DEFINE([LTDL_INIT], [convenience],
|
||||||
|
[m4_define([_LTDL_TYPE], [convenience])])
|
124
m4/ltsugar.m4
vendored
Normal file
124
m4/ltsugar.m4
vendored
Normal file
|
@ -0,0 +1,124 @@
|
||||||
|
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
|
||||||
|
# Foundation, Inc.
|
||||||
|
# Written by Gary V. Vaughan, 2004
|
||||||
|
#
|
||||||
|
# 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 6 ltsugar.m4
|
||||||
|
|
||||||
|
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||||
|
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_join(SEP, ARG1, [ARG2...])
|
||||||
|
# -----------------------------
|
||||||
|
# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
|
||||||
|
# associated separator.
|
||||||
|
# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
|
||||||
|
# versions in m4sugar had bugs.
|
||||||
|
m4_define([lt_join],
|
||||||
|
[m4_if([$#], [1], [],
|
||||||
|
[$#], [2], [[$2]],
|
||||||
|
[m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
|
||||||
|
m4_define([_lt_join],
|
||||||
|
[m4_if([$#$2], [2], [],
|
||||||
|
[m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_car(LIST)
|
||||||
|
# lt_cdr(LIST)
|
||||||
|
# ------------
|
||||||
|
# Manipulate m4 lists.
|
||||||
|
# These macros are necessary as long as will still need to support
|
||||||
|
# Autoconf-2.59, which quotes differently.
|
||||||
|
m4_define([lt_car], [[$1]])
|
||||||
|
m4_define([lt_cdr],
|
||||||
|
[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
|
||||||
|
[$#], 1, [],
|
||||||
|
[m4_dquote(m4_shift($@))])])
|
||||||
|
m4_define([lt_unquote], $1)
|
||||||
|
|
||||||
|
|
||||||
|
# lt_append(MACRO-NAME, STRING, [SEPARATOR])
|
||||||
|
# ------------------------------------------
|
||||||
|
# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
|
||||||
|
# Note that neither SEPARATOR nor STRING are expanded; they are appended
|
||||||
|
# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
|
||||||
|
# No SEPARATOR is output if MACRO-NAME was previously undefined (different
|
||||||
|
# than defined and empty).
|
||||||
|
#
|
||||||
|
# This macro is needed until we can rely on Autoconf 2.62, since earlier
|
||||||
|
# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
|
||||||
|
m4_define([lt_append],
|
||||||
|
[m4_define([$1],
|
||||||
|
m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
|
||||||
|
# ----------------------------------------------------------
|
||||||
|
# Produce a SEP delimited list of all paired combinations of elements of
|
||||||
|
# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
|
||||||
|
# has the form PREFIXmINFIXSUFFIXn.
|
||||||
|
# Needed until we can rely on m4_combine added in Autoconf 2.62.
|
||||||
|
m4_define([lt_combine],
|
||||||
|
[m4_if(m4_eval([$# > 3]), [1],
|
||||||
|
[m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
|
||||||
|
[[m4_foreach([_Lt_prefix], [$2],
|
||||||
|
[m4_foreach([_Lt_suffix],
|
||||||
|
]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
|
||||||
|
[_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
|
||||||
|
# -----------------------------------------------------------------------
|
||||||
|
# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
|
||||||
|
# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
|
||||||
|
m4_define([lt_if_append_uniq],
|
||||||
|
[m4_ifdef([$1],
|
||||||
|
[m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
|
||||||
|
[lt_append([$1], [$2], [$3])$4],
|
||||||
|
[$5])],
|
||||||
|
[lt_append([$1], [$2], [$3])$4])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_dict_add(DICT, KEY, VALUE)
|
||||||
|
# -----------------------------
|
||||||
|
m4_define([lt_dict_add],
|
||||||
|
[m4_define([$1($2)], [$3])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
|
||||||
|
# --------------------------------------------
|
||||||
|
m4_define([lt_dict_add_subkey],
|
||||||
|
[m4_define([$1($2:$3)], [$4])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_dict_fetch(DICT, KEY, [SUBKEY])
|
||||||
|
# ----------------------------------
|
||||||
|
m4_define([lt_dict_fetch],
|
||||||
|
[m4_ifval([$3],
|
||||||
|
m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
|
||||||
|
m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
|
||||||
|
# -----------------------------------------------------------------
|
||||||
|
m4_define([lt_if_dict_fetch],
|
||||||
|
[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
|
||||||
|
[$5],
|
||||||
|
[$6])])
|
||||||
|
|
||||||
|
|
||||||
|
# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
|
||||||
|
# --------------------------------------------------------------
|
||||||
|
m4_define([lt_dict_filter],
|
||||||
|
[m4_if([$5], [], [],
|
||||||
|
[lt_join(m4_quote(m4_default([$4], [[, ]])),
|
||||||
|
lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
|
||||||
|
[lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
|
||||||
|
])
|
23
m4/ltversion.m4
vendored
Normal file
23
m4/ltversion.m4
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# ltversion.m4 -- version numbers -*- Autoconf -*-
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
|
||||||
|
# Written by Scott James Remnant, 2004
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# serial 4179 ltversion.m4
|
||||||
|
# This file is part of GNU Libtool
|
||||||
|
|
||||||
|
m4_define([LT_PACKAGE_VERSION], [2.4.6])
|
||||||
|
m4_define([LT_PACKAGE_REVISION], [2.4.6])
|
||||||
|
|
||||||
|
AC_DEFUN([LTVERSION_VERSION],
|
||||||
|
[macro_version='2.4.6'
|
||||||
|
macro_revision='2.4.6'
|
||||||
|
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
||||||
|
_LT_DECL(, macro_revision, 0)
|
||||||
|
])
|
99
m4/lt~obsolete.m4
vendored
Normal file
99
m4/lt~obsolete.m4
vendored
Normal file
|
@ -0,0 +1,99 @@
|
||||||
|
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
|
||||||
|
# Foundation, Inc.
|
||||||
|
# Written by Scott James Remnant, 2004.
|
||||||
|
#
|
||||||
|
# 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 5 lt~obsolete.m4
|
||||||
|
|
||||||
|
# These exist entirely to fool aclocal when bootstrapping libtool.
|
||||||
|
#
|
||||||
|
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
|
||||||
|
# which have later been changed to m4_define as they aren't part of the
|
||||||
|
# exported API, or moved to Autoconf or Automake where they belong.
|
||||||
|
#
|
||||||
|
# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
|
||||||
|
# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
|
||||||
|
# using a macro with the same name in our local m4/libtool.m4 it'll
|
||||||
|
# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
|
||||||
|
# and doesn't know about Autoconf macros at all.)
|
||||||
|
#
|
||||||
|
# So we provide this file, which has a silly filename so it's always
|
||||||
|
# included after everything else. This provides aclocal with the
|
||||||
|
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
|
||||||
|
# because those macros already exist, or will be overwritten later.
|
||||||
|
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
|
||||||
|
#
|
||||||
|
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
|
||||||
|
# Yes, that means every name once taken will need to remain here until
|
||||||
|
# we give up compatibility with versions before 1.7, at which point
|
||||||
|
# we need to keep only those names which we still refer to.
|
||||||
|
|
||||||
|
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||||
|
AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
|
||||||
|
|
||||||
|
m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
|
||||||
|
m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
|
||||||
|
m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
|
||||||
|
m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
|
||||||
|
m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
|
||||||
|
m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
|
||||||
|
m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
|
||||||
|
m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
|
||||||
|
m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
|
||||||
|
m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
|
||||||
|
m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
|
||||||
|
m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
|
||||||
|
m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
|
||||||
|
m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
|
||||||
|
m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
|
||||||
|
m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
|
||||||
|
m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
|
||||||
|
m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
|
||||||
|
m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
|
||||||
|
m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
|
||||||
|
m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
|
||||||
|
m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
|
||||||
|
m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
|
||||||
|
m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
|
||||||
|
m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
|
||||||
|
m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
|
||||||
|
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
|
||||||
|
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
|
||||||
|
m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
|
||||||
|
m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
|
||||||
|
m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
|
||||||
|
m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
|
||||||
|
m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
|
||||||
|
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
|
||||||
|
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
|
215
missing
Normal file
215
missing
Normal file
|
@ -0,0 +1,215 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Common wrapper for a few potentially missing GNU programs.
|
||||||
|
|
||||||
|
scriptversion=2018-03-07.03; # UTC
|
||||||
|
|
||||||
|
# Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||||
|
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||||
|
|
||||||
|
# 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, 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
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# 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, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
if test $# -eq 0; then
|
||||||
|
echo 1>&2 "Try '$0 --help' for more information"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
|
||||||
|
--is-lightweight)
|
||||||
|
# Used by our autoconf macros to check whether the available missing
|
||||||
|
# script is modern enough.
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
|
||||||
|
--run)
|
||||||
|
# Back-compat with the calling convention used by older automake.
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
|
||||||
|
-h|--h|--he|--hel|--help)
|
||||||
|
echo "\
|
||||||
|
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||||
|
|
||||||
|
Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
|
||||||
|
to PROGRAM being missing or too old.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
-h, --help display this help and exit
|
||||||
|
-v, --version output version information and exit
|
||||||
|
|
||||||
|
Supported PROGRAM values:
|
||||||
|
aclocal autoconf autoheader autom4te automake makeinfo
|
||||||
|
bison yacc flex lex help2man
|
||||||
|
|
||||||
|
Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
|
||||||
|
'g' are ignored when checking the name.
|
||||||
|
|
||||||
|
Send bug reports to <bug-automake@gnu.org>."
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
|
||||||
|
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||||
|
echo "missing $scriptversion (GNU Automake)"
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
|
||||||
|
-*)
|
||||||
|
echo 1>&2 "$0: unknown '$1' option"
|
||||||
|
echo 1>&2 "Try '$0 --help' for more information"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Run the given program, remember its exit status.
|
||||||
|
"$@"; st=$?
|
||||||
|
|
||||||
|
# If it succeeded, we are done.
|
||||||
|
test $st -eq 0 && exit 0
|
||||||
|
|
||||||
|
# Also exit now if we it failed (or wasn't found), and '--version' was
|
||||||
|
# passed; such an option is passed most likely to detect whether the
|
||||||
|
# program is present and works.
|
||||||
|
case $2 in --version|--help) exit $st;; esac
|
||||||
|
|
||||||
|
# Exit code 63 means version mismatch. This often happens when the user
|
||||||
|
# tries to use an ancient version of a tool on a file that requires a
|
||||||
|
# minimum version.
|
||||||
|
if test $st -eq 63; then
|
||||||
|
msg="probably too old"
|
||||||
|
elif test $st -eq 127; then
|
||||||
|
# Program was missing.
|
||||||
|
msg="missing on your system"
|
||||||
|
else
|
||||||
|
# Program was found and executed, but failed. Give up.
|
||||||
|
exit $st
|
||||||
|
fi
|
||||||
|
|
||||||
|
perl_URL=https://www.perl.org/
|
||||||
|
flex_URL=https://github.com/westes/flex
|
||||||
|
gnu_software_URL=https://www.gnu.org/software
|
||||||
|
|
||||||
|
program_details ()
|
||||||
|
{
|
||||||
|
case $1 in
|
||||||
|
aclocal|automake)
|
||||||
|
echo "The '$1' program is part of the GNU Automake package:"
|
||||||
|
echo "<$gnu_software_URL/automake>"
|
||||||
|
echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
|
||||||
|
echo "<$gnu_software_URL/autoconf>"
|
||||||
|
echo "<$gnu_software_URL/m4/>"
|
||||||
|
echo "<$perl_URL>"
|
||||||
|
;;
|
||||||
|
autoconf|autom4te|autoheader)
|
||||||
|
echo "The '$1' program is part of the GNU Autoconf package:"
|
||||||
|
echo "<$gnu_software_URL/autoconf/>"
|
||||||
|
echo "It also requires GNU m4 and Perl in order to run:"
|
||||||
|
echo "<$gnu_software_URL/m4/>"
|
||||||
|
echo "<$perl_URL>"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
give_advice ()
|
||||||
|
{
|
||||||
|
# Normalize program name to check for.
|
||||||
|
normalized_program=`echo "$1" | sed '
|
||||||
|
s/^gnu-//; t
|
||||||
|
s/^gnu//; t
|
||||||
|
s/^g//; t'`
|
||||||
|
|
||||||
|
printf '%s\n' "'$1' is $msg."
|
||||||
|
|
||||||
|
configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
|
||||||
|
case $normalized_program in
|
||||||
|
autoconf*)
|
||||||
|
echo "You should only need it if you modified 'configure.ac',"
|
||||||
|
echo "or m4 files included by it."
|
||||||
|
program_details 'autoconf'
|
||||||
|
;;
|
||||||
|
autoheader*)
|
||||||
|
echo "You should only need it if you modified 'acconfig.h' or"
|
||||||
|
echo "$configure_deps."
|
||||||
|
program_details 'autoheader'
|
||||||
|
;;
|
||||||
|
automake*)
|
||||||
|
echo "You should only need it if you modified 'Makefile.am' or"
|
||||||
|
echo "$configure_deps."
|
||||||
|
program_details 'automake'
|
||||||
|
;;
|
||||||
|
aclocal*)
|
||||||
|
echo "You should only need it if you modified 'acinclude.m4' or"
|
||||||
|
echo "$configure_deps."
|
||||||
|
program_details 'aclocal'
|
||||||
|
;;
|
||||||
|
autom4te*)
|
||||||
|
echo "You might have modified some maintainer files that require"
|
||||||
|
echo "the 'autom4te' program to be rebuilt."
|
||||||
|
program_details 'autom4te'
|
||||||
|
;;
|
||||||
|
bison*|yacc*)
|
||||||
|
echo "You should only need it if you modified a '.y' file."
|
||||||
|
echo "You may want to install the GNU Bison package:"
|
||||||
|
echo "<$gnu_software_URL/bison/>"
|
||||||
|
;;
|
||||||
|
lex*|flex*)
|
||||||
|
echo "You should only need it if you modified a '.l' file."
|
||||||
|
echo "You may want to install the Fast Lexical Analyzer package:"
|
||||||
|
echo "<$flex_URL>"
|
||||||
|
;;
|
||||||
|
help2man*)
|
||||||
|
echo "You should only need it if you modified a dependency" \
|
||||||
|
"of a man page."
|
||||||
|
echo "You may want to install the GNU Help2man package:"
|
||||||
|
echo "<$gnu_software_URL/help2man/>"
|
||||||
|
;;
|
||||||
|
makeinfo*)
|
||||||
|
echo "You should only need it if you modified a '.texi' file, or"
|
||||||
|
echo "any other file indirectly affecting the aspect of the manual."
|
||||||
|
echo "You might want to install the Texinfo package:"
|
||||||
|
echo "<$gnu_software_URL/texinfo/>"
|
||||||
|
echo "The spurious makeinfo call might also be the consequence of"
|
||||||
|
echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
|
||||||
|
echo "want to install GNU make:"
|
||||||
|
echo "<$gnu_software_URL/make/>"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "You might have modified some files without having the proper"
|
||||||
|
echo "tools for further handling them. Check the 'README' file, it"
|
||||||
|
echo "often tells you about the needed prerequisites for installing"
|
||||||
|
echo "this package. You may also peek at any GNU archive site, in"
|
||||||
|
echo "case some other package contains this missing '$1' program."
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
give_advice "$1" | sed -e '1s/^/WARNING: /' \
|
||||||
|
-e '2,$s/^/ /' >&2
|
||||||
|
|
||||||
|
# Propagate the correct exit status (expected to be 127 for a program
|
||||||
|
# not found, 63 for a program that failed due to version mismatch).
|
||||||
|
exit $st
|
||||||
|
|
||||||
|
# Local variables:
|
||||||
|
# eval: (add-hook 'before-save-hook 'time-stamp)
|
||||||
|
# time-stamp-start: "scriptversion="
|
||||||
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||||
|
# time-stamp-time-zone: "UTC0"
|
||||||
|
# time-stamp-end: "; # UTC"
|
||||||
|
# End:
|
3
revision.m4
Normal file
3
revision.m4
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
m4_define([SVN_REV], 11997)
|
||||||
|
m4_define([SVN_REVISION], 20.03)
|
||||||
|
m4_define([SVN_DATE], 2020-03-28 13:56:24)
|
4188
src/CodeBlocks-unix.cbp
Normal file
4188
src/CodeBlocks-unix.cbp
Normal file
File diff suppressed because it is too large
Load diff
126
src/CodeBlocks-unix.workspace
Normal file
126
src/CodeBlocks-unix.workspace
Normal file
|
@ -0,0 +1,126 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="CodeBlocks Workspace wx2.8.x (Unix)">
|
||||||
|
<Project filename="CodeBlocks-unix.cbp" />
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config-unix.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make-unix.cbp" />
|
||||||
|
<Project filename="plugins/codecompletion/cctest-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems-unix.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems-unix.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/dragscroll/DragScroll-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler.unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/SmartIndent/SmartIndent-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/Valgrind/Valgrind-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
4409
src/CodeBlocks.cbp
Normal file
4409
src/CodeBlocks.cbp
Normal file
File diff suppressed because it is too large
Load diff
65
src/CodeBlocks.workspace
Normal file
65
src/CodeBlocks.workspace
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="CodeBlocks Workspace wx2.8.x">
|
||||||
|
<Project filename="CodeBlocks.cbp" active="1" />
|
||||||
|
<Project filename="tools/Addr2LineUI/Addr2LineUI.cbp" />
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config.cbp" />
|
||||||
|
<Project filename="tools/CBLauncher/CbLauncher.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make.cbp" />
|
||||||
|
<Project filename="plugins/codecompletion/cctest.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/headerguard/headerguard.cbp" />
|
||||||
|
<Project filename="plugins/loghacker/loghacker.cbp" />
|
||||||
|
<Project filename="plugins/ModPoller/ModPoller.cbp" />
|
||||||
|
<Project filename="plugins/tidycmt/tidycmt.cbp" />
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning.cbp" />
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker.cbp" />
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat.cbp" />
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings.cbp" />
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope.cbp" />
|
||||||
|
<Project filename="plugins/contrib/devpak_plugin/DevPakPlugin.cbp" />
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks.cbp" />
|
||||||
|
<Project filename="plugins/contrib/dragscroll/DragScroll.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks.cbp" />
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FortranProject/FortranProject_cbsvn.cbp" />
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup.cbp" />
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin.cbp" />
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor.cbp" />
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch.cbp" />
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder.cbp" />
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap.cbp" />
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman.cbp" />
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator.cbp" />
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor.cbp" />
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SmartIndent/SmartIndent.cbp" />
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker.cbp" />
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
4166
src/CodeBlocks_wx30-unix.cbp
Normal file
4166
src/CodeBlocks_wx30-unix.cbp
Normal file
File diff suppressed because it is too large
Load diff
124
src/CodeBlocks_wx30-unix.workspace
Normal file
124
src/CodeBlocks_wx30-unix.workspace
Normal file
|
@ -0,0 +1,124 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="CodeBlocks Workspace wx3.0.x (Unix)">
|
||||||
|
<Project filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/codecompletion/cctest_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems_wx30-unix.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui_wx30.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/dragscroll/DragScroll_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/Valgrind/Valgrind_wx30-unix.cbp">
|
||||||
|
<Depends filename="CodeBlocks_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
4361
src/CodeBlocks_wx30.cbp
Normal file
4361
src/CodeBlocks_wx30.cbp
Normal file
File diff suppressed because it is too large
Load diff
61
src/CodeBlocks_wx30.workspace
Normal file
61
src/CodeBlocks_wx30.workspace
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="CodeBlocks Workspace wx3.0.x">
|
||||||
|
<Project filename="CodeBlocks_wx30.cbp" active="1" />
|
||||||
|
<Project filename="tools/Addr2LineUI/Addr2LineUI_wx30.cbp" />
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config_wx30.cbp" />
|
||||||
|
<Project filename="tools/CBLauncher/CbLauncher_wx30.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make_wx30.cbp" />
|
||||||
|
<Project filename="plugins/codecompletion/cctest_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems_wx30.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx30.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui_wx30.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx30.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/devpak_plugin/DevPakPlugin_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/dragscroll/DragScroll_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FortranProject/FortranProject_cbsvn_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder_wx30.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SmartIndent/SmartIndent_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab_wx30.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch_wx30.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus_wx30.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
4363
src/CodeBlocks_wx30_64.cbp
Normal file
4363
src/CodeBlocks_wx30_64.cbp
Normal file
File diff suppressed because it is too large
Load diff
62
src/CodeBlocks_wx30_64.workspace
Normal file
62
src/CodeBlocks_wx30_64.workspace
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="CodeBlocks Workspace wx3.0.x (64 bit)">
|
||||||
|
<Project filename="CodeBlocks_wx30_64.cbp" active="1" />
|
||||||
|
<Project filename="tools/Addr2LineUI/Addr2LineUI_wx30_64.cbp" />
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config_wx30_64.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make_wx30_64.cbp" />
|
||||||
|
<Project filename="tools/CBLauncher/CbLauncher_wx30_64.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/codecompletion/cctest_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems_wx30_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30_64.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx30_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui_wx30_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx30_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/devpak_plugin/DevPakPlugin_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/dragscroll/DragScroll_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FortranProject/FortranProject_cbsvn_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder_wx30_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SmartIndent/SmartIndent_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch_wx30_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus_wx30_64.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
4379
src/CodeBlocks_wx31.cbp
Normal file
4379
src/CodeBlocks_wx31.cbp
Normal file
File diff suppressed because it is too large
Load diff
65
src/CodeBlocks_wx31.workspace
Normal file
65
src/CodeBlocks_wx31.workspace
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="CodeBlocks Workspace wx3.1.x">
|
||||||
|
<Project filename="CodeBlocks_wx31.cbp" active="1" />
|
||||||
|
<Project filename="tools/Addr2LineUI/Addr2LineUI_wx31.cbp" />
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config_wx31.cbp" />
|
||||||
|
<Project filename="tools/CBLauncher/CbLauncher_wx31.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make_wx31.cbp" />
|
||||||
|
<Project filename="plugins/codecompletion/cctest_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems_wx31.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx31.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx31.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui_wx31.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx31.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/headerguard/headerguard_wx31.cbp" />
|
||||||
|
<Project filename="plugins/loghacker/loghacker_wx31.cbp" />
|
||||||
|
<Project filename="plugins/ModPoller/ModPoller_wx31.cbp" />
|
||||||
|
<Project filename="plugins/tidycmt/tidycmt_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/devpak_plugin/DevPakPlugin_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/dragscroll/DragScroll_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FortranProject/FortranProject_cbsvn_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder_wx31.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx31.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SmartIndent/SmartIndent_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab_wx31.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch_wx31.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx31.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus_wx31.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
4378
src/CodeBlocks_wx31_64.cbp
Normal file
4378
src/CodeBlocks_wx31_64.cbp
Normal file
File diff suppressed because it is too large
Load diff
65
src/CodeBlocks_wx31_64.workspace
Normal file
65
src/CodeBlocks_wx31_64.workspace
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="CodeBlocks Workspace wx3.1.x (64 bit)">
|
||||||
|
<Project filename="CodeBlocks_wx31_64.cbp" active="1" />
|
||||||
|
<Project filename="tools/Addr2LineUI/Addr2LineUI_wx31_64.cbp" />
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config_wx31_64.cbp" />
|
||||||
|
<Project filename="tools/CBLauncher/CbLauncher_wx31_64.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/codecompletion/cctest_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems_wx31_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx31_64.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx31_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui_wx31_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx31_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/headerguard/headerguard_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/loghacker/loghacker_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/ModPoller/ModPoller_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/tidycmt/tidycmt_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/devpak_plugin/DevPakPlugin_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/dragscroll/DragScroll_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FortranProject/FortranProject_cbsvn_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder_wx31_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx31_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SmartIndent/SmartIndent_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch_wx31_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx31_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus_wx31_64.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
57
src/ContribPlugins-unix.workspace
Normal file
57
src/ContribPlugins-unix.workspace
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="All contrib plugins (Unix)">
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config-unix.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems-unix.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems-unix.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning-unix.cbp" active="1" />
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/dragscroll/DragScroll-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FortranProject/FortranProject_cbsvn-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder-unix.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler.unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SmartIndent/SmartIndent-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch-unix.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Valgrind/Valgrind-unix.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
59
src/ContribPlugins.workspace
Normal file
59
src/ContribPlugins.workspace
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="All contrib plugins wx2.8.x">
|
||||||
|
<Project filename="tools/Addr2LineUI/Addr2LineUI.cbp" />
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config.cbp" />
|
||||||
|
<Project filename="tools/CBLauncher/CbLauncher.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning.cbp" />
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker.cbp" />
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat.cbp" />
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings.cbp" />
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope.cbp" />
|
||||||
|
<Project filename="plugins/contrib/devpak_plugin/DevPakPlugin.cbp" />
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks.cbp" />
|
||||||
|
<Project filename="plugins/contrib/dragscroll/dragscroll.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks.cbp" />
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FortranProject/FortranProject_cbsvn.cbp" />
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup.cbp" />
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin.cbp" />
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor.cbp" />
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch.cbp" />
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder.cbp" />
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap.cbp" />
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman.cbp" />
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator.cbp" />
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor.cbp" />
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SmartIndent/SmartIndent.cbp" />
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker.cbp" />
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
57
src/ContribPlugins_wx30-unix.workspace
Normal file
57
src/ContribPlugins_wx30-unix.workspace
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="All contrib plugins wx3.0.x (Unix)">
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config_wx30-unix.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems_wx30-unix.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui_wx30.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning_wx30-unix.cbp" active="1" />
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/dragscroll/DragScroll_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FortranProject/FortranProject_cbsvn_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder_wx30-unix.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SmartIndent/SmartIndent_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch_wx30-unix.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30-unix.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus_wx30-unix.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Valgrind/Valgrind_wx30-unix.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
59
src/ContribPlugins_wx30.workspace
Normal file
59
src/ContribPlugins_wx30.workspace
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="All contrib plugins wx3.0.x">
|
||||||
|
<Project filename="tools\Addr2LineUI\Addr2LineUI_wx30.cbp" />
|
||||||
|
<Project filename="tools\cb_share_config\cb_share_config_wx30.cbp" />
|
||||||
|
<Project filename="tools\CBLauncher\CbLauncher_wx30.cbp" />
|
||||||
|
<Project filename="tools\cbp2make\cbp2make_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\wxContribItems\wxContribItems_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\wxSmith\wxSmith_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\wxSmithContribItems\wxSmithContribItems_wx30.cbp">
|
||||||
|
<Depends filename="plugins\contrib\lib_finder\lib_finder_wx30.cbp" />
|
||||||
|
<Depends filename="plugins\contrib\wxSmith\wxSmith_wx30.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins\contrib\wxSmithAui\wxSmithAui_wx30.cbp">
|
||||||
|
<Depends filename="plugins\contrib\wxSmith\wxSmith_wx30.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins\contrib\AutoVersioning\AutoVersioning_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\BrowseTracker\BrowseTracker_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\byogames\byogames_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\cb_koders\cb_koders_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\Cccc\Cccc_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\codesnippets\codesnippets_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\codestat\codestat_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\copystrings\copystrings_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\CppCheck\CppCheck_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\Cscope\Cscope_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\devpak_plugin\DevPakPlugin_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\DoxyBlocks\DoxyBlocks_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\dragscroll\DragScroll_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\EditorConfig\EditorConfig_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\EditorTweaks\EditorTweaks_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\envvars\envvars_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\FileManager\FileManager_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\FortranProject\FortranProject_cbsvn_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\headerfixup\headerfixup_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\help_plugin\help-plugin_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\HexEditor\HexEditor_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\IncrementalSearch\IncrementalSearch_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\keybinder\keybinder_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\lib_finder\lib_finder_wx30.cbp">
|
||||||
|
<Depends filename="plugins\contrib\wxContribItems\wxContribItems_wx30.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins\contrib\MouseSap\MouseSap_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\NassiShneiderman\NassiShneiderman_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\profiler\cbprofiler_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\ProjectOptionsManipulator\ProjectOptionsManipulator_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\regex_testbed\RegExTestbed_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\ReopenEditor\ReopenEditor_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\rndgen\rndgen_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\SmartIndent\SmartIndent_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\source_exporter\Exporter_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\SpellChecker\SpellChecker_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\symtab\symtab_wx30.cbp" />
|
||||||
|
<Project filename="plugins\contrib\ThreadSearch\ThreadSearch_wx30.cbp">
|
||||||
|
<Depends filename="plugins\contrib\wxContribItems\wxContribItems_wx30.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins\contrib\ToolsPlus\ToolsPlus_wx30.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
59
src/ContribPlugins_wx30_64.workspace
Normal file
59
src/ContribPlugins_wx30_64.workspace
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="All contrib plugins wx3.0.x (64 bit)">
|
||||||
|
<Project filename="tools/Addr2LineUI/Addr2LineUI_wx30_64.cbp" />
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config_wx30_64.cbp" />
|
||||||
|
<Project filename="tools/CBLauncher/CbLauncher_wx30_64.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems_wx30_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/lib_finder/lib_finder_wx30_64.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx30_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui_wx30_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx30_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/devpak_plugin/DevPakPlugin_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/dragscroll/DragScroll_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FortranProject/FortranProject_cbsvn_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder_wx30_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SmartIndent/SmartIndent_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab_wx30_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch_wx30_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx30_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus_wx30_64.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
59
src/ContribPlugins_wx31.workspace
Normal file
59
src/ContribPlugins_wx31.workspace
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="All contrib plugins wx3.1.x">
|
||||||
|
<Project filename="tools\Addr2LineUI\Addr2LineUI_wx31.cbp" />
|
||||||
|
<Project filename="tools\cb_share_config\cb_share_config_wx31.cbp" />
|
||||||
|
<Project filename="tools\CBLauncher\CbLauncher_wx31.cbp" />
|
||||||
|
<Project filename="tools\cbp2make\cbp2make_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\wxContribItems\wxContribItems_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\wxSmith\wxSmith_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\wxSmithContribItems\wxSmithContribItems_wx31.cbp">
|
||||||
|
<Depends filename="plugins\contrib\lib_finder\lib_finder_wx31.cbp" />
|
||||||
|
<Depends filename="plugins\contrib\wxSmith\wxSmith_wx31.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins\contrib\wxSmithAui\wxSmithAui_wx31.cbp">
|
||||||
|
<Depends filename="plugins\contrib\wxSmith\wxSmith_wx31.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins\contrib\AutoVersioning\AutoVersioning_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\BrowseTracker\BrowseTracker_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\byogames\byogames_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\cb_koders\cb_koders_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\Cccc\Cccc_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\codesnippets\codesnippets_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\codestat\codestat_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\copystrings\copystrings_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\CppCheck\CppCheck_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\Cscope\Cscope_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\devpak_plugin\DevPakPlugin_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\DoxyBlocks\DoxyBlocks_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\dragscroll\DragScroll_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\EditorConfig\EditorConfig_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\EditorTweaks\EditorTweaks_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\envvars\envvars_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\FileManager\FileManager_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\FortranProject\FortranProject_cbsvn_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\headerfixup\headerfixup_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\help_plugin\help-plugin_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\HexEditor\HexEditor_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\IncrementalSearch\IncrementalSearch_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\keybinder\keybinder_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\lib_finder\lib_finder_wx31.cbp">
|
||||||
|
<Depends filename="plugins\contrib\wxContribItems\wxContribItems_wx31.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins\contrib\MouseSap\MouseSap_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\NassiShneiderman\NassiShneiderman_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\profiler\cbprofiler_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\ProjectOptionsManipulator\ProjectOptionsManipulator_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\regex_testbed\RegExTestbed_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\ReopenEditor\ReopenEditor_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\rndgen\rndgen_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\SmartIndent\SmartIndent_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\source_exporter\Exporter_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\SpellChecker\SpellChecker_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\symtab\symtab_wx31.cbp" />
|
||||||
|
<Project filename="plugins\contrib\ThreadSearch\ThreadSearch_wx31.cbp">
|
||||||
|
<Depends filename="plugins\contrib\wxContribItems\wxContribItems_wx31.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins\contrib\ToolsPlus\ToolsPlus_wx31.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
59
src/ContribPlugins_wx31_64.workspace
Normal file
59
src/ContribPlugins_wx31_64.workspace
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_workspace_file>
|
||||||
|
<Workspace title="All contrib plugins wx3.1.x (64 bit)">
|
||||||
|
<Project filename="tools/Addr2LineUI/Addr2LineUI_wx31_64.cbp" />
|
||||||
|
<Project filename="tools/cb_share_config/cb_share_config_wx31_64.cbp" />
|
||||||
|
<Project filename="tools/CBLauncher/CbLauncher_wx31_64.cbp" />
|
||||||
|
<Project filename="tools/cbp2make/cbp2make_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxContribItems/wxContribItems_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmith/wxSmith_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/wxSmithContribItems/wxSmithContribItems_wx31_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/lib_finder/lib_finder_wx31_64.cbp" />
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx31_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/wxSmithAui/wxSmithAui_wx31_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxSmith/wxSmith_wx31_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/AutoVersioning/AutoVersioning_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/BrowseTracker/BrowseTracker_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/byogames/byogames_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/cb_koders/cb_koders_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cccc/Cccc_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codesnippets/codesnippets_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/codestat/codestat_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/copystrings/copystrings_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/CppCheck/CppCheck_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/Cscope/Cscope_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/devpak_plugin/DevPakPlugin_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/DoxyBlocks/DoxyBlocks_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/dragscroll/DragScroll_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorConfig/EditorConfig_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/EditorTweaks/EditorTweaks_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/envvars/envvars_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FileManager/FileManager_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/FortranProject/FortranProject_cbsvn_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/headerfixup/headerfixup_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/help_plugin/help-plugin_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/HexEditor/HexEditor_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/IncrementalSearch/IncrementalSearch_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/keybinder/keybinder_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/lib_finder/lib_finder_wx31_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx31_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/MouseSap/MouseSap_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/NassiShneiderman/NassiShneiderman_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/profiler/cbprofiler_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ProjectOptionsManipulator/ProjectOptionsManipulator_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/regex_testbed/RegExTestbed_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ReopenEditor/ReopenEditor_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/rndgen/rndgen_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SmartIndent/SmartIndent_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/source_exporter/Exporter_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/SpellChecker/SpellChecker_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/symtab/symtab_wx31_64.cbp" />
|
||||||
|
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch_wx31_64.cbp">
|
||||||
|
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx31_64.cbp" />
|
||||||
|
</Project>
|
||||||
|
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus_wx31_64.cbp" />
|
||||||
|
</Workspace>
|
||||||
|
</CodeBlocks_workspace_file>
|
10
src/Makefile.am
Normal file
10
src/Makefile.am
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
SUBDIRS = include base build_tools mime sdk src plugins tools templates scripts wxsmith
|
||||||
|
|
||||||
|
dist_pkgdata_DATA = tips.txt
|
||||||
|
|
||||||
|
EXTRA_DIST = $(srcdir)/*.cbp \
|
||||||
|
$(srcdir)/*.workspace \
|
||||||
|
mac_pack \
|
||||||
|
$(srcdir)/update* \
|
||||||
|
$(srcdir)/batch* \
|
||||||
|
sdk.doxy
|
820
src/Makefile.in
Normal file
820
src/Makefile.in
Normal file
|
@ -0,0 +1,820 @@
|
||||||
|
# Makefile.in generated by automake 1.16.2 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This Makefile.in 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
|
||||||
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
VPATH = @srcdir@
|
||||||
|
am__is_gnu_make = { \
|
||||||
|
if test -z '$(MAKELEVEL)'; then \
|
||||||
|
false; \
|
||||||
|
elif test -n '$(MAKE_HOST)'; then \
|
||||||
|
true; \
|
||||||
|
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||||
|
true; \
|
||||||
|
else \
|
||||||
|
false; \
|
||||||
|
fi; \
|
||||||
|
}
|
||||||
|
am__make_running_with_option = \
|
||||||
|
case $${target_option-} in \
|
||||||
|
?) ;; \
|
||||||
|
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||||
|
"target option '$${target_option-}' specified" >&2; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
has_opt=no; \
|
||||||
|
sane_makeflags=$$MAKEFLAGS; \
|
||||||
|
if $(am__is_gnu_make); then \
|
||||||
|
sane_makeflags=$$MFLAGS; \
|
||||||
|
else \
|
||||||
|
case $$MAKEFLAGS in \
|
||||||
|
*\\[\ \ ]*) \
|
||||||
|
bs=\\; \
|
||||||
|
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||||
|
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||||
|
esac; \
|
||||||
|
fi; \
|
||||||
|
skip_next=no; \
|
||||||
|
strip_trailopt () \
|
||||||
|
{ \
|
||||||
|
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||||
|
}; \
|
||||||
|
for flg in $$sane_makeflags; do \
|
||||||
|
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||||
|
case $$flg in \
|
||||||
|
*=*|--*) continue;; \
|
||||||
|
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||||
|
-*I?*) strip_trailopt 'I';; \
|
||||||
|
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||||
|
-*O?*) strip_trailopt 'O';; \
|
||||||
|
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||||
|
-*l?*) strip_trailopt 'l';; \
|
||||||
|
-[dEDm]) skip_next=yes;; \
|
||||||
|
-[JT]) skip_next=yes;; \
|
||||||
|
esac; \
|
||||||
|
case $$flg in \
|
||||||
|
*$$target_option*) has_opt=yes; break;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
test $$has_opt = yes
|
||||||
|
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||||
|
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
install_sh_DATA = $(install_sh) -c -m 644
|
||||||
|
install_sh_PROGRAM = $(install_sh) -c
|
||||||
|
install_sh_SCRIPT = $(install_sh) -c
|
||||||
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
|
transform = $(program_transform_name)
|
||||||
|
NORMAL_INSTALL = :
|
||||||
|
PRE_INSTALL = :
|
||||||
|
POST_INSTALL = :
|
||||||
|
NORMAL_UNINSTALL = :
|
||||||
|
PRE_UNINSTALL = :
|
||||||
|
POST_UNINSTALL = :
|
||||||
|
build_triplet = @build@
|
||||||
|
host_triplet = @host@
|
||||||
|
target_triplet = @target@
|
||||||
|
subdir = src
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
||||||
|
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
||||||
|
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
|
||||||
|
$(top_srcdir)/revision.m4 $(top_srcdir)/m4/acinclude.m4 \
|
||||||
|
$(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
|
||||||
|
$(top_srcdir)/m4/ax_boost_base.m4 \
|
||||||
|
$(top_srcdir)/m4/ax_boost_system.m4 $(top_srcdir)/configure.ac
|
||||||
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||||
|
$(ACLOCAL_M4)
|
||||||
|
DIST_COMMON = $(srcdir)/Makefile.am $(dist_pkgdata_DATA) \
|
||||||
|
$(am__DIST_COMMON)
|
||||||
|
mkinstalldirs = $(install_sh) -d
|
||||||
|
CONFIG_HEADER = $(top_builddir)/src/include/config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
CONFIG_CLEAN_VPATH_FILES =
|
||||||
|
AM_V_P = $(am__v_P_@AM_V@)
|
||||||
|
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||||
|
am__v_P_0 = false
|
||||||
|
am__v_P_1 = :
|
||||||
|
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||||
|
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||||
|
am__v_GEN_0 = @echo " GEN " $@;
|
||||||
|
am__v_GEN_1 =
|
||||||
|
AM_V_at = $(am__v_at_@AM_V@)
|
||||||
|
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||||
|
am__v_at_0 = @
|
||||||
|
am__v_at_1 =
|
||||||
|
SOURCES =
|
||||||
|
DIST_SOURCES =
|
||||||
|
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
|
||||||
|
ctags-recursive dvi-recursive html-recursive info-recursive \
|
||||||
|
install-data-recursive install-dvi-recursive \
|
||||||
|
install-exec-recursive install-html-recursive \
|
||||||
|
install-info-recursive install-pdf-recursive \
|
||||||
|
install-ps-recursive install-recursive installcheck-recursive \
|
||||||
|
installdirs-recursive pdf-recursive ps-recursive \
|
||||||
|
tags-recursive uninstall-recursive
|
||||||
|
am__can_run_installinfo = \
|
||||||
|
case $$AM_UPDATE_INFO_DIR in \
|
||||||
|
n|no|NO) false;; \
|
||||||
|
*) (install-info --version) >/dev/null 2>&1;; \
|
||||||
|
esac
|
||||||
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||||
|
am__vpath_adj = case $$p in \
|
||||||
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||||
|
*) f=$$p;; \
|
||||||
|
esac;
|
||||||
|
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||||
|
am__install_max = 40
|
||||||
|
am__nobase_strip_setup = \
|
||||||
|
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||||
|
am__nobase_strip = \
|
||||||
|
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||||
|
am__nobase_list = $(am__nobase_strip_setup); \
|
||||||
|
for p in $$list; do echo "$$p $$p"; done | \
|
||||||
|
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||||
|
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||||
|
if (++n[$$2] == $(am__install_max)) \
|
||||||
|
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||||
|
END { for (dir in files) print dir, files[dir] }'
|
||||||
|
am__base_list = \
|
||||||
|
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||||
|
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||||
|
am__uninstall_files_from_dir = { \
|
||||||
|
test -z "$$files" \
|
||||||
|
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
||||||
|
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
||||||
|
$(am__cd) "$$dir" && rm -f $$files; }; \
|
||||||
|
}
|
||||||
|
am__installdirs = "$(DESTDIR)$(pkgdatadir)"
|
||||||
|
DATA = $(dist_pkgdata_DATA)
|
||||||
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||||
|
distclean-recursive maintainer-clean-recursive
|
||||||
|
am__recursive_targets = \
|
||||||
|
$(RECURSIVE_TARGETS) \
|
||||||
|
$(RECURSIVE_CLEAN_TARGETS) \
|
||||||
|
$(am__extra_recursive_targets)
|
||||||
|
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
||||||
|
distdir distdir-am
|
||||||
|
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||||
|
# Read a list of newline-separated strings from the standard input,
|
||||||
|
# and print each of them once, without duplicates. Input order is
|
||||||
|
# *not* preserved.
|
||||||
|
am__uniquify_input = $(AWK) '\
|
||||||
|
BEGIN { nonempty = 0; } \
|
||||||
|
{ items[$$0] = 1; nonempty = 1; } \
|
||||||
|
END { if (nonempty) { for (i in items) print i; }; } \
|
||||||
|
'
|
||||||
|
# Make sure the list of sources is unique. This is necessary because,
|
||||||
|
# e.g., the same source file might be shared among _SOURCES variables
|
||||||
|
# for different programs/libraries.
|
||||||
|
am__define_uniq_tagged_files = \
|
||||||
|
list='$(am__tagged_files)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | $(am__uniquify_input)`
|
||||||
|
ETAGS = etags
|
||||||
|
CTAGS = ctags
|
||||||
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
|
am__DIST_COMMON = $(srcdir)/Makefile.in
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
am__relativize = \
|
||||||
|
dir0=`pwd`; \
|
||||||
|
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||||
|
sed_rest='s,^[^/]*/*,,'; \
|
||||||
|
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||||
|
sed_butlast='s,/*[^/]*$$,,'; \
|
||||||
|
while test -n "$$dir1"; do \
|
||||||
|
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||||
|
if test "$$first" != "."; then \
|
||||||
|
if test "$$first" = ".."; then \
|
||||||
|
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||||
|
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||||
|
else \
|
||||||
|
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||||
|
if test "$$first2" = "$$first"; then \
|
||||||
|
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||||
|
else \
|
||||||
|
dir2="../$$dir2"; \
|
||||||
|
fi; \
|
||||||
|
dir0="$$dir0"/"$$first"; \
|
||||||
|
fi; \
|
||||||
|
fi; \
|
||||||
|
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||||
|
done; \
|
||||||
|
reldir="$$dir2"
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||||
|
AR = @AR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
|
||||||
|
BOOST_LDFLAGS = @BOOST_LDFLAGS@
|
||||||
|
BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@
|
||||||
|
BUILD_AUTOVERSIONING = @BUILD_AUTOVERSIONING@
|
||||||
|
BUILD_BROWSETRACKER = @BUILD_BROWSETRACKER@
|
||||||
|
BUILD_BYOGAMES = @BUILD_BYOGAMES@
|
||||||
|
BUILD_CBKODERS = @BUILD_CBKODERS@
|
||||||
|
BUILD_CCCC = @BUILD_CCCC@
|
||||||
|
BUILD_CODESNIPPETS = @BUILD_CODESNIPPETS@
|
||||||
|
BUILD_CODESTAT = @BUILD_CODESTAT@
|
||||||
|
BUILD_COPYSTRINGS = @BUILD_COPYSTRINGS@
|
||||||
|
BUILD_CPPCHECK = @BUILD_CPPCHECK@
|
||||||
|
BUILD_CSCOPE = @BUILD_CSCOPE@
|
||||||
|
BUILD_DOXYBLOCKS = @BUILD_DOXYBLOCKS@
|
||||||
|
BUILD_DRAGSCROLL = @BUILD_DRAGSCROLL@
|
||||||
|
BUILD_EDITORCONFIG = @BUILD_EDITORCONFIG@
|
||||||
|
BUILD_EDITORTWEAKS = @BUILD_EDITORTWEAKS@
|
||||||
|
BUILD_ENVVARS = @BUILD_ENVVARS@
|
||||||
|
BUILD_EXPORTER = @BUILD_EXPORTER@
|
||||||
|
BUILD_FILEMANAGER = @BUILD_FILEMANAGER@
|
||||||
|
BUILD_HEADERFIXUP = @BUILD_HEADERFIXUP@
|
||||||
|
BUILD_HELP = @BUILD_HELP@
|
||||||
|
BUILD_HEXEDITOR = @BUILD_HEXEDITOR@
|
||||||
|
BUILD_INCSEARCH = @BUILD_INCSEARCH@
|
||||||
|
BUILD_KEYBINDER = @BUILD_KEYBINDER@
|
||||||
|
BUILD_LIBFINDER = @BUILD_LIBFINDER@
|
||||||
|
BUILD_MOUSESAP = @BUILD_MOUSESAP@
|
||||||
|
BUILD_NASSISHNEIDERMAN = @BUILD_NASSISHNEIDERMAN@
|
||||||
|
BUILD_PROFILER = @BUILD_PROFILER@
|
||||||
|
BUILD_REGEX = @BUILD_REGEX@
|
||||||
|
BUILD_REOPENEDITOR = @BUILD_REOPENEDITOR@
|
||||||
|
BUILD_RNDGEN = @BUILD_RNDGEN@
|
||||||
|
BUILD_SMARTINDENT = @BUILD_SMARTINDENT@
|
||||||
|
BUILD_SPELLCHECKER = @BUILD_SPELLCHECKER@
|
||||||
|
BUILD_SYMTAB = @BUILD_SYMTAB@
|
||||||
|
BUILD_THREADSEARCH = @BUILD_THREADSEARCH@
|
||||||
|
BUILD_TOOLSPLUS = @BUILD_TOOLSPLUS@
|
||||||
|
BUILD_VALGRIND = @BUILD_VALGRIND@
|
||||||
|
BUILD_WXCONTRIB = @BUILD_WXCONTRIB@
|
||||||
|
BUILD_WXSMITH = @BUILD_WXSMITH@
|
||||||
|
BUILD_WXSMITHAUI = @BUILD_WXSMITHAUI@
|
||||||
|
BUILD_WXSMITHCONTRIB = @BUILD_WXSMITHCONTRIB@
|
||||||
|
CB_FONTCONFIG_CFLAGS = @CB_FONTCONFIG_CFLAGS@
|
||||||
|
CB_FONTCONFIG_LIBS = @CB_FONTCONFIG_LIBS@
|
||||||
|
CB_GAMIN_CFLAGS = @CB_GAMIN_CFLAGS@
|
||||||
|
CB_GAMIN_LIBS = @CB_GAMIN_LIBS@
|
||||||
|
CB_GLIB2_CFLAGS = @CB_GLIB2_CFLAGS@
|
||||||
|
CB_GLIB2_LIBS = @CB_GLIB2_LIBS@
|
||||||
|
CB_HUNSPELL_CFLAGS = @CB_HUNSPELL_CFLAGS@
|
||||||
|
CB_HUNSPELL_LIBS = @CB_HUNSPELL_LIBS@
|
||||||
|
CB_SQUIRREL_CFLAGS = @CB_SQUIRREL_CFLAGS@
|
||||||
|
CB_SQUIRREL_LIBS = @CB_SQUIRREL_LIBS@
|
||||||
|
CB_TINYXML_CFLAGS = @CB_TINYXML_CFLAGS@
|
||||||
|
CB_TINYXML_LIBS = @CB_TINYXML_LIBS@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CODEBLOCKS_PLATFORM = @CODEBLOCKS_PLATFORM@
|
||||||
|
CODEBLOCKS_VERSION_INFO = @CODEBLOCKS_VERSION_INFO@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CXX = @CXX@
|
||||||
|
CXXCPP = @CXXCPP@
|
||||||
|
CXXDEPMODE = @CXXDEPMODE@
|
||||||
|
CXXFLAGS = @CXXFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DATE = @DATE@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
DLLTOOL = @DLLTOOL@
|
||||||
|
DSYMUTIL = @DSYMUTIL@
|
||||||
|
DUMPBIN = @DUMPBIN@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
FGREP = @FGREP@
|
||||||
|
FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
|
||||||
|
FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
|
||||||
|
GAMIN_CFLAGS = @GAMIN_CFLAGS@
|
||||||
|
GAMIN_LIBS = @GAMIN_LIBS@
|
||||||
|
GCC_MAJOR_VERSION = @GCC_MAJOR_VERSION@
|
||||||
|
GCC_MINOR_VERSION = @GCC_MINOR_VERSION@
|
||||||
|
GCC_PATCH_VERSION = @GCC_PATCH_VERSION@
|
||||||
|
GCC_VERSION = @GCC_VERSION@
|
||||||
|
GDK_CFLAGS = @GDK_CFLAGS@
|
||||||
|
GDK_LIBS = @GDK_LIBS@
|
||||||
|
GLIB2_CFLAGS = @GLIB2_CFLAGS@
|
||||||
|
GLIB2_LIBS = @GLIB2_LIBS@
|
||||||
|
GREP = @GREP@
|
||||||
|
GTK_CFLAGS = @GTK_CFLAGS@
|
||||||
|
GTK_LIBS = @GTK_LIBS@
|
||||||
|
HAVE_CXX11 = @HAVE_CXX11@
|
||||||
|
HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@
|
||||||
|
HUNSPELL_CFLAGS = @HUNSPELL_CFLAGS@
|
||||||
|
HUNSPELL_LIBS = @HUNSPELL_LIBS@
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LD = @LD@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LIPO = @LIPO@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
|
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||||
|
MACSETFILE = @MACSETFILE@
|
||||||
|
MAKEINFO = @MAKEINFO@
|
||||||
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
|
MKDIR_P = @MKDIR_P@
|
||||||
|
MODULE_SHARED_LDFLAGS = @MODULE_SHARED_LDFLAGS@
|
||||||
|
NM = @NM@
|
||||||
|
NMEDIT = @NMEDIT@
|
||||||
|
OBJDUMP = @OBJDUMP@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
OTOOL = @OTOOL@
|
||||||
|
OTOOL64 = @OTOOL64@
|
||||||
|
PACKAGE = @PACKAGE@
|
||||||
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||||
|
PACKAGE_NAME = @PACKAGE_NAME@
|
||||||
|
PACKAGE_STRING = @PACKAGE_STRING@
|
||||||
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||||
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PKG_CONFIG = @PKG_CONFIG@
|
||||||
|
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
|
||||||
|
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
||||||
|
PLATFORM_CFLAGS = @PLATFORM_CFLAGS@
|
||||||
|
PLATFORM_LIBS = @PLATFORM_LIBS@
|
||||||
|
PLUGIN_FLAGS = @PLUGIN_FLAGS@
|
||||||
|
POSTLINK_COMMAND = @POSTLINK_COMMAND@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
RC = @RC@
|
||||||
|
REVISION = @REVISION@
|
||||||
|
REZ = @REZ@
|
||||||
|
SCINTILLA_GTK_CFLAGS = @SCINTILLA_GTK_CFLAGS@
|
||||||
|
SCINTILLA_GTK_LIBS = @SCINTILLA_GTK_LIBS@
|
||||||
|
SED = @SED@
|
||||||
|
SETFILE = @SETFILE@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHARED_FLAGS = @SHARED_FLAGS@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
SQUIRREL_CFLAGS = @SQUIRREL_CFLAGS@
|
||||||
|
SQUIRREL_LIBS = @SQUIRREL_LIBS@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
TINYXML_CFLAGS = @TINYXML_CFLAGS@
|
||||||
|
TINYXML_LIBS = @TINYXML_LIBS@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
WXPROPGRID_DIR = @WXPROPGRID_DIR@
|
||||||
|
WXPROPGRID_HEADERS = @WXPROPGRID_HEADERS@
|
||||||
|
WXPROPGRID_INCLUDE = @WXPROPGRID_INCLUDE@
|
||||||
|
WXPROPGRID_LIB = @WXPROPGRID_LIB@
|
||||||
|
WX_CFLAGS = @WX_CFLAGS@
|
||||||
|
WX_CFLAGS_ONLY = @WX_CFLAGS_ONLY@
|
||||||
|
WX_CONFIG_PATH = @WX_CONFIG_PATH@
|
||||||
|
WX_CPPFLAGS = @WX_CPPFLAGS@
|
||||||
|
WX_CXXFLAGS = @WX_CXXFLAGS@
|
||||||
|
WX_CXXFLAGS_ONLY = @WX_CXXFLAGS_ONLY@
|
||||||
|
WX_GTK_CFLAGS = @WX_GTK_CFLAGS@
|
||||||
|
WX_GTK_LIBS = @WX_GTK_LIBS@
|
||||||
|
WX_LIBS = @WX_LIBS@
|
||||||
|
WX_LIBS_STATIC = @WX_LIBS_STATIC@
|
||||||
|
WX_RESCOMP = @WX_RESCOMP@
|
||||||
|
WX_VERSION = @WX_VERSION@
|
||||||
|
WX_VERSION_MAJOR = @WX_VERSION_MAJOR@
|
||||||
|
WX_VERSION_MICRO = @WX_VERSION_MICRO@
|
||||||
|
WX_VERSION_MINOR = @WX_VERSION_MINOR@
|
||||||
|
WX_X11_CFLAGS = @WX_X11_CFLAGS@
|
||||||
|
WX_X11_LIBS = @WX_X11_LIBS@
|
||||||
|
XMKMF = @XMKMF@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
|
abs_builddir = @abs_builddir@
|
||||||
|
abs_srcdir = @abs_srcdir@
|
||||||
|
abs_top_builddir = @abs_top_builddir@
|
||||||
|
abs_top_srcdir = @abs_top_srcdir@
|
||||||
|
ac_ct_AR = @ac_ct_AR@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_CXX = @ac_ct_CXX@
|
||||||
|
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__leading_dot = @am__leading_dot@
|
||||||
|
am__quote = @am__quote@
|
||||||
|
am__tar = @am__tar@
|
||||||
|
am__untar = @am__untar@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
builddir = @builddir@
|
||||||
|
codeblocks_PCH_FLAGS = @codeblocks_PCH_FLAGS@
|
||||||
|
datadir = @datadir@
|
||||||
|
datarootdir = @datarootdir@
|
||||||
|
docdir = @docdir@
|
||||||
|
dvidir = @dvidir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
htmldir = @htmldir@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localedir = @localedir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
mkdir_p = @mkdir_p@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
pdfdir = @pdfdir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
srcdir = @srcdir@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target = @target@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
target_cpu = @target_cpu@
|
||||||
|
target_os = @target_os@
|
||||||
|
target_vendor = @target_vendor@
|
||||||
|
top_build_prefix = @top_build_prefix@
|
||||||
|
top_builddir = @top_builddir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
zlib_CFLAGS = @zlib_CFLAGS@
|
||||||
|
zlib_LIBS = @zlib_LIBS@
|
||||||
|
SUBDIRS = include base build_tools mime sdk src plugins tools templates scripts wxsmith
|
||||||
|
dist_pkgdata_DATA = tips.txt
|
||||||
|
EXTRA_DIST = $(srcdir)/*.cbp \
|
||||||
|
$(srcdir)/*.workspace \
|
||||||
|
mac_pack \
|
||||||
|
$(srcdir)/update* \
|
||||||
|
$(srcdir)/batch* \
|
||||||
|
sdk.doxy
|
||||||
|
|
||||||
|
all: all-recursive
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||||
|
@for dep in $?; do \
|
||||||
|
case '$(am__configure_deps)' in \
|
||||||
|
*$$dep*) \
|
||||||
|
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||||
|
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \
|
||||||
|
$(am__cd) $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign src/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
@case '$?' in \
|
||||||
|
*config.status*) \
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||||
|
*) \
|
||||||
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
|
||||||
|
esac;
|
||||||
|
|
||||||
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
|
||||||
|
$(top_srcdir)/configure: $(am__configure_deps)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
$(am__aclocal_m4_deps):
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
@list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
|
||||||
|
if test -n "$$list"; then \
|
||||||
|
echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
|
||||||
|
$(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
|
||||||
|
fi; \
|
||||||
|
for p in $$list; do \
|
||||||
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||||
|
echo "$$d$$p"; \
|
||||||
|
done | $(am__base_list) | \
|
||||||
|
while read files; do \
|
||||||
|
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
|
||||||
|
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
|
||||||
|
done
|
||||||
|
|
||||||
|
uninstall-dist_pkgdataDATA:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
|
||||||
|
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||||
|
dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
|
||||||
|
|
||||||
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
|
# into them and run 'make' without going through this Makefile.
|
||||||
|
# To change the values of 'make' variables: instead of editing Makefiles,
|
||||||
|
# (1) if the variable is set in 'config.status', edit 'config.status'
|
||||||
|
# (which will cause the Makefiles to be regenerated when you run 'make');
|
||||||
|
# (2) otherwise, pass the desired values on the 'make' command line.
|
||||||
|
$(am__recursive_targets):
|
||||||
|
@fail=; \
|
||||||
|
if $(am__make_keepgoing); then \
|
||||||
|
failcom='fail=yes'; \
|
||||||
|
else \
|
||||||
|
failcom='exit 1'; \
|
||||||
|
fi; \
|
||||||
|
dot_seen=no; \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
case "$@" in \
|
||||||
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||||
|
*) list='$(SUBDIRS)' ;; \
|
||||||
|
esac; \
|
||||||
|
for subdir in $$list; do \
|
||||||
|
echo "Making $$target in $$subdir"; \
|
||||||
|
if test "$$subdir" = "."; then \
|
||||||
|
dot_seen=yes; \
|
||||||
|
local_target="$$target-am"; \
|
||||||
|
else \
|
||||||
|
local_target="$$target"; \
|
||||||
|
fi; \
|
||||||
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|
|| eval $$failcom; \
|
||||||
|
done; \
|
||||||
|
if test "$$dot_seen" = "no"; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||||
|
fi; test -z "$$fail"
|
||||||
|
|
||||||
|
ID: $(am__tagged_files)
|
||||||
|
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||||
|
tags: tags-recursive
|
||||||
|
TAGS: tags
|
||||||
|
|
||||||
|
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||||
|
set x; \
|
||||||
|
here=`pwd`; \
|
||||||
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||||
|
include_option=--etags-include; \
|
||||||
|
empty_fix=.; \
|
||||||
|
else \
|
||||||
|
include_option=--include; \
|
||||||
|
empty_fix=; \
|
||||||
|
fi; \
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
test ! -f $$subdir/TAGS || \
|
||||||
|
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
$(am__define_uniq_tagged_files); \
|
||||||
|
shift; \
|
||||||
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||||
|
test -n "$$unique" || unique=$$empty_fix; \
|
||||||
|
if test $$# -gt 0; then \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
"$$@" $$unique; \
|
||||||
|
else \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
$$unique; \
|
||||||
|
fi; \
|
||||||
|
fi
|
||||||
|
ctags: ctags-recursive
|
||||||
|
|
||||||
|
CTAGS: ctags
|
||||||
|
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||||
|
$(am__define_uniq_tagged_files); \
|
||||||
|
test -z "$(CTAGS_ARGS)$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||||
|
$$unique
|
||||||
|
|
||||||
|
GTAGS:
|
||||||
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
|
&& $(am__cd) $(top_srcdir) \
|
||||||
|
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||||
|
cscopelist: cscopelist-recursive
|
||||||
|
|
||||||
|
cscopelist-am: $(am__tagged_files)
|
||||||
|
list='$(am__tagged_files)'; \
|
||||||
|
case "$(srcdir)" in \
|
||||||
|
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||||
|
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||||
|
esac; \
|
||||||
|
for i in $$list; do \
|
||||||
|
if test -f "$$i"; then \
|
||||||
|
echo "$(subdir)/$$i"; \
|
||||||
|
else \
|
||||||
|
echo "$$sdir/$$i"; \
|
||||||
|
fi; \
|
||||||
|
done >> $(top_builddir)/cscope.files
|
||||||
|
|
||||||
|
distclean-tags:
|
||||||
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
|
||||||
|
distdir: $(BUILT_SOURCES)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||||
|
|
||||||
|
distdir-am: $(DISTFILES)
|
||||||
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
list='$(DISTFILES)'; \
|
||||||
|
dist_files=`for file in $$list; do echo $$file; done | \
|
||||||
|
sed -e "s|^$$srcdirstrip/||;t" \
|
||||||
|
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||||
|
case $$dist_files in \
|
||||||
|
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||||
|
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||||
|
sort -u` ;; \
|
||||||
|
esac; \
|
||||||
|
for file in $$dist_files; do \
|
||||||
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test -d "$(distdir)/$$file"; then \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||||
|
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
else \
|
||||||
|
test -f "$(distdir)/$$file" \
|
||||||
|
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
$(am__make_dryrun) \
|
||||||
|
|| test -d "$(distdir)/$$subdir" \
|
||||||
|
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||||
|
|| exit 1; \
|
||||||
|
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||||
|
$(am__relativize); \
|
||||||
|
new_distdir=$$reldir; \
|
||||||
|
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||||
|
$(am__relativize); \
|
||||||
|
new_top_distdir=$$reldir; \
|
||||||
|
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||||
|
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||||
|
($(am__cd) $$subdir && \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$$new_top_distdir" \
|
||||||
|
distdir="$$new_distdir" \
|
||||||
|
am__remove_distdir=: \
|
||||||
|
am__skip_length_check=: \
|
||||||
|
am__skip_mode_fix=: \
|
||||||
|
distdir) \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
check-am: all-am
|
||||||
|
check: check-recursive
|
||||||
|
all-am: Makefile $(DATA)
|
||||||
|
installdirs: installdirs-recursive
|
||||||
|
installdirs-am:
|
||||||
|
for dir in "$(DESTDIR)$(pkgdatadir)"; do \
|
||||||
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||||
|
done
|
||||||
|
install: install-recursive
|
||||||
|
install-exec: install-exec-recursive
|
||||||
|
install-data: install-data-recursive
|
||||||
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-recursive
|
||||||
|
install-strip:
|
||||||
|
if test -z '$(STRIP)'; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
install; \
|
||||||
|
else \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||||
|
fi
|
||||||
|
mostlyclean-generic:
|
||||||
|
|
||||||
|
clean-generic:
|
||||||
|
|
||||||
|
distclean-generic:
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||||
|
|
||||||
|
maintainer-clean-generic:
|
||||||
|
@echo "This command is intended for maintainers to use"
|
||||||
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
clean: clean-recursive
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-recursive
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-generic distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-recursive
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
html: html-recursive
|
||||||
|
|
||||||
|
html-am:
|
||||||
|
|
||||||
|
info: info-recursive
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-dist_pkgdataDATA
|
||||||
|
|
||||||
|
install-dvi: install-dvi-recursive
|
||||||
|
|
||||||
|
install-dvi-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
|
||||||
|
install-html: install-html-recursive
|
||||||
|
|
||||||
|
install-html-am:
|
||||||
|
|
||||||
|
install-info: install-info-recursive
|
||||||
|
|
||||||
|
install-info-am:
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
install-pdf: install-pdf-recursive
|
||||||
|
|
||||||
|
install-pdf-am:
|
||||||
|
|
||||||
|
install-ps: install-ps-recursive
|
||||||
|
|
||||||
|
install-ps-am:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-recursive
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-recursive
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-recursive
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-recursive
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-dist_pkgdataDATA
|
||||||
|
|
||||||
|
.MAKE: $(am__recursive_targets) install-am install-strip
|
||||||
|
|
||||||
|
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
|
||||||
|
check-am clean clean-generic clean-libtool cscopelist-am ctags \
|
||||||
|
ctags-am distclean distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am html html-am info info-am \
|
||||||
|
install install-am install-data install-data-am \
|
||||||
|
install-dist_pkgdataDATA install-dvi install-dvi-am \
|
||||||
|
install-exec install-exec-am install-html install-html-am \
|
||||||
|
install-info install-info-am install-man install-pdf \
|
||||||
|
install-pdf-am install-ps install-ps-am install-strip \
|
||||||
|
installcheck installcheck-am installdirs installdirs-am \
|
||||||
|
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||||
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||||
|
tags tags-am uninstall uninstall-am uninstall-dist_pkgdataDATA
|
||||||
|
|
||||||
|
.PRECIOUS: Makefile
|
||||||
|
|
||||||
|
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
.NOEXPORT:
|
4
src/base/Makefile.am
Normal file
4
src/base/Makefile.am
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
if ! HAVE_TINYXML
|
||||||
|
SUBDIRS = tinyxml
|
||||||
|
endif
|
||||||
|
DIST_SUBDIRS = tinyxml
|
756
src/base/Makefile.in
Normal file
756
src/base/Makefile.in
Normal file
|
@ -0,0 +1,756 @@
|
||||||
|
# Makefile.in generated by automake 1.16.2 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright (C) 1994-2020 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This Makefile.in 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
|
||||||
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
am__is_gnu_make = { \
|
||||||
|
if test -z '$(MAKELEVEL)'; then \
|
||||||
|
false; \
|
||||||
|
elif test -n '$(MAKE_HOST)'; then \
|
||||||
|
true; \
|
||||||
|
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||||
|
true; \
|
||||||
|
else \
|
||||||
|
false; \
|
||||||
|
fi; \
|
||||||
|
}
|
||||||
|
am__make_running_with_option = \
|
||||||
|
case $${target_option-} in \
|
||||||
|
?) ;; \
|
||||||
|
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||||
|
"target option '$${target_option-}' specified" >&2; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
has_opt=no; \
|
||||||
|
sane_makeflags=$$MAKEFLAGS; \
|
||||||
|
if $(am__is_gnu_make); then \
|
||||||
|
sane_makeflags=$$MFLAGS; \
|
||||||
|
else \
|
||||||
|
case $$MAKEFLAGS in \
|
||||||
|
*\\[\ \ ]*) \
|
||||||
|
bs=\\; \
|
||||||
|
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||||
|
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||||
|
esac; \
|
||||||
|
fi; \
|
||||||
|
skip_next=no; \
|
||||||
|
strip_trailopt () \
|
||||||
|
{ \
|
||||||
|
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||||
|
}; \
|
||||||
|
for flg in $$sane_makeflags; do \
|
||||||
|
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||||
|
case $$flg in \
|
||||||
|
*=*|--*) continue;; \
|
||||||
|
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||||
|
-*I?*) strip_trailopt 'I';; \
|
||||||
|
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||||
|
-*O?*) strip_trailopt 'O';; \
|
||||||
|
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||||
|
-*l?*) strip_trailopt 'l';; \
|
||||||
|
-[dEDm]) skip_next=yes;; \
|
||||||
|
-[JT]) skip_next=yes;; \
|
||||||
|
esac; \
|
||||||
|
case $$flg in \
|
||||||
|
*$$target_option*) has_opt=yes; break;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
test $$has_opt = yes
|
||||||
|
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||||
|
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
install_sh_DATA = $(install_sh) -c -m 644
|
||||||
|
install_sh_PROGRAM = $(install_sh) -c
|
||||||
|
install_sh_SCRIPT = $(install_sh) -c
|
||||||
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
|
transform = $(program_transform_name)
|
||||||
|
NORMAL_INSTALL = :
|
||||||
|
PRE_INSTALL = :
|
||||||
|
POST_INSTALL = :
|
||||||
|
NORMAL_UNINSTALL = :
|
||||||
|
PRE_UNINSTALL = :
|
||||||
|
POST_UNINSTALL = :
|
||||||
|
build_triplet = @build@
|
||||||
|
host_triplet = @host@
|
||||||
|
target_triplet = @target@
|
||||||
|
subdir = src/base
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
||||||
|
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
||||||
|
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
|
||||||
|
$(top_srcdir)/revision.m4 $(top_srcdir)/m4/acinclude.m4 \
|
||||||
|
$(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
|
||||||
|
$(top_srcdir)/m4/ax_boost_base.m4 \
|
||||||
|
$(top_srcdir)/m4/ax_boost_system.m4 $(top_srcdir)/configure.ac
|
||||||
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||||
|
$(ACLOCAL_M4)
|
||||||
|
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
|
||||||
|
mkinstalldirs = $(install_sh) -d
|
||||||
|
CONFIG_HEADER = $(top_builddir)/src/include/config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
CONFIG_CLEAN_VPATH_FILES =
|
||||||
|
AM_V_P = $(am__v_P_@AM_V@)
|
||||||
|
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||||
|
am__v_P_0 = false
|
||||||
|
am__v_P_1 = :
|
||||||
|
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||||
|
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||||
|
am__v_GEN_0 = @echo " GEN " $@;
|
||||||
|
am__v_GEN_1 =
|
||||||
|
AM_V_at = $(am__v_at_@AM_V@)
|
||||||
|
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||||
|
am__v_at_0 = @
|
||||||
|
am__v_at_1 =
|
||||||
|
SOURCES =
|
||||||
|
DIST_SOURCES =
|
||||||
|
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
|
||||||
|
ctags-recursive dvi-recursive html-recursive info-recursive \
|
||||||
|
install-data-recursive install-dvi-recursive \
|
||||||
|
install-exec-recursive install-html-recursive \
|
||||||
|
install-info-recursive install-pdf-recursive \
|
||||||
|
install-ps-recursive install-recursive installcheck-recursive \
|
||||||
|
installdirs-recursive pdf-recursive ps-recursive \
|
||||||
|
tags-recursive uninstall-recursive
|
||||||
|
am__can_run_installinfo = \
|
||||||
|
case $$AM_UPDATE_INFO_DIR in \
|
||||||
|
n|no|NO) false;; \
|
||||||
|
*) (install-info --version) >/dev/null 2>&1;; \
|
||||||
|
esac
|
||||||
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||||
|
distclean-recursive maintainer-clean-recursive
|
||||||
|
am__recursive_targets = \
|
||||||
|
$(RECURSIVE_TARGETS) \
|
||||||
|
$(RECURSIVE_CLEAN_TARGETS) \
|
||||||
|
$(am__extra_recursive_targets)
|
||||||
|
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
||||||
|
distdir distdir-am
|
||||||
|
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||||
|
# Read a list of newline-separated strings from the standard input,
|
||||||
|
# and print each of them once, without duplicates. Input order is
|
||||||
|
# *not* preserved.
|
||||||
|
am__uniquify_input = $(AWK) '\
|
||||||
|
BEGIN { nonempty = 0; } \
|
||||||
|
{ items[$$0] = 1; nonempty = 1; } \
|
||||||
|
END { if (nonempty) { for (i in items) print i; }; } \
|
||||||
|
'
|
||||||
|
# Make sure the list of sources is unique. This is necessary because,
|
||||||
|
# e.g., the same source file might be shared among _SOURCES variables
|
||||||
|
# for different programs/libraries.
|
||||||
|
am__define_uniq_tagged_files = \
|
||||||
|
list='$(am__tagged_files)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | $(am__uniquify_input)`
|
||||||
|
ETAGS = etags
|
||||||
|
CTAGS = ctags
|
||||||
|
am__DIST_COMMON = $(srcdir)/Makefile.in
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
am__relativize = \
|
||||||
|
dir0=`pwd`; \
|
||||||
|
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||||
|
sed_rest='s,^[^/]*/*,,'; \
|
||||||
|
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||||
|
sed_butlast='s,/*[^/]*$$,,'; \
|
||||||
|
while test -n "$$dir1"; do \
|
||||||
|
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||||
|
if test "$$first" != "."; then \
|
||||||
|
if test "$$first" = ".."; then \
|
||||||
|
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||||
|
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||||
|
else \
|
||||||
|
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||||
|
if test "$$first2" = "$$first"; then \
|
||||||
|
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||||
|
else \
|
||||||
|
dir2="../$$dir2"; \
|
||||||
|
fi; \
|
||||||
|
dir0="$$dir0"/"$$first"; \
|
||||||
|
fi; \
|
||||||
|
fi; \
|
||||||
|
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||||
|
done; \
|
||||||
|
reldir="$$dir2"
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||||
|
AR = @AR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
|
||||||
|
BOOST_LDFLAGS = @BOOST_LDFLAGS@
|
||||||
|
BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@
|
||||||
|
BUILD_AUTOVERSIONING = @BUILD_AUTOVERSIONING@
|
||||||
|
BUILD_BROWSETRACKER = @BUILD_BROWSETRACKER@
|
||||||
|
BUILD_BYOGAMES = @BUILD_BYOGAMES@
|
||||||
|
BUILD_CBKODERS = @BUILD_CBKODERS@
|
||||||
|
BUILD_CCCC = @BUILD_CCCC@
|
||||||
|
BUILD_CODESNIPPETS = @BUILD_CODESNIPPETS@
|
||||||
|
BUILD_CODESTAT = @BUILD_CODESTAT@
|
||||||
|
BUILD_COPYSTRINGS = @BUILD_COPYSTRINGS@
|
||||||
|
BUILD_CPPCHECK = @BUILD_CPPCHECK@
|
||||||
|
BUILD_CSCOPE = @BUILD_CSCOPE@
|
||||||
|
BUILD_DOXYBLOCKS = @BUILD_DOXYBLOCKS@
|
||||||
|
BUILD_DRAGSCROLL = @BUILD_DRAGSCROLL@
|
||||||
|
BUILD_EDITORCONFIG = @BUILD_EDITORCONFIG@
|
||||||
|
BUILD_EDITORTWEAKS = @BUILD_EDITORTWEAKS@
|
||||||
|
BUILD_ENVVARS = @BUILD_ENVVARS@
|
||||||
|
BUILD_EXPORTER = @BUILD_EXPORTER@
|
||||||
|
BUILD_FILEMANAGER = @BUILD_FILEMANAGER@
|
||||||
|
BUILD_HEADERFIXUP = @BUILD_HEADERFIXUP@
|
||||||
|
BUILD_HELP = @BUILD_HELP@
|
||||||
|
BUILD_HEXEDITOR = @BUILD_HEXEDITOR@
|
||||||
|
BUILD_INCSEARCH = @BUILD_INCSEARCH@
|
||||||
|
BUILD_KEYBINDER = @BUILD_KEYBINDER@
|
||||||
|
BUILD_LIBFINDER = @BUILD_LIBFINDER@
|
||||||
|
BUILD_MOUSESAP = @BUILD_MOUSESAP@
|
||||||
|
BUILD_NASSISHNEIDERMAN = @BUILD_NASSISHNEIDERMAN@
|
||||||
|
BUILD_PROFILER = @BUILD_PROFILER@
|
||||||
|
BUILD_REGEX = @BUILD_REGEX@
|
||||||
|
BUILD_REOPENEDITOR = @BUILD_REOPENEDITOR@
|
||||||
|
BUILD_RNDGEN = @BUILD_RNDGEN@
|
||||||
|
BUILD_SMARTINDENT = @BUILD_SMARTINDENT@
|
||||||
|
BUILD_SPELLCHECKER = @BUILD_SPELLCHECKER@
|
||||||
|
BUILD_SYMTAB = @BUILD_SYMTAB@
|
||||||
|
BUILD_THREADSEARCH = @BUILD_THREADSEARCH@
|
||||||
|
BUILD_TOOLSPLUS = @BUILD_TOOLSPLUS@
|
||||||
|
BUILD_VALGRIND = @BUILD_VALGRIND@
|
||||||
|
BUILD_WXCONTRIB = @BUILD_WXCONTRIB@
|
||||||
|
BUILD_WXSMITH = @BUILD_WXSMITH@
|
||||||
|
BUILD_WXSMITHAUI = @BUILD_WXSMITHAUI@
|
||||||
|
BUILD_WXSMITHCONTRIB = @BUILD_WXSMITHCONTRIB@
|
||||||
|
CB_FONTCONFIG_CFLAGS = @CB_FONTCONFIG_CFLAGS@
|
||||||
|
CB_FONTCONFIG_LIBS = @CB_FONTCONFIG_LIBS@
|
||||||
|
CB_GAMIN_CFLAGS = @CB_GAMIN_CFLAGS@
|
||||||
|
CB_GAMIN_LIBS = @CB_GAMIN_LIBS@
|
||||||
|
CB_GLIB2_CFLAGS = @CB_GLIB2_CFLAGS@
|
||||||
|
CB_GLIB2_LIBS = @CB_GLIB2_LIBS@
|
||||||
|
CB_HUNSPELL_CFLAGS = @CB_HUNSPELL_CFLAGS@
|
||||||
|
CB_HUNSPELL_LIBS = @CB_HUNSPELL_LIBS@
|
||||||
|
CB_SQUIRREL_CFLAGS = @CB_SQUIRREL_CFLAGS@
|
||||||
|
CB_SQUIRREL_LIBS = @CB_SQUIRREL_LIBS@
|
||||||
|
CB_TINYXML_CFLAGS = @CB_TINYXML_CFLAGS@
|
||||||
|
CB_TINYXML_LIBS = @CB_TINYXML_LIBS@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CODEBLOCKS_PLATFORM = @CODEBLOCKS_PLATFORM@
|
||||||
|
CODEBLOCKS_VERSION_INFO = @CODEBLOCKS_VERSION_INFO@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CXX = @CXX@
|
||||||
|
CXXCPP = @CXXCPP@
|
||||||
|
CXXDEPMODE = @CXXDEPMODE@
|
||||||
|
CXXFLAGS = @CXXFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DATE = @DATE@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
DLLTOOL = @DLLTOOL@
|
||||||
|
DSYMUTIL = @DSYMUTIL@
|
||||||
|
DUMPBIN = @DUMPBIN@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
FGREP = @FGREP@
|
||||||
|
FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
|
||||||
|
FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
|
||||||
|
GAMIN_CFLAGS = @GAMIN_CFLAGS@
|
||||||
|
GAMIN_LIBS = @GAMIN_LIBS@
|
||||||
|
GCC_MAJOR_VERSION = @GCC_MAJOR_VERSION@
|
||||||
|
GCC_MINOR_VERSION = @GCC_MINOR_VERSION@
|
||||||
|
GCC_PATCH_VERSION = @GCC_PATCH_VERSION@
|
||||||
|
GCC_VERSION = @GCC_VERSION@
|
||||||
|
GDK_CFLAGS = @GDK_CFLAGS@
|
||||||
|
GDK_LIBS = @GDK_LIBS@
|
||||||
|
GLIB2_CFLAGS = @GLIB2_CFLAGS@
|
||||||
|
GLIB2_LIBS = @GLIB2_LIBS@
|
||||||
|
GREP = @GREP@
|
||||||
|
GTK_CFLAGS = @GTK_CFLAGS@
|
||||||
|
GTK_LIBS = @GTK_LIBS@
|
||||||
|
HAVE_CXX11 = @HAVE_CXX11@
|
||||||
|
HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@
|
||||||
|
HUNSPELL_CFLAGS = @HUNSPELL_CFLAGS@
|
||||||
|
HUNSPELL_LIBS = @HUNSPELL_LIBS@
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LD = @LD@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LIPO = @LIPO@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
|
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
|
||||||
|
MACSETFILE = @MACSETFILE@
|
||||||
|
MAKEINFO = @MAKEINFO@
|
||||||
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
||||||
|
MKDIR_P = @MKDIR_P@
|
||||||
|
MODULE_SHARED_LDFLAGS = @MODULE_SHARED_LDFLAGS@
|
||||||
|
NM = @NM@
|
||||||
|
NMEDIT = @NMEDIT@
|
||||||
|
OBJDUMP = @OBJDUMP@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
OTOOL = @OTOOL@
|
||||||
|
OTOOL64 = @OTOOL64@
|
||||||
|
PACKAGE = @PACKAGE@
|
||||||
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||||
|
PACKAGE_NAME = @PACKAGE_NAME@
|
||||||
|
PACKAGE_STRING = @PACKAGE_STRING@
|
||||||
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||||
|
PACKAGE_URL = @PACKAGE_URL@
|
||||||
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
PKG_CONFIG = @PKG_CONFIG@
|
||||||
|
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
|
||||||
|
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
||||||
|
PLATFORM_CFLAGS = @PLATFORM_CFLAGS@
|
||||||
|
PLATFORM_LIBS = @PLATFORM_LIBS@
|
||||||
|
PLUGIN_FLAGS = @PLUGIN_FLAGS@
|
||||||
|
POSTLINK_COMMAND = @POSTLINK_COMMAND@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
RC = @RC@
|
||||||
|
REVISION = @REVISION@
|
||||||
|
REZ = @REZ@
|
||||||
|
SCINTILLA_GTK_CFLAGS = @SCINTILLA_GTK_CFLAGS@
|
||||||
|
SCINTILLA_GTK_LIBS = @SCINTILLA_GTK_LIBS@
|
||||||
|
SED = @SED@
|
||||||
|
SETFILE = @SETFILE@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHARED_FLAGS = @SHARED_FLAGS@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
SQUIRREL_CFLAGS = @SQUIRREL_CFLAGS@
|
||||||
|
SQUIRREL_LIBS = @SQUIRREL_LIBS@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
TINYXML_CFLAGS = @TINYXML_CFLAGS@
|
||||||
|
TINYXML_LIBS = @TINYXML_LIBS@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
WXPROPGRID_DIR = @WXPROPGRID_DIR@
|
||||||
|
WXPROPGRID_HEADERS = @WXPROPGRID_HEADERS@
|
||||||
|
WXPROPGRID_INCLUDE = @WXPROPGRID_INCLUDE@
|
||||||
|
WXPROPGRID_LIB = @WXPROPGRID_LIB@
|
||||||
|
WX_CFLAGS = @WX_CFLAGS@
|
||||||
|
WX_CFLAGS_ONLY = @WX_CFLAGS_ONLY@
|
||||||
|
WX_CONFIG_PATH = @WX_CONFIG_PATH@
|
||||||
|
WX_CPPFLAGS = @WX_CPPFLAGS@
|
||||||
|
WX_CXXFLAGS = @WX_CXXFLAGS@
|
||||||
|
WX_CXXFLAGS_ONLY = @WX_CXXFLAGS_ONLY@
|
||||||
|
WX_GTK_CFLAGS = @WX_GTK_CFLAGS@
|
||||||
|
WX_GTK_LIBS = @WX_GTK_LIBS@
|
||||||
|
WX_LIBS = @WX_LIBS@
|
||||||
|
WX_LIBS_STATIC = @WX_LIBS_STATIC@
|
||||||
|
WX_RESCOMP = @WX_RESCOMP@
|
||||||
|
WX_VERSION = @WX_VERSION@
|
||||||
|
WX_VERSION_MAJOR = @WX_VERSION_MAJOR@
|
||||||
|
WX_VERSION_MICRO = @WX_VERSION_MICRO@
|
||||||
|
WX_VERSION_MINOR = @WX_VERSION_MINOR@
|
||||||
|
WX_X11_CFLAGS = @WX_X11_CFLAGS@
|
||||||
|
WX_X11_LIBS = @WX_X11_LIBS@
|
||||||
|
XMKMF = @XMKMF@
|
||||||
|
X_CFLAGS = @X_CFLAGS@
|
||||||
|
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||||
|
X_LIBS = @X_LIBS@
|
||||||
|
X_PRE_LIBS = @X_PRE_LIBS@
|
||||||
|
abs_builddir = @abs_builddir@
|
||||||
|
abs_srcdir = @abs_srcdir@
|
||||||
|
abs_top_builddir = @abs_top_builddir@
|
||||||
|
abs_top_srcdir = @abs_top_srcdir@
|
||||||
|
ac_ct_AR = @ac_ct_AR@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_CXX = @ac_ct_CXX@
|
||||||
|
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__leading_dot = @am__leading_dot@
|
||||||
|
am__quote = @am__quote@
|
||||||
|
am__tar = @am__tar@
|
||||||
|
am__untar = @am__untar@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
builddir = @builddir@
|
||||||
|
codeblocks_PCH_FLAGS = @codeblocks_PCH_FLAGS@
|
||||||
|
datadir = @datadir@
|
||||||
|
datarootdir = @datarootdir@
|
||||||
|
docdir = @docdir@
|
||||||
|
dvidir = @dvidir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
htmldir = @htmldir@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localedir = @localedir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
mkdir_p = @mkdir_p@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
pdfdir = @pdfdir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
psdir = @psdir@
|
||||||
|
runstatedir = @runstatedir@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
srcdir = @srcdir@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target = @target@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
target_cpu = @target_cpu@
|
||||||
|
target_os = @target_os@
|
||||||
|
target_vendor = @target_vendor@
|
||||||
|
top_build_prefix = @top_build_prefix@
|
||||||
|
top_builddir = @top_builddir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
zlib_CFLAGS = @zlib_CFLAGS@
|
||||||
|
zlib_LIBS = @zlib_LIBS@
|
||||||
|
@HAVE_TINYXML_FALSE@SUBDIRS = tinyxml
|
||||||
|
DIST_SUBDIRS = tinyxml
|
||||||
|
all: all-recursive
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||||
|
@for dep in $?; do \
|
||||||
|
case '$(am__configure_deps)' in \
|
||||||
|
*$$dep*) \
|
||||||
|
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||||
|
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/base/Makefile'; \
|
||||||
|
$(am__cd) $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign src/base/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
@case '$?' in \
|
||||||
|
*config.status*) \
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||||
|
*) \
|
||||||
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
|
||||||
|
esac;
|
||||||
|
|
||||||
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
|
||||||
|
$(top_srcdir)/configure: $(am__configure_deps)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
$(am__aclocal_m4_deps):
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
|
# into them and run 'make' without going through this Makefile.
|
||||||
|
# To change the values of 'make' variables: instead of editing Makefiles,
|
||||||
|
# (1) if the variable is set in 'config.status', edit 'config.status'
|
||||||
|
# (which will cause the Makefiles to be regenerated when you run 'make');
|
||||||
|
# (2) otherwise, pass the desired values on the 'make' command line.
|
||||||
|
$(am__recursive_targets):
|
||||||
|
@fail=; \
|
||||||
|
if $(am__make_keepgoing); then \
|
||||||
|
failcom='fail=yes'; \
|
||||||
|
else \
|
||||||
|
failcom='exit 1'; \
|
||||||
|
fi; \
|
||||||
|
dot_seen=no; \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
case "$@" in \
|
||||||
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||||
|
*) list='$(SUBDIRS)' ;; \
|
||||||
|
esac; \
|
||||||
|
for subdir in $$list; do \
|
||||||
|
echo "Making $$target in $$subdir"; \
|
||||||
|
if test "$$subdir" = "."; then \
|
||||||
|
dot_seen=yes; \
|
||||||
|
local_target="$$target-am"; \
|
||||||
|
else \
|
||||||
|
local_target="$$target"; \
|
||||||
|
fi; \
|
||||||
|
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|
|| eval $$failcom; \
|
||||||
|
done; \
|
||||||
|
if test "$$dot_seen" = "no"; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||||
|
fi; test -z "$$fail"
|
||||||
|
|
||||||
|
ID: $(am__tagged_files)
|
||||||
|
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||||
|
tags: tags-recursive
|
||||||
|
TAGS: tags
|
||||||
|
|
||||||
|
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||||
|
set x; \
|
||||||
|
here=`pwd`; \
|
||||||
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||||
|
include_option=--etags-include; \
|
||||||
|
empty_fix=.; \
|
||||||
|
else \
|
||||||
|
include_option=--include; \
|
||||||
|
empty_fix=; \
|
||||||
|
fi; \
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
test ! -f $$subdir/TAGS || \
|
||||||
|
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
$(am__define_uniq_tagged_files); \
|
||||||
|
shift; \
|
||||||
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||||
|
test -n "$$unique" || unique=$$empty_fix; \
|
||||||
|
if test $$# -gt 0; then \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
"$$@" $$unique; \
|
||||||
|
else \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
$$unique; \
|
||||||
|
fi; \
|
||||||
|
fi
|
||||||
|
ctags: ctags-recursive
|
||||||
|
|
||||||
|
CTAGS: ctags
|
||||||
|
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||||
|
$(am__define_uniq_tagged_files); \
|
||||||
|
test -z "$(CTAGS_ARGS)$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||||
|
$$unique
|
||||||
|
|
||||||
|
GTAGS:
|
||||||
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
|
&& $(am__cd) $(top_srcdir) \
|
||||||
|
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||||
|
cscopelist: cscopelist-recursive
|
||||||
|
|
||||||
|
cscopelist-am: $(am__tagged_files)
|
||||||
|
list='$(am__tagged_files)'; \
|
||||||
|
case "$(srcdir)" in \
|
||||||
|
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||||
|
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||||
|
esac; \
|
||||||
|
for i in $$list; do \
|
||||||
|
if test -f "$$i"; then \
|
||||||
|
echo "$(subdir)/$$i"; \
|
||||||
|
else \
|
||||||
|
echo "$$sdir/$$i"; \
|
||||||
|
fi; \
|
||||||
|
done >> $(top_builddir)/cscope.files
|
||||||
|
|
||||||
|
distclean-tags:
|
||||||
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
|
||||||
|
distdir: $(BUILT_SOURCES)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||||
|
|
||||||
|
distdir-am: $(DISTFILES)
|
||||||
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||||
|
list='$(DISTFILES)'; \
|
||||||
|
dist_files=`for file in $$list; do echo $$file; done | \
|
||||||
|
sed -e "s|^$$srcdirstrip/||;t" \
|
||||||
|
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||||
|
case $$dist_files in \
|
||||||
|
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||||
|
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||||
|
sort -u` ;; \
|
||||||
|
esac; \
|
||||||
|
for file in $$dist_files; do \
|
||||||
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test -d "$(distdir)/$$file"; then \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||||
|
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||||
|
fi; \
|
||||||
|
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||||
|
else \
|
||||||
|
test -f "$(distdir)/$$file" \
|
||||||
|
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
$(am__make_dryrun) \
|
||||||
|
|| test -d "$(distdir)/$$subdir" \
|
||||||
|
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||||
|
|| exit 1; \
|
||||||
|
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||||
|
$(am__relativize); \
|
||||||
|
new_distdir=$$reldir; \
|
||||||
|
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||||
|
$(am__relativize); \
|
||||||
|
new_top_distdir=$$reldir; \
|
||||||
|
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||||
|
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||||
|
($(am__cd) $$subdir && \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$$new_top_distdir" \
|
||||||
|
distdir="$$new_distdir" \
|
||||||
|
am__remove_distdir=: \
|
||||||
|
am__skip_length_check=: \
|
||||||
|
am__skip_mode_fix=: \
|
||||||
|
distdir) \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
check-am: all-am
|
||||||
|
check: check-recursive
|
||||||
|
all-am: Makefile
|
||||||
|
installdirs: installdirs-recursive
|
||||||
|
installdirs-am:
|
||||||
|
install: install-recursive
|
||||||
|
install-exec: install-exec-recursive
|
||||||
|
install-data: install-data-recursive
|
||||||
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-recursive
|
||||||
|
install-strip:
|
||||||
|
if test -z '$(STRIP)'; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
install; \
|
||||||
|
else \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||||
|
fi
|
||||||
|
mostlyclean-generic:
|
||||||
|
|
||||||
|
clean-generic:
|
||||||
|
|
||||||
|
distclean-generic:
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||||
|
|
||||||
|
maintainer-clean-generic:
|
||||||
|
@echo "This command is intended for maintainers to use"
|
||||||
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
clean: clean-recursive
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-recursive
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-generic distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-recursive
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
html: html-recursive
|
||||||
|
|
||||||
|
html-am:
|
||||||
|
|
||||||
|
info: info-recursive
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am:
|
||||||
|
|
||||||
|
install-dvi: install-dvi-recursive
|
||||||
|
|
||||||
|
install-dvi-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
|
||||||
|
install-html: install-html-recursive
|
||||||
|
|
||||||
|
install-html-am:
|
||||||
|
|
||||||
|
install-info: install-info-recursive
|
||||||
|
|
||||||
|
install-info-am:
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
install-pdf: install-pdf-recursive
|
||||||
|
|
||||||
|
install-pdf-am:
|
||||||
|
|
||||||
|
install-ps: install-ps-recursive
|
||||||
|
|
||||||
|
install-ps-am:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-recursive
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-recursive
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-recursive
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-recursive
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am:
|
||||||
|
|
||||||
|
.MAKE: $(am__recursive_targets) install-am install-strip
|
||||||
|
|
||||||
|
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
|
||||||
|
check-am clean clean-generic clean-libtool cscopelist-am ctags \
|
||||||
|
ctags-am distclean distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am html html-am info info-am \
|
||||||
|
install install-am install-data install-data-am install-dvi \
|
||||||
|
install-dvi-am install-exec install-exec-am install-html \
|
||||||
|
install-html-am install-info install-info-am install-man \
|
||||||
|
install-pdf install-pdf-am install-ps install-ps-am \
|
||||||
|
install-strip installcheck installcheck-am installdirs \
|
||||||
|
installdirs-am maintainer-clean maintainer-clean-generic \
|
||||||
|
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||||
|
ps ps-am tags tags-am uninstall uninstall-am
|
||||||
|
|
||||||
|
.PRECIOUS: Makefile
|
||||||
|
|
||||||
|
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
.NOEXPORT:
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue