1 #============================================================================
2 # Jam configuration and actions for Linux/Unix
3 #============================================================================
6 #----------------------------------------------------------------------------
7 # platform specific rules
9 ## ConstructApplicationTarget target : options
10 ## Constructs the application atrget name (ie. foo.exe for foo)
11 rule ConstructApplicationTarget
15 rule ConstructLibraryTarget
17 if [ IsElem shared : $(2) ] {
23 rule ConstructPluginTarget
28 # SystemLinkApplication target : objects : options
29 # do system specific actions needed for linking the application and construct
30 # correct clean targets.
31 rule SystemLinkApplication
33 local target = $($(<)_TARGET) ;
35 Depends $(target) : $(>) ;
36 LinkApplication $(target) : $(>) ;
38 Clean clean : $(target) ;
39 Clean $(<)clean : $(target) ;
42 actions LinkApplication bind NEEDLIBS bind EXTRAOBJECTS
44 $(LINK) -o $(<) $(>) $(EXTRAOBJECTS) $(NEEDLIBS) $(LFLAGS)