prefix.linux 1.4 KB

1234567891011121314151617181920212223242526272829303132
  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. # Copyright (C) Inprise Corporation.
  14. #
  15. # All Rights Reserved.
  16. # Contributor(s): ______________________________________.
  17. # Start of file prefix.linux: $(VERSION) $(PLATFORM)
  18. #
  19. # 2 Oct 2002, Nickolay Samofatov - Major cleanup
  20. COMMON_FLAGS=-ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -pipe -MMD -fPIC -fmessage-length=0
  21. OPTIMIZE_FLAGS=-O3 -march=i586 -mtune=i686 -fno-omit-frame-pointer
  22. WARN_FLAGS=-Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -Wno-narrowing -Wno-unused-local-typedefs
  23. PLATFORM_PLUSPLUS_FLAGS=-Wno-invalid-offsetof -Wno-class-memaccess
  24. PROD_FLAGS=$(COMMON_FLAGS) $(OPTIMIZE_FLAGS)
  25. #DEV_FLAGS=-DUSE_VALGRIND -p $(WARN_FLAGS) $(COMMON_FLAGS) -fmax-errors=8
  26. DEV_FLAGS=$(WARN_FLAGS) $(COMMON_FLAGS) -fmax-errors=8
  27. # This file must be compiled with SSE4.2 support
  28. %/CRC32C.o: COMMON_FLAGS += -msse4