diff --git a/configure/os/CONFIG.Common.darwin-ppc b/configure/os/CONFIG.Common.darwin-ppc index ccfb33e09..4046a9c45 100644 --- a/configure/os/CONFIG.Common.darwin-ppc +++ b/configure/os/CONFIG.Common.darwin-ppc @@ -10,6 +10,9 @@ # Include definitions common to all Unix targets include $(CONFIG)/os/CONFIG.Common.UnixCommon +# +# Set OS-specific information +# OS_CLASS = Darwin ARCH_CLASS = ppc @@ -29,7 +32,6 @@ CPPSNCFLAGS += -no-cpp-precomp # OP_SYS_CPPFLAGS += -I$(FINK_DIR)/include OP_SYS_LDFLAGS += -L$(FINK_DIR)/lib -OP_SYS_LDLIBS += # # Stuff that will be needed when going to shared libraries @@ -44,4 +46,3 @@ SHRLIB_VERSION = $(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION) # Command-line input support COMMANDLINE_LIBRARY=LIBTECLA LDLIBS_LIBTECLA = -ltecla_r -lncurses - diff --git a/configure/os/CONFIG.darwin-ppc.darwin-ppc b/configure/os/CONFIG.darwin-ppc.darwin-ppc index 02f4b278b..f773de7df 100644 --- a/configure/os/CONFIG.darwin-ppc.darwin-ppc +++ b/configure/os/CONFIG.darwin-ppc.darwin-ppc @@ -32,3 +32,16 @@ OPT_CXXFLAGS_YES = -O2 # Static linking fails on OS X (missing crt0.o) # STATIC_LDFLAGS_YES = + +# +# Add support for Objective-C source +# +vpath %.m $(USR_VPATH) $(ALL_SRC_DIRS) +%.o: %.m + $(COMPILE.c) -c $< + +# +# Pedantic produces way too many unnecessary messages +# +CONFORM_CFLAGS_STRICT=-ansi +CONFORM_CXXFLAGS_STRICT=-ansi