2004-01-12 05:58:09 +01:00
|
|
|
# The contents of this file are subject to the Interbase Public
|
|
|
|
# License Version 1.0 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy
|
|
|
|
# of the License at http://www.Inprise.com/IPL.html
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an
|
|
|
|
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
|
|
# or implied. See the License for the specific language governing
|
|
|
|
# rights and limitations under the License.
|
|
|
|
#
|
|
|
|
# The Original Code was created by Inprise Corporation
|
|
|
|
# and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
# Copyright (C) Inprise Corporation.
|
|
|
|
#
|
|
|
|
# All Rights Reserved.
|
|
|
|
# Contributor(s): ______________________________________.
|
|
|
|
# Start of file prefix.linux: $(VERSION) $(PLATFORM)
|
2006-04-19 05:04:11 +02:00
|
|
|
#
|
2004-01-12 05:58:09 +01:00
|
|
|
# 2 Oct 2002, Nickolay Samofatov - Major cleanup
|
|
|
|
|
2020-12-30 10:31:53 +01:00
|
|
|
COMMON_FLAGS=-ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -pipe -MMD -fPIC -fmessage-length=0
|
2018-08-06 18:01:06 +02:00
|
|
|
OPTIMIZE_FLAGS=-O3 -fno-omit-frame-pointer
|
2024-08-13 12:29:12 +02:00
|
|
|
WARN_FLAGS=-Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -Wno-narrowing -Wno-unused-local-typedefs
|
2020-12-30 10:31:53 +01:00
|
|
|
PLATFORM_PLUSPLUS_FLAGS=-Wno-invalid-offsetof -Wno-class-memaccess
|
2023-09-07 18:39:21 +02:00
|
|
|
#VALGRIND_FLAGS=-DUSE_VALGRIND
|
2006-04-18 11:44:41 +02:00
|
|
|
|
2009-11-04 11:04:33 +01:00
|
|
|
PROD_FLAGS=$(COMMON_FLAGS) $(OPTIMIZE_FLAGS)
|
2023-09-07 18:39:21 +02:00
|
|
|
DEV_FLAGS=$(VALGRIND_FLAGS) $(WARN_FLAGS) $(COMMON_FLAGS) -fmax-errors=8
|
2016-03-05 13:28:04 +01:00
|
|
|
|
|
|
|
# This file must be compiled with SSE4.2 support
|
|
|
|
%/CRC32C.o: COMMON_FLAGS += -msse4
|