| 1 |
# The contents of this file are subject to the Interbase Public |
| 2 |
# License Version 1.0 (the "License"); you may not use this file |
| 3 |
# except in compliance with the License. You may obtain a copy |
| 4 |
# of the License at http://www.Inprise.com/IPL.html |
| 5 |
# |
| 6 |
# Software distributed under the License is distributed on an |
| 7 |
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express |
| 8 |
# or implied. See the License for the specific language governing |
| 9 |
# rights and limitations under the License. |
| 10 |
# |
| 11 |
# The Original Code was created by Inprise Corporation |
| 12 |
# and its predecessors. Portions created by Inprise Corporation are |
| 13 |
# |
| 14 |
# Copyright (C) 2000 Inprise Corporation |
| 15 |
# All Rights Reserved. |
| 16 |
# Contributor(s): ______________________________________. |
| 17 |
# Start of file prefix.freebsd: $(VERSION) @PLATFORM@ |
| 18 |
# |
| 19 |
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup |
| 20 |
|
| •21 |
COMMON_FLAGS=-ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DFREEBSD -pipe -MMD -fPIC -fmessage-length=0 -fno-delete-null-pointer-checks |
| 22 |
CXXFLAGS+=-std=gnu++03 |
| •23 |
OPTIMIZE_FLAGS=-O3 -march=i686 -mtune=i686 -fno-omit-frame-pointer |
| 24 |
WARN_FLAGS=-Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -Wno-narrowing |
| 25 |
|
| •26 |
PROD_FLAGS=$(COMMON_FLAGS) $(OPTIMIZE_FLAGS) |
| 27 |
#DEV_FLAGS=-DUSE_VALGRIND -p $(COMMON_FLAGS) $(WARN_FLAGS) |
| 28 |
DEV_FLAGS=-p $(COMMON_FLAGS) $(WARN_FLAGS) |
| 29 |
|
| 30 |
# This file must be compiled with SSE4.2 support |
| 31 |
%/CRC32C.o: COMMON_FLAGS += -msse4 |