Changeset 1128
- Timestamp:
- Jan 31, 2004, 10:02:54 AM (21 years ago)
- Location:
- trunk/src/emx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/emx/mklib.smak ¶
-
Property cvs2svn:cvs-rev
changed from
1.7
to1.8
r1127 r1128 17 17 18 18 # The rule for building an archive 19 ifneq ($(findstring aout,$(.TKIND)),) 20 $(eval $(call def_lib_ar)) 21 else 19 22 $(eval $(call def_lib)) 23 endif 20 24 21 25 # Rule for stripping debug info. -
Property cvs2svn:cvs-rev
changed from
-
TabularUnified trunk/src/emx/templates.smak ¶
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1127 r1128 31 31 endef 32 32 33 # The rule for building an archive33 # generic rule for building libs. 34 34 define def_lib 35 35 $$.$(.TARG): $(.OBJS) $(.DEPS) 36 $$(DO.LIBRARY) 36 $$(call DO.LIBRARY,$(^O)) 37 endef 38 39 # The rule for building an archive with lot's of arguments. 40 define def_lib_ar 41 $$.$(.TARG): $(.OBJS) $(.DEPS) 42 echo "CREATE $$@" > $$@.ar-script 43 $(foreach x, $(filter %.o, $(sort $(.OBJS) $(.DEPS))), $(call def_lib_ar_addmod)) 44 echo "SAVE" >> $$@.ar-script 45 echo "END" >> $$@.ar-script 46 rm -f $$@ 47 ar -M < $$@.ar-script 48 49 endef 50 51 # defined used by def_lib_ar to add a module to the script file. 52 define def_lib_ar_addmod 53 echo "ADDMOD $(x)" >> $$@.ar-script 54 37 55 endef 38 56 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.