##   -*-Makefile-*-
##
##  IMS Open Corpus Workbench (CWB)
##  Copyright (C) 1993-2006 by IMS, University of Stuttgart
##  Copyright (C) 2007-     by the respective contributers (see file AUTHORS)
##
##  This program is free software; you can redistribute it and/or modify it
##  under the terms of the GNU General Public License as published by the
##  Free Software Foundation; either version 2, or (at your option) any later
##  version.
##
##  This program is distributed in the hope that it will be useful, but
##  WITHOUT ANY WARRANTY; without even the implied warranty of
##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
##  Public License for more details (in the file "COPYING", or available via
##  WWW at http://www.gnu.org/copyleft/gpl.html).

##
##  PLATFORM CONFIGURATION FILE:
##  Native build on Mac OS X 10.6 or newer
##  with prerequisite libraries provided by MacPorts package manager (deprecated)
##

## Inherits from basic Darwin configuration
include $(TOP)/config/platform/darwin

## Make sure that Apple's gcc is used (not e.g. a fink-installed version)
CC = /usr/bin/gcc

## Build for default architecture without specific optimisation
CFLAGS = -Wall -O3
DEPEND_CFLAGS = -Wall -O3

## Add MacPorts package tree to search path
CFLAGS += -I/opt/local/include
LDFLAGS += -L/opt/local/lib
