itchconfig Documentation
Macros: Makefiles

Macro IC_MAKEFILE_TARGET_CREATE

Adds the extra target to the generated Makefile so that users can execute it with "make target". You need not provide any dependencies or code here, you can also add them later with IC_MAKEFILE_TARGET_ADD_DEP and IC_MAKEFILE_TARGET_ADD_CODE. If flags & 1, the target won't be treated as a phony target.

Macro IC_MAKEFILE_TARGET_ADD_DEP

Adds the dependencies (prerequisites) to all the targets (formerly created with IC_MAKEFILE_TARGET_CREATE).

Macro IC_MAKEFILE_TARGET_ADD_CODE

Adds the code to all the targets (formerly created with IC_MAKEFILE_TARGET_CREATE).

Macro IC_MAKEFILE_TARGET_DEFAULT_SET

Sets the default target of the Makefile to target; that is the target which is executed when a user simply enters "make". Normally, the default target is "all-binaries", which builds all binaries as defined by IC_BINARY_CREATE (or says "Nothing to do!" when no binaries have to be created:-). - This special command probably is only needed by software packages with very strange requirements; it exists just for completeness.

Macro IC_MAKEFILE_PRESERVE

This is a special command for software packages which provide both a "classical" Makefile and a configure script. When the user executes the configure script, the classical Makefile will be preserved (by renaming the file to "Makefile-classical") before configure.act writes its auto-generated Makefile.


This documentation file is part of version 0.0.4 of itchconfig, a configuration tool created by Arne Thomaßen. itchconfig is basically released under certain versions of the GNU General Public License and WITHOUT ANY WARRANTY. Copyright (C) 2002 Arne Thomaßen.