1 # This is an OS Mac specific configuration file
2 # It assumes that OBJDIR, TARGET and DEBUG are previously defined.
3 # It defines CFLAGS, LDARGS, CPPFLAGS, STARTUPFILE, LDOBJS
4 # It augments SRC, OBJDIR, TARGET, CFLAGS, LDLIBS
7 STARTUPFILE
= :$(OS
):startup.mk
10 LDOBJS
= $(CSTARTUP
) :$(OBJDIR
):{$(<:f
)}
11 LDARGS
= $(LDFLAGS
) -o
$@
$(LDOBJS
) $(LDLIBS
)
20 NDB_LDFLAGS
= -sym off
23 # Local configuration modifications for CFLAGS.
24 CFLAGS
+= -I
:$(OS
) -d _MPW
-s
$(<:b
)
25 LDFLAGS
+= -w
-c
'MPS ' -t MPST
27 # Since we writing out what files we want to execute, we can't use .SETDIR
28 # to specify the files to compile in the Mac directory.
29 # Instead, we copy the files to the (top-level) current directory and compile
34 # Common Mac source files.
35 OS_SRC
= arlib.c bogus.c dirbrk.c directry.c environ.c main.c rmprq.c \
36 ruletab.c tempnam.c tomacfil.c
38 .SETDIR
=$(OS
) : $(OS_SRC
)
42 # Set source dirs so that we can find files named in this