Now a couple of examples.

Suppose you have an ASDF system which is made of many sources with several dependencies. I assume the system does not rely on other resources (additional files, etc), but this could be extended.

If you want to build a single FASL file that contains EVERYTHING, use

(asdf:make-bundle 'asdf:monolithic-fasl-op :my-system :move-here "./")

If you want to build not only the FASL but also a system file that allows you to load it with ASDF, use 

(asdf:make-bundle 'asdf:monolithic-binary-op :my-system :move-here "./")

It should be possible to port also the other operations, such as PROGRAM-OP, which might dump an image or do whatever implementation-specific magic there is, etc, etc.

Juanjo

--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://tream.dreamhosters.com