- Timestamp:
- Dec 13, 2003, 6:33:06 PM (22 years ago)
- Location:
- trunk/src/emx
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.38
to1.39
r893 r894 39 39 ifndef MAKEFILE 40 40 MAKEFILE = Makefile 41 endif42 # name of the generated makefile43 ifndef GENRULES44 GENRULES = $.genrules.smak45 41 endif 46 42 … … 269 265 endif 270 266 267 # include template rules 268 include templates.smak 269 271 270 # Include all submakefiles 272 271 -include $(SUBMAK) … … 321 320 # bird: add rule for forcibly re-generating the rules. 322 321 rules: 323 @$(call RM,$(GENRULES)) 324 $(MAKE) -f $(MAKEFILE) $(GENRULES) 325 326 $(GENRULES): $(SUBMAK) # $(MAKEFILE) $(wildcard *.smak) 327 @$(call MKDIR,$.) 328 @$(call ECHO,Please wait, rebuilding make rules ...) 329 @$(call RM,$@) 330 @$(call FECHO,$@,# Autogenerated file -- DO NOT EDIT!) 331 @$(subst _@,$@,$(RULES)) 322 @$(call ECHO,smak don't generate rules anylonger!) 332 323 333 324 # The general a.out -> OMF conversion rule for object files … … 339 330 $(call DO.EMXOMF) 340 331 341 -include $(GENRULES) -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/common.smak
-
Property cvs2svn:cvs-rev
changed from
1.8
to1.9
r893 r894 86 86 87 87 # Generate compilation rules for C files 88 RULES += $(foreach x,$(filter %.c,$(.TSRC)),\ 89 $(call FECHO,_@,$$.$(call OBJFILE,$x): $x)$(NL)\ 90 $(call FECHO,_@, $$(call DO.COMPILE.c,$(.TCF) $(.TCF.$x)))$(NL)\ 91 ) 88 $(foreach x,$(filter %.c,$(.TSRC)), $(eval $(call def_compile_c,$(x)))) 92 89 93 90 # Generate compilation rules for S files 94 RULES += $(foreach x,$(filter %.s,$(.TSRC)),\ 95 $(call FECHO,_@,$$.$(call OBJFILE,$x): $x)$(NL)\ 96 $(call FECHO,_@, $$(call DO.COMPILE.s,$(.TSF) $(.TSF.$x)))$(NL)\ 97 ) 91 $(foreach x,$(filter %.s,$(.TSRC)), $(eval $(call def_compile_S,$(x)))) 98 92 99 93 # Generate compilation rules for asm files 100 RULES += $(foreach x,$(filter %.asm,$(.TSRC)),\ 101 $(call FECHO,_@,$$.$(call OBJFILE,$x): $x)$(NL)\ 102 $(call FECHO,_@, $$(call DO.COMPILE.asm,$(.TAF) $(.TAF.$x)))$(NL)\ 103 ) 94 $(foreach x,$(filter %.asm,$(.TSRC)), $(eval $(call def_compile_asm,$(x)))) 104 95 105 96 endif # def .TSRC -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/mkdll.smak
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r893 r894 8 8 9 9 # Linking rule 10 RULES += \ 11 $(call FECHO,_@,$$.$(.TARG): $(.OBJS) $(.DEPS) $(.TDEF))$(NL)\ 12 $(call FECHO,_@, $$(call DO.LINK.dll,$(.TLDF)))$(NL) 10 $(eval $(call def_link_dll)) 13 11 14 12 # Add unstripped copy. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/mkexe.smak
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r893 r894 8 8 9 9 # Linking rule 10 RULES += \ 11 $(call FECHO,_@,$$.$(.TARG): $(.OBJS) $(.DEPS))$(NL)\ 12 $(call FECHO,_@, $$(call DO.LINK.exe,$(.TLDF)))$(NL) 10 $(eval $(call def_link_exe)) 13 11 14 12 # Add unstripped copy. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/mkimplib.smak
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r893 r894 12 12 #endif 13 13 #endif 14 14 15 15 include common.smak 16 16 17 17 libs: $(.MODULE) 18 18 19 # The rule for building an archive 20 RULES += \ 21 $(call FECHO,_@,$$.$(.TARG): $(.IMPS) $(.OBJS) $(.DEPS))$(NL) \ 22 $(call FECHO,_@, $$(call DO.IMPLIB))$(NL) 19 # The rule for building an archive with imports 20 $(eval $(call def_implib)) 23 21 24 22 ## Rule for stripping debug info. … … 33 31 # $(call CP,$<,$@) 34 32 #endif 35 33 36 34 include mkomflib.smak 37 35 include comend.smak 38 .NOINST := 36 .NOINST := -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/mklib.smak
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
r893 r894 17 17 18 18 # The rule for building an archive 19 RULES += \ 20 $(call FECHO,_@,$$.$(.TARG): $(.OBJS) $(.DEPS))$(NL)\ 21 $(call FECHO,_@, $$(DO.LIBRARY))$(NL) 19 $(eval $(call def_lib)) 22 20 23 21 # Rule for stripping debug info. -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/version.smak
-
Property cvs2svn:cvs-rev
changed from
1.10
to1.11
r893 r894 15 15 16 16 # The flag for C compiler to pass the VERSION macro to preprocessor 17 CFLAGS.DEF.VERSION = -DVERSION=\ \\"$(VERSION)\\\"17 CFLAGS.DEF.VERSION = -DVERSION=\"$(VERSION)\" 18 18 19 19 # INNOTEK_VERSION is normally defined in the environment by a toplevel makefile. … … 21 21 export INNOTEK_VERSION ?= (Innotek Build $(shell date '+%Y-%m-%d %H:%M')) 22 22 endif 23 CFLAGS.DEF.VERSION += '-DINNOTEK_VERSION= \" $(INNOTEK_VERSION)\"'23 CFLAGS.DEF.VERSION += '-DINNOTEK_VERSION=" $(INNOTEK_VERSION)"' 24 24 25 25 # Copyright -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.