1 |
|
# Some Pre-Defined Rules For Building Stuff |
2 |
|
# |
3 |
|
include compilers.mk |
4 |
< |
|
4 |
> |
lib : dependencies.mk |
5 |
> |
bin : dependencies.mk |
6 |
|
|
7 |
|
#------------------------------------------------ |
8 |
|
# Default Behaviours - interpreted from makefile |
118 |
|
# Now more specific rules |
119 |
|
|
120 |
|
# -- Standard Shared Objects Libs |
121 |
< |
$(shlibname).$(SharedSuffix) : $(Ssharedlibobjs) |
121 |
> |
$(shlibname)_pic.$(SharedSuffix) : $(Ssharedlibobjs) |
122 |
|
$(SharedCCTool) |
123 |
< |
@mv $@ $(librarystore) |
123 |
> |
|
124 |
> |
$(shlibname).$(SharedSuffix) : $(shlibname)_pic.$(SharedSuffix) |
125 |
> |
@mv $< $(librarystore)/$@ |
126 |
|
|
127 |
|
# -- Debug Shared Objects Libs |
128 |
< |
$(shlibname)_d.$(SharedSuffix) : $(Ssharedlibdebugobjs) |
128 |
> |
$(shlibname)_picd.$(SharedSuffix) : $(Ssharedlibdebugobjs) |
129 |
|
$(SharedCCTool) |
130 |
< |
@mv $@ $(librarystore) |
130 |
> |
|
131 |
> |
$(shlibname)_picd.$(SharedSuffix) : $(Ssharedlibdebugobjs) |
132 |
> |
@mv $< $(librarystore)/$@ |
133 |
|
|
134 |
|
# -- Standard Archive Libs |
135 |
|
$(arlibname).$(ArchiveSuffix) : $(Sarchivelibobjs) |
140 |
|
$(arlibname)_d.$(ArchiveSuffix) : $(Sarchivelibdebugobjs) |
141 |
|
$(ArchiveCCTool) |
142 |
|
@mv $@ $(librarystore) |
143 |
+ |
|
144 |
+ |
# -- Dependencies |
145 |
+ |
dependencies.mk: $(files) |
146 |
+ |
@$(DependencyCCTool) |
147 |
+ |
@$(TOOL_HOME)/DependencyMangler $@ |