]> rtime.felk.cvut.cz Git - omk.git/log
omk.git
16 years agoAdded support for "exporting" generated headers from _build tree
Michal Sojka [Wed, 16 Apr 2008 19:12:00 +0000 (19:12 +0000)]
Added support for "exporting" generated headers from _build tree

darcs-hash:20080416191219-f2ef6-cdbf439ef164b629a3ae55f3fe3b13d47a159272.gz

16 years agoFixed parallel invocation of make (with -j)
Michal Sojka [Wed, 9 Apr 2008 06:27:00 +0000 (06:27 +0000)]
Fixed parallel invocation of make (with -j)

In order for sub-makes to communicate with jobserver, it is necessary
to add + in front of line invoking the sub-make.

darcs-hash:20080409062706-f2ef6-fd8972c4d95155f278068cecf151f2f63ae36bac.gz

16 years agoAdded OMK_RULES_TYPE variable
Michal Sojka [Thu, 3 Apr 2008 10:54:00 +0000 (10:54 +0000)]
Added OMK_RULES_TYPE variable

This variable is automatically generated by the omkbuild.py on top of
the Makefile.rules. Its value is the name of rules target. It can be
used for example in config.target to distinguish between targets.

darcs-hash:20080403105414-f2ef6-acb33cb34ac1dc08ed93ad57d7978c7761bac647.gz

16 years agoFixed loading of test_PROGRAMS
Michal Sojka [Thu, 3 Apr 2008 08:59:00 +0000 (08:59 +0000)]
Fixed loading of test_PROGRAMS

darcs-hash:20080403085910-f2ef6-7ff4cff1dc326a9d417fa88b90d063d007346055.gz

16 years agoFixed omkize target.
Michal Sojka [Tue, 1 Apr 2008 16:24:00 +0000 (16:24 +0000)]
Fixed omkize target.

Now omkize does not overwrite Makefiles in directories with
Makefile.rules present and where no change is necessary.

darcs-hash:20080401162432-f2ef6-e2b3f52bfd7696497d3ee8a91c6fc3aa17a7f024.gz

16 years agoFixed typo in .PHONY declaration.
Michal Sojka [Sun, 30 Mar 2008 16:53:00 +0000 (16:53 +0000)]
Fixed typo in .PHONY declaration.

darcs-hash:20080330165316-f2ef6-98091cc5cdb962e8e1ed8643babec4feacd38788.gz

16 years agoFixed check for load command in sysless.
Michal Sojka [Fri, 28 Mar 2008 12:41:00 +0000 (12:41 +0000)]
Fixed check for load command in sysless.

darcs-hash:20080328124140-f2ef6-7a5553aadc95f31dda3877106bc0964530c4dc91.gz

16 years agoAdded test for correct overriding of variables in different configs.
Michal Sojka [Wed, 26 Mar 2008 17:51:00 +0000 (17:51 +0000)]
Added test for correct overriding of variables in different configs.

This test checks whether variables are overriden according to the user
manual.

darcs-hash:20080326175154-f2ef6-958beebf698c31c34b052edf8f864f29443dd915.gz

16 years agoFixed bug, when links to header files were created even if headers did not exist.
Michal Sojka [Tue, 18 Mar 2008 16:02:00 +0000 (16:02 +0000)]
Fixed bug, when links to header files were created even if headers did not exist.

darcs-hash:20080318160206-f2ef6-c2f527f11facc439c5603ee9dafbc06c86117099.gz

16 years agoSet MAKERULES_DIR in not defined.
Michal Sojka [Wed, 12 Mar 2008 16:43:00 +0000 (16:43 +0000)]
Set MAKERULES_DIR in not defined.

If OMK is not called by leaf Makefile but instead by
make -f <path>/Makefile.rules, MAKERULES_DIR variable is set automatically to the
correct value.

darcs-hash:20080312164306-f2ef6-639d249a10e7b763ff61413d86a6894a723fc750.gz

16 years agoDocumented srcdir variable
Michal Sojka [Tue, 11 Mar 2008 16:57:00 +0000 (16:57 +0000)]
Documented srcdir variable

darcs-hash:20080311165731-f2ef6-e3f272dfdef617a7ad41f17b53e30818aab3b4e5.gz

16 years agoReturn back "srcdir" variable. The VPATH cleanup has been too intrusive.
Pavel Pisa [Sun, 2 Mar 2008 00:06:00 +0000 (00:06 +0000)]
Return back "srcdir" variable. The VPATH cleanup has been too intrusive.

The "srcdir" variable notation is compatible with automake tools
and it is already used by some projects in Makefile.omk files.
Removal breaks build of ORTE library code for example.

darcs-hash:20080302000619-ff715-4f45c56027d0d4d5c146a3eb1600da3042c1eb64.gz

16 years agoAdded documentatio and test of SOURCES_DIR variable.
Michal Sojka [Tue, 11 Mar 2008 16:49:00 +0000 (16:49 +0000)]
Added documentatio and test of SOURCES_DIR variable.

darcs-hash:20080311164949-f2ef6-9a6499fad99abe0706a798839867e6b0af1ab431.gz

16 years agoFixed serialization of passes when W=1 is used.
Michal Sojka [Tue, 29 Jan 2008 08:11:00 +0000 (08:11 +0000)]
Fixed serialization of passes when W=1 is used.

darcs-hash:20080129081109-f2ef6-b39fbfb3ecb88ef2237c5da514b316ea7f0d2b7e.gz

16 years agoPropagated correction of MinGW madness workaround to Sysless rules.
Pavel Pisa [Mon, 28 Jan 2008 15:08:00 +0000 (15:08 +0000)]
Propagated correction of MinGW madness workaround to Sysless rules.

darcs-hash:20080128150815-ff715-fc963e644951829a0b1647ad4306decd6ce88990.gz

16 years agoconfig.target is included already in base.
Michal Sojka [Mon, 28 Jan 2008 10:19:00 +0000 (10:19 +0000)]
config.target is included already in base.

This is necessary if there USE_LEAF_MAKEFILES is set there.

darcs-hash:20080128101915-f2ef6-708f41a37bd14ca62ec8844ee99a75499fd870a7.gz

16 years agoMakefile.rules can now tell the OMK tester that the test cannot be executed.
Michal Sojka [Mon, 28 Jan 2008 08:30:00 +0000 (08:30 +0000)]
Makefile.rules can now tell the OMK tester that the test cannot be executed.

If OMK is executed by tester.py, base snippet calls -check targets for
each pass and defines macro 'canttest'. The canttest macro can be used
by the -check targets or at other places. It notifies the tester that
this test cannot be executed because of something is missing for
example.

This way, the check for "canttest" don't have to be in runtest
scripts, which allows to execute more tests and skip only those, which
relly need some unavailable feature.

Tester application was enhanced to produce results not only by
testcase but also by rules. The results also contains links to test
script and directory, so it is easy to see quicky what a given error
mean.

darcs-hash:20080128083057-f2ef6-ac647bd06ea8ce9c047190bf15441c95f50b8006.gz

16 years agoSetup snippets merged with the corresponding non-setup rules.
Michal Sojka [Sun, 27 Jan 2008 21:30:00 +0000 (21:30 +0000)]
Setup snippets merged with the corresponding non-setup rules.

It seems that setup rules are no longer necessary."

darcs-hash:20080127213002-f2ef6-97845afaa90d4cc15e81f09ccf60226a391b1224.gz

16 years agoVPATH variable completely removed from rules.
Michal Sojka [Sun, 27 Jan 2008 15:42:00 +0000 (15:42 +0000)]
VPATH variable completely removed from rules.

If the VPATH variable was set to SOURCES_DIR, it caused problems, when
there were .o files in SOURCES_DIR. OMK thoughts the prerequisites
existed and link command failed, because no .o file were found in
_build tree. This behavior was problematic if OMK was used in
projects with multiple make systems.

darcs-hash:20080127154245-f2ef6-69dbb419870250dfc8c8dfabe81e805e80145eb5.gz

16 years agoRemoved duplicite VPATH definition.
Michal Sojka [Sun, 27 Jan 2008 14:23:00 +0000 (14:23 +0000)]
Removed duplicite VPATH definition.

darcs-hash:20080127142332-f2ef6-1f77ff1573401015ba4247b5bde8e4c6ab752a89.gz

16 years agoAdded variable USE_LEAF_MAKEFILES with a testcase and documentation.
Michal Sojka [Wed, 16 Jan 2008 08:04:00 +0000 (08:04 +0000)]
Added variable USE_LEAF_MAKEFILES with a testcase and documentation.

darcs-hash:20080116080424-f2ef6-eeb2b88a857cd92ad46a31d4f03a87897e295a7a.gz

16 years agoIf a single runtest script is executed by hand and sources functions.sh, tester.py...
Michal Sojka [Wed, 16 Jan 2008 07:50:00 +0000 (07:50 +0000)]
If a single runtest script is executed by hand and sources functions.sh, tester.py is automatically executed in current directory.

darcs-hash:20080116075002-f2ef6-745a3c56ae6e21ab86ab47dfdff9d967754d15d0.gz

16 years agoFixed a bug caused by trailing space in SOURCES_DIR.
Michal Sojka [Thu, 10 Jan 2008 09:09:00 +0000 (09:09 +0000)]
Fixed a bug caused by trailing space in SOURCES_DIR.

darcs-hash:20080110090907-f2ef6-9d8d91c236c26d30e84055b1a399c0da7d5575ec.gz

16 years agoAdded comment to assignment of SOURCES_DIR
Michal Sojka [Wed, 19 Dec 2007 00:00:00 +0000 (00:00 +0000)]
Added comment to assignment of SOURCES_DIR

darcs-hash:20071219000005-f2ef6-6f808d131ddb5e58755273048db67fac5b6f7cbf.gz

16 years agoCosmetic changes to tester script
Michal Sojka [Tue, 18 Dec 2007 23:59:00 +0000 (23:59 +0000)]
Cosmetic changes to tester script

darcs-hash:20071218235958-f2ef6-85256e71258756e14651d2ac78e24d5e834fb0b8.gz

16 years agoconfig.target added to documentation. Reworked configuration section.
Michal Sojka [Sun, 16 Dec 2007 23:36:00 +0000 (23:36 +0000)]
config.target added to documentation. Reworked configuration section.

Please note, that current implementation doesn't conform to what is
written in documentation. We need to investigate how to rewrite
Makefile.rules to behave as described.

darcs-hash:20071216233644-f2ef6-6e29c165e8cffa84a56a9d784df65418c6c81e2b.gz

16 years agoConfiguration file config.target is supported by all rules.
Michal Sojka [Sun, 16 Dec 2007 22:09:00 +0000 (22:09 +0000)]
Configuration file config.target is supported by all rules.

darcs-hash:20071216220926-f2ef6-5fdb97f279f873fadca7d5b2b915c008da4305af.gz

16 years agolib_LIBRARIES clarified in documentation.
Michal Sojka [Wed, 2 Jan 2008 10:03:00 +0000 (10:03 +0000)]
lib_LIBRARIES clarified in documentation.

darcs-hash:20080102100327-f2ef6-d3234bbdb615417a27a7a1e7a75d1438af7d5a45.gz

16 years agoAdded a TODO item.
Michal Sojka [Wed, 28 Nov 2007 23:09:00 +0000 (23:09 +0000)]
Added a TODO item.

darcs-hash:20071128230957-f2ef6-cfb37cefc314597f63fbc3a978a8d37c580cc86a.gz

16 years agoAdded homepage link to rules comment.
Michal Sojka [Thu, 15 Nov 2007 17:37:00 +0000 (17:37 +0000)]
Added homepage link to rules comment.

darcs-hash:20071115173718-f2ef6-2b27b777c30e39a254d22a195fdcbd9176be31fa.gz

16 years agoFixed shared libs dependences and added test for shlibs.
Michal Sojka [Mon, 12 Nov 2007 12:55:00 +0000 (12:55 +0000)]
Fixed shared libs dependences and added test for shlibs.

darcs-hash:20071112125512-f2ef6-092be5cfc255005b7c541eac467feeaeed27e785.gz

16 years agoFixed TARGET_OS default assignment.
Michal Sojka [Mon, 12 Nov 2007 12:32:00 +0000 (12:32 +0000)]
Fixed TARGET_OS default assignment.

darcs-hash:20071112123248-f2ef6-3bc283c24aa6a4ac8b0879e9e00f997e3faf9114.gz

16 years agoAdded documentation to BUILD_OS and TARGET_OS.
Michal Sojka [Sun, 11 Nov 2007 23:02:00 +0000 (23:02 +0000)]
Added documentation to BUILD_OS and TARGET_OS.

darcs-hash:20071111230243-f2ef6-6fa67b6667943dc8d87a3baa697fb85d1d3b721e.gz

16 years agomove setting of varibables BUILD_OS and TARGET_OS into file linux-setup
petr.smolik [Sat, 10 Nov 2007 12:01:00 +0000 (12:01 +0000)]
move setting of varibables BUILD_OS and TARGET_OS into file linux-setup

darcs-hash:20071110120149-a3963-a6c687f48e0440ac927d18e4d048e54872ab5ced.gz

16 years agoAllow to specify libraries which should be used be included into shared library.
Pavel Pisa [Sat, 10 Nov 2007 11:37:00 +0000 (11:37 +0000)]
Allow to specify libraries which should be used be included into shared library.

Needs testing and more time to clean up.

darcs-hash:20071110113725-ff715-4fec12b8041e313f2e49dee19b3932a2e9c41df6.gz

16 years agoSeparated BUILD_OS and TARGET_OS.
Pavel Pisa [Sat, 10 Nov 2007 11:35:00 +0000 (11:35 +0000)]
Separated BUILD_OS and TARGET_OS.

darcs-hash:20071110113512-ff715-7b5d80c284a29585d1ef25793c393f35ceae39f0.gz

16 years agoadded setting variable TARGET_OS
petr.smolik [Thu, 8 Nov 2007 00:31:00 +0000 (00:31 +0000)]
added setting variable TARGET_OS

darcs-hash:20071108003107-a3963-a32fe715c3bc3a9ea9bd0440edb4acdfb0011b53.gz

16 years agoFixed LN_HEADERS in manual.
Michal Sojka [Wed, 24 Oct 2007 11:40:00 +0000 (11:40 +0000)]
Fixed LN_HEADERS in manual.

darcs-hash:20071024114055-f2ef6-51c8207735c1a2371b73567e87500a1c8ffc56b8.gz

16 years agoUse of V=2 was fixed and documented.
Michal Sojka [Wed, 24 Oct 2007 08:42:00 +0000 (08:42 +0000)]
Use of V=2 was fixed and documented.

darcs-hash:20071024084245-f2ef6-e98f699251e0d1c4d1670a405b832380b8e07638.gz

16 years agoAdded more documentation to make omkize.
Michal Sojka [Wed, 24 Oct 2007 08:08:00 +0000 (08:08 +0000)]
Added more documentation to make omkize.

darcs-hash:20071024080851-f2ef6-dedad41f82397b62c9622eb0f279ed7dd1a971fe.gz

16 years agoUpdates xxx_SOURCES in documentation.
Michal Sojka [Wed, 24 Oct 2007 07:19:00 +0000 (07:19 +0000)]
Updates xxx_SOURCES in documentation.

darcs-hash:20071024071935-f2ef6-dcfce7a2cfb1913bbe3f3cb55710f45b94db07fd.gz

16 years agoFixed typo in homepage.
Michal Sojka [Wed, 24 Oct 2007 07:14:00 +0000 (07:14 +0000)]
Fixed typo in homepage.

darcs-hash:20071024071438-f2ef6-2f4dbf303d5a46be36c8c69253cf50e7eea4635c.gz

16 years agoGenerated header tests doesn't use sleep.
Michal Sojka [Wed, 24 Oct 2007 07:03:00 +0000 (07:03 +0000)]
Generated header tests doesn't use sleep.

darcs-hash:20071024070347-f2ef6-240760252d035f61d2cef30d31a8d26a480e6d36.gz

16 years agoFixed toplevel config test.
Michal Sojka [Wed, 24 Oct 2007 07:00:00 +0000 (07:00 +0000)]
Fixed toplevel config test.

darcs-hash:20071024070014-f2ef6-2bbe7e6a31b1b9bf97cf8977ec45f213e9c3976f.gz

16 years agoAdded variable test_PROGRAMS.
Michal Sojka [Wed, 24 Oct 2007 06:59:00 +0000 (06:59 +0000)]
Added variable test_PROGRAMS.

darcs-hash:20071024065943-f2ef6-7304f6216fb7d00f93b4c24aea1400adfa288c25.gz

16 years agoFixed documentation Makefile to work correctly when updateing web from clean sources.
Michal Sojka [Tue, 23 Oct 2007 14:19:00 +0000 (14:19 +0000)]
Fixed documentation Makefile to work correctly when updateing web from clean sources.

darcs-hash:20071023141941-f2ef6-ecc663f5465c6f176462d065549b98cbe92c77e0.gz

16 years agoTiny fix in html documentation makefile.
Michal Sojka [Tue, 23 Oct 2007 13:55:00 +0000 (13:55 +0000)]
Tiny fix in html documentation makefile.

darcs-hash:20071023135544-f2ef6-94c0fd3530cc78a99c13b814677b3ce2527c6813.gz

16 years agoMakeinfo is now used to produce html manual.
Michal Sojka [Tue, 23 Oct 2007 13:43:00 +0000 (13:43 +0000)]
Makeinfo is now used to produce html manual.

darcs-hash:20071023134349-f2ef6-174321aa1d491d03b5cd356e3369889e1cf4c403.gz

16 years agoAdded PDF manual to web.
Michal Sojka [Tue, 23 Oct 2007 13:25:00 +0000 (13:25 +0000)]
Added PDF manual to web.

darcs-hash:20071023132546-f2ef6-363b914bde5f651cac8e47088021464eb2492eb2.gz

16 years agoWeb update put inside Makefile.
Michal Sojka [Tue, 23 Oct 2007 13:20:00 +0000 (13:20 +0000)]
Web update put inside Makefile.

darcs-hash:20071023132044-f2ef6-fe2af6aa0a7ae82e539f7a1f9c38ae1f7c6fdaf0.gz

16 years agoBitmap figures included in HTML documentation.
Michal Sojka [Tue, 23 Oct 2007 12:52:00 +0000 (12:52 +0000)]
Bitmap figures included in HTML documentation.

darcs-hash:20071023125232-f2ef6-067f54883caec8a4d3e8b1af373834ab8c050a96.gz

16 years agoFixes in documentation advised by Pavel.
Michal Sojka [Tue, 23 Oct 2007 12:25:00 +0000 (12:25 +0000)]
Fixes in documentation advised by Pavel.

darcs-hash:20071023122502-f2ef6-deb3ceac0b630bea35f24405e2d135c7c88249aa.gz

16 years agoAdded test for 'x' in generated headers.
Michal Sojka [Tue, 23 Oct 2007 11:07:00 +0000 (11:07 +0000)]
Added test for 'x' in generated headers.

darcs-hash:20071023110738-f2ef6-3feade67421080da0742b1610c4c727e686f9ec9.gz

16 years agoTest for config now includes 'x' value.
Michal Sojka [Tue, 23 Oct 2007 10:48:00 +0000 (10:48 +0000)]
Test for config now includes 'x' value.

darcs-hash:20071023104834-f2ef6-9d3c4d8f1cd3f21d9698c29f256e6e44d0a097c8.gz

16 years agoAdded test for command line specified CFLAGS.
Michal Sojka [Tue, 23 Oct 2007 09:51:00 +0000 (09:51 +0000)]
Added test for command line specified CFLAGS.

darcs-hash:20071023095108-f2ef6-6f01db841913b1538ce1887f9dbe92b4ffaf6e1b.gz

16 years agoRemoved original versions of rules (before snippets were used).
Michal Sojka [Tue, 23 Oct 2007 08:08:00 +0000 (08:08 +0000)]
Removed original versions of rules (before snippets were used).

darcs-hash:20071023080845-f2ef6-c8d5d16475546aaf01c0aeeacf373ab99e5b28c5.gz

16 years agoCleanup in repository.
Michal Sojka [Tue, 23 Oct 2007 08:06:00 +0000 (08:06 +0000)]
Cleanup in repository.

darcs-hash:20071023080608-f2ef6-4868f5554d5915fa59b3ff4b20c0a42d29431126.gz

16 years agoSome changes to the homepage.
Michal Sojka [Mon, 22 Oct 2007 17:31:00 +0000 (17:31 +0000)]
Some changes to the homepage.

darcs-hash:20071022173111-f2ef6-c0964348dfe145c30c961b544cc88621afee6458.gz

16 years agoFixex for building documentation on server.
Michal Sojka [Mon, 22 Oct 2007 17:23:00 +0000 (17:23 +0000)]
Fixex for building documentation on server.

darcs-hash:20071022172322-f2ef6-1702508a7b5eaf0b7594982e006b40cc3c60f6e2.gz

16 years agoFixed HTML manual and added web homepage.
Michal Sojka [Mon, 22 Oct 2007 16:28:00 +0000 (16:28 +0000)]
Fixed HTML manual and added web homepage.

darcs-hash:20071022162855-f2ef6-780e17f10505dae2baec575d01f0e642c0a9a678.gz

16 years agoManual name changed.
Michal Sojka [Mon, 22 Oct 2007 14:07:00 +0000 (14:07 +0000)]
Manual name changed.

darcs-hash:20071022140740-f2ef6-b3c66e39e070e2467abefadd7c8fe162bb22fe5f.gz

16 years agoAdded HTML output for documentation.
Michal Sojka [Mon, 22 Oct 2007 14:04:00 +0000 (14:04 +0000)]
Added HTML output for documentation.

darcs-hash:20071022140407-f2ef6-7ef8d79d5f87ed7cf2fb60f1d2c1f3ae40dc1cd1.gz

16 years agoFixed invisible example in txt documentation.
Michal Sojka [Mon, 22 Oct 2007 13:57:00 +0000 (13:57 +0000)]
Fixed invisible example in txt documentation.

darcs-hash:20071022135716-f2ef6-12f5acec46b7b005ae692467b8b59f45133785ee.gz

16 years agoSome fixes of documentation.
Michal Sojka [Mon, 22 Oct 2007 13:49:00 +0000 (13:49 +0000)]
Some fixes of documentation.

darcs-hash:20071022134958-f2ef6-36e1870ba2aa89dc7face1772c23310139e7567d.gz

16 years agoDocumentation update.
Michal Sojka [Mon, 22 Oct 2007 11:50:00 +0000 (11:50 +0000)]
Documentation update.

darcs-hash:20071022115056-f2ef6-b6ab297f1563e302372addaf2a3ceade04158dd9.gz

16 years agoAdded more documentation and some tests.
Michal Sojka [Sun, 21 Oct 2007 15:49:00 +0000 (15:49 +0000)]
Added more documentation and some tests.

darcs-hash:20071021154901-f2ef6-41e0b7ed77e691c49d5608c315971597080e2784.gz

16 years agoMore documentation and some test to what is written in documentation.
Michal Sojka [Sun, 21 Oct 2007 10:49:00 +0000 (10:49 +0000)]
More documentation and some test to what is written in documentation.

darcs-hash:20071021104959-f2ef6-49de76246d45a4a42f51f439276affdebe520f38.gz

16 years agoDocumentation update.
Michal Sojka [Fri, 19 Oct 2007 13:39:00 +0000 (13:39 +0000)]
Documentation update.

darcs-hash:20071019133904-f2ef6-c4b01a90f0a9462505bc40f8ac799733a4fe7982.gz

16 years agoDomumentation updates.
Michal Sojka [Wed, 17 Oct 2007 16:17:00 +0000 (16:17 +0000)]
Domumentation updates.

darcs-hash:20071017161722-f2ef6-2e1cbf368c0ad860ffb146d869687a92e96e686c.gz

16 years agoAdded target omkize, which replaces all Makefiles in subdirectories with Makefile...
Michal Sojka [Wed, 17 Oct 2007 16:07:00 +0000 (16:07 +0000)]
Added target omkize, which replaces all Makefiles in subdirectories with Makefile.omk.

darcs-hash:20071017160711-f2ef6-48da8d2f361dd2a5015be6aedb50bdd9c8049810.gz

16 years agoFixed test for checking of header file regeneration.
Michal Sojka [Fri, 21 Sep 2007 06:42:00 +0000 (06:42 +0000)]
Fixed test for checking of header file regeneration.

The test now sleeps one second and uses ctime only to check for a
change.

darcs-hash:20070921064228-f2ef6-db7bee6a91da7ebf3919ed6fd912bfb100f3c7ae.gz

16 years agoAdded support for SDCC compiler <http://sdcc.sourceforge.net/>.
Pavel Pisa [Fri, 21 Sep 2007 01:40:00 +0000 (01:40 +0000)]
Added support for SDCC compiler <http://sdcc.sourceforge.net/>.

darcs-hash:20070921014016-ff715-acab46d53ba37e4e8c2752aa6b46506f4bd6fb08.gz

16 years agoYet another MinGW extraordinary expansion problem fix.
Pavel Pisa [Thu, 20 Sep 2007 21:44:00 +0000 (21:44 +0000)]
Yet another MinGW extraordinary expansion problem fix.

The sed invocation
  sed -e 's/[ \t]/\n/g'
loses backslash before 'n' for some reason.
  tr 'x \t' 'x\n\n'
equivalent function works correctly and "tr" command
has already been made necessary by previous MinGW fix.
Both patterns starts by x to prevent some clever
substitution of '\' (absolute path character in MinGW).

darcs-hash:20070920214402-ff715-27607c33d4136ec49a1297262dc849da2a1162ca.gz

16 years agoUpdate to copy correctly header-files for RT-Linux.
Pavel Pisa [Thu, 20 Sep 2007 13:35:00 +0000 (13:35 +0000)]
Update to copy correctly header-files for RT-Linux.

darcs-hash:20070920133520-ff715-48d6661400983b130e4ccd440a118513b177a7fd.gz

16 years agoCondition separator corrected.
Pavel Pisa [Wed, 19 Sep 2007 23:19:00 +0000 (23:19 +0000)]
Condition separator corrected.

darcs-hash:20070919231931-ff715-767c2a1aed60a77705fbdab80c06d7e973d4834b.gz

16 years agoThere has to be copy of all config headers for kernel build too.
Pavel Pisa [Wed, 19 Sep 2007 23:12:00 +0000 (23:12 +0000)]
There has to be copy of all config headers for kernel build too.

The previous solution has generated config files when they have been
required by kernel objects build. It is not possible now.
The kernel config headers are generated only, if there is some
kernel related activity expected in the directory. There could be
problem if only kernel configs should be build in some directory.

darcs-hash:20070919231226-ff715-35ae6b751ff0befe4a96a96feed017c25e82799e.gz

16 years agoConfig header files stamps in targets are defined with full path now.
Pavel Pisa [Wed, 19 Sep 2007 23:09:00 +0000 (23:09 +0000)]
Config header files stamps in targets are defined with full path now.

darcs-hash:20070919230955-ff715-4c87ba13669417ac0123650817eeea32f9d28abe.gz

16 years agoCorrected omitted occurrences of direct dependency on LOCAL_CONFIG_H.
Pavel Pisa [Wed, 19 Sep 2007 21:30:00 +0000 (21:30 +0000)]
Corrected omitted occurrences of direct dependency on LOCAL_CONFIG_H.

Responsibility for configuretion headers generation is solely left
on include-pass.

darcs-hash:20070919213018-ff715-d01580f551669d8fd80f309ae7932bfa0b61830f.gz

16 years agoThe include-pass has to be initiated if LOCAL_CONFIG_H is set for Sysless and RTEMS...
Pavel Pisa [Wed, 19 Sep 2007 21:27:00 +0000 (21:27 +0000)]
The include-pass has to be initiated if LOCAL_CONFIG_H is set for Sysless and RTEMS rules.

darcs-hash:20070919212706-ff715-2d69d9047c40f84328e35014f4b4049a93e2cd4c.gz

16 years agoAdded test for checking correctness of the previous patch.
Michal Sojka [Wed, 19 Sep 2007 15:01:00 +0000 (15:01 +0000)]
Added test for checking correctness of the previous patch.

darcs-hash:20070919150153-f2ef6-05025250529246f19de4a4d6ff4392645ec08b26.gz

16 years agoGenerated headers are changed only if neccessary.
Michal Sojka [Wed, 19 Sep 2007 14:39:00 +0000 (14:39 +0000)]
Generated headers are changed only if neccessary.

If config.omk is changed, it might cause a need to regenerate
generated config.h files. If the generated file will the same as
before the change (i.e. something elese changed in config.omk), the
real file is not updated and thus other files dependent on it are not
recompiled and recompilation time is shorter.

darcs-hash:20070919143941-f2ef6-7bc594f901ee88adfceba43a0e6b4f18dba61970.gz

16 years agoFix test for custom CFLAGS.
Michal Sojka [Wed, 19 Sep 2007 14:35:00 +0000 (14:35 +0000)]
Fix test for custom CFLAGS.

darcs-hash:20070919143539-f2ef6-012a57e1040db4858e572c9db5a9a38e7c419580.gz

16 years agoFixed warning about duplicite tags target on MinGW.
Michal Sojka [Wed, 19 Sep 2007 14:08:00 +0000 (14:08 +0000)]
Fixed warning about duplicite tags target on MinGW.

darcs-hash:20070919140838-f2ef6-01887e68189e6b4608829083616a1cb9a1469840.gz

16 years agoDirty workaround for map file processing under MinGW make.
Michal Sojka [Wed, 19 Sep 2007 13:41:00 +0000 (13:41 +0000)]
Dirty workaround for map file processing under MinGW make.

darcs-hash:20070919134115-f2ef6-68a784166d6595c792abf06c02e8aa433734e99a.gz

16 years agoFixes for MINGW broken exported variables.
Michal Sojka [Wed, 19 Sep 2007 12:23:00 +0000 (12:23 +0000)]
Fixes for MINGW broken exported variables.

MinGW automatically replaces slashes to backslashes in exported
variables, which is problematic in RELATIVE_DIR.

darcs-hash:20070919122336-f2ef6-7f0ba054643be701554227f26128783281c0f72f.gz

16 years agoNo nasty tabelator at end of line.
Pavel Pisa [Mon, 17 Sep 2007 07:40:00 +0000 (07:40 +0000)]
No nasty tabelator at end of line.

darcs-hash:20070917074048-ff715-fefed0dc642d0f912f7c592222e6ed2154e8204d.gz

16 years agoThe apostrophes in the config options are preserved now.
Pavel Pisa [Sun, 16 Sep 2007 16:22:00 +0000 (16:22 +0000)]
The apostrophes in the config options are preserved now.

The previous solution discarded them during default-config generation.
They has been preserved in generation of include files from
config.omk. The right processing could be disputed, but actual
solution is more consolidated and is natural result of default-config
generation correction.

darcs-hash:20070916162232-ff715-2e36d6dcf0fb33c72716e121f31c4212dbf20e8e.gz

16 years agoCorrected generation of defines from config options for complex values.
Pavel Pisa [Sun, 16 Sep 2007 15:40:00 +0000 (15:40 +0000)]
Corrected generation of defines from config options for complex values.

The words boundary finding have sometimes not allow to eliminate whole
value part. The separators (spaces or tabulator characters) are converted
to newlines first now and whole lines are processed then.

darcs-hash:20070916154019-ff715-fbae584556617a07d1d6bc580d82ca9c741e547f.gz

16 years agoQuoted default_CONFIG values extraction during default-config pass
Pavel Pisa [Sun, 16 Sep 2007 14:19:00 +0000 (14:19 +0000)]
Quoted default_CONFIG values extraction during default-config pass

processing.

More complex values stored in default_CONFIG could previously trigger
shell commands invocation.

darcs-hash:20070916141948-ff715-4bce27e65dbae120d828db84cb61c581cef53d13.gz

16 years agoFix performance degradation when W/OMK_WHOLE_TREE is used.
Pavel Pisa [Sun, 16 Sep 2007 13:39:00 +0000 (13:39 +0000)]
Fix performance degradation when W/OMK_WHOLE_TREE is used.

Whole tree calls make with command-line provided "OMK_SERIALIZE_INCLUDED=n".
If it is not assigned with "override", then serialization would be
included recursively in each subdirectory.

darcs-hash:20070916133912-ff715-dcb9bd68f6ff92a95bbc55daddf671b2b601d867.gz

16 years agoAdded doxygen support to automatically generated files.
Michal Sojka [Thu, 13 Sep 2007 14:52:00 +0000 (14:52 +0000)]
Added doxygen support to automatically generated files.

darcs-hash:20070913145213-f2ef6-e0f4ccf79249fb8a80cf725ff05589a775e5039b.gz

16 years agoDecision about final C/C++ linking was interchanged.
Pavel Pisa [Mon, 3 Sep 2007 22:26:00 +0000 (22:26 +0000)]
Decision about final C/C++ linking was interchanged.

darcs-hash:20070903222631-ff715-ae4da28cfb241c60f30a07dc07b9b8b93b523aea.gz

16 years agoAllow assembler sources (*.S) as legitimate Linux programs component.
Pavel Pisa [Mon, 3 Sep 2007 22:01:00 +0000 (22:01 +0000)]
Allow assembler sources (*.S) as legitimate Linux programs component.

darcs-hash:20070903220129-ff715-efdd9973a38be2a428c8ef922864f5e86102dff6.gz

16 years agoName of included Makefile.omk can by changed via MAKEFILE_OMK variable.
Michal Sojka [Thu, 26 Jul 2007 12:21:00 +0000 (12:21 +0000)]
Name of included Makefile.omk can by changed via MAKEFILE_OMK variable.

darcs-hash:20070726122103-f2ef6-0741166b2e6d93f385ca273d27745a9ea98d3649.gz

16 years agoLink command detection is done by make instead of shell. Should be faster.
Michal Sojka [Thu, 26 Jul 2007 11:49:00 +0000 (11:49 +0000)]
Link command detection is done by make instead of shell. Should be faster.

darcs-hash:20070726114910-f2ef6-bad2db97851664a74915bfde1405bfe55de1e4b8.gz

16 years agoOMK_TESTSROOT variable replaced with the real relative path. It is easier to debug...
Michal Sojka [Wed, 25 Jul 2007 08:51:00 +0000 (08:51 +0000)]
OMK_TESTSROOT variable replaced with the real relative path. It is easier to debug tests.

darcs-hash:20070725085153-f2ef6-8710c0de67f3f2aff6e84db3ac0aaa1a53abf0c5.gz

16 years agoEven if a generated header is not changed, it is touched to avoid future rebuilds.
Michal Sojka [Wed, 25 Jul 2007 08:50:00 +0000 (08:50 +0000)]
Even if a generated header is not changed, it is touched to avoid future rebuilds.

darcs-hash:20070725085012-f2ef6-9b2765d610c60f0d0249eeeffd6613f0c284e312.gz

16 years agoFixed a bug where LOCAL_CONFIG_H colide with default CFLAGS.
Michal Sojka [Tue, 24 Jul 2007 11:35:00 +0000 (11:35 +0000)]
Fixed a bug where LOCAL_CONFIG_H colide with default CFLAGS.

If LOCAL_CONFIG_H was used and no custum CFLAGS were assigned, default
CFLAGS were not used. Also, if CFLAGS was set from make command line,
LOCAL_CONFIG_H didn't work.

darcs-hash:20070724113519-f2ef6-6291c69c95c7004552597e153b9b71b85ba9345d.gz

16 years agoMinor documentation changes.
Michal Sojka [Tue, 24 Jul 2007 09:39:00 +0000 (09:39 +0000)]
Minor documentation changes.

darcs-hash:20070724093947-f2ef6-3cb83e4f6c247bc2480fefe1375b53de58e5d09b.gz

16 years agoAdded initial documentation skeleton.
Michal Sojka [Thu, 12 Jul 2007 10:28:00 +0000 (10:28 +0000)]
Added initial documentation skeleton.

darcs-hash:20070712102859-f2ef6-0eab3c53cded8185e0b503eb1aeced5f3701a104.gz