summaryrefslogtreecommitdiff
path: root/dmake/startup/mac/macros.mk
diff options
context:
space:
mode:
Diffstat (limited to 'dmake/startup/mac/macros.mk')
-rw-r--r--dmake/startup/mac/macros.mk41
1 files changed, 41 insertions, 0 deletions
diff --git a/dmake/startup/mac/macros.mk b/dmake/startup/mac/macros.mk
new file mode 100644
index 000000000000..ca161a8baa5c
--- /dev/null
+++ b/dmake/startup/mac/macros.mk
@@ -0,0 +1,41 @@
+# Define MPW MAC specific macros.
+# Assumes CodeWarrior for Mac 5.0 C, change as needed.
+#
+
+A *:= .lib
+S *:= .s
+V *:= v
+TMPDIR *:= $(TempFolder)
+
+# import library definitions
+.IMPORT .IGNORE : CLibraries Libraries
+
+# Set arguments for the SHELL. Since we can't execute sub-processes,
+# these variables are not important, except for some makefiles that check
+# for some values to determine the platform.
+SHELL *:= "{MPW}MPW Shell"
+SHELLFLAGS *:=
+GROUPFLAGS *:=
+SHELLMETAS *:=
+
+# Define toolkit macros
+CC *:= MWCPPC
+AS *:= PPCAsm
+LD *:= MWLinkPPC
+AR *:=
+ARFLAGS *:=
+RM *:= delete
+RMFLAGS *:=
+MV *:= rename
+YTAB *:=
+LEXYY *:=
+
+LDLIBS *= "{SharedLibraries}StdCLib" "{SharedLibraries}InterfaceLib" \
+ "{PPCLibraries}StdCRuntime.o" "{PPCLibraries}PPCCRuntime.o" \
+ "{Libraries}MathLib.o" "{PPCLibraries}PPCToolLibs.o"
+
+# Disable the print command
+PRINT *=
+
+# Make certain to disable defining how to make executables.
+__.EXECS !:=