PIM

From ODF::Wiki

Jump to: navigation, search

PIM is a Makefile developed by Lo which is used in many of his and D.Cent's projects.

PIM
{{{Screenshot}}}
{{{Description}}}
Information
Producer: The Open Descent Foundation
Developers: King Lo
Current version: 0.10
Latest release: 1st December 2008
Operating systems: GNU/Linux
Category: Makefiles
License: GPL version 3
Languages: GNU make
Website: none
Project page: click here

Contents

[edit] History

In the summer of 2007, when the ODF was getting more and more projects, especially D321GO!! and Dog were growing very fast, it was King Lo's idea to create a flexible Makefile. Flexible means:

  • easily porting the Makefile from one application to another
  • automatic dependencies, i.e. new files do not have to be registered
  • easy changing of environment and configuration variables for different platforms (especially for cross compilation)

[edit] Concept

The Makefiles have their own variables which the user has to make fit to his or her project.

A project using PIM should include one main Makefile (which contains PIMs code) and one system dependent Makefile for each operating system. Additionally, the user can add an install Makefile for installation after compiling.

In the main Makefile, the user can tell the Makefile which platform Makefile shall be used. The user can further insert all compilation options he or she desires. The Makefile contains code that generates a dependency file that contains code for each file to be compiled into an object file. Additionally, all object files are compiled to a program, or, e.g., a library.

[edit] Features

PIM contains features that let the user

  • compile a project
  • clean up a project (in many different ways)
  • make dry compilations
  • create tarballs of the current directory
  • do a lot more!

To get a complete list, simply run "make help".

[edit] Extensions

PIM can be very powerful in combination with odf-upload. Usually, the user would have to call "make tidy" before calling odf-upload to reduce the size of uploaded packages. To combine these steps, PIM has a "make upload" feature to make uploading more safer and to reduce the size of packages on our servers.

[edit] About the Name

PIM is a word game. It is the first name of The Lion, an ODF member, which helped Lo a lot learning the bash (and many other things, too). So, Lo dedicated the Makefile to Lion naming it PIM. PIM is also the abbreviation for "Powerful individual Makefile".

Personal tools