patch-Makefile 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. $OpenBSD: patch-Makefile,v 1.1.1.1 2017/06/13 09:24:23 kirby Exp $
  2. --- Makefile.orig Sun Sep 11 12:13:27 2016
  3. +++ Makefile Wed Sep 21 14:30:42 2016
  4. @@ -3,15 +3,11 @@
  5. # Please update COMPILATION.txt if necessary after changing this file.
  6. #
  7. --include Makefile.config
  8. -# Makefile.config can be empty. In this case application is build
  9. -# to be executed from the current directory.
  10. -#
  11. -# Or Makefile.config may contain the following values:
  12. -# BINARY_DIR
  13. -# MANPAGE_DIR
  14. -# FULL_PATH_EXTRA_DATA_DIR
  15. -# INSTALLABLE := "yes"
  16. +BINARY_DIR := ${PREFIX}/bin
  17. +SHARED_DIR := ${PREFIX}/share
  18. +MANPAGE_DIR := ${PREFIX}/man/man6
  19. +FULL_PATH_EXTRA_DATA_DIR := ${PREFIX}/share/ja2
  20. +INSTALLABLE := "yes"
  21. # In this case application can be installed.
  22. @@ -58,6 +54,7 @@ endif
  23. CFLAGS += $(CFLAGS_SDL)
  24. LDFLAGS += $(LDFLAGS_SDL)
  25. +LDFLAGS += -lboost_filesystem -lboost_system
  26. ############################################################
  27. # MinGW settings for building on Windows and for
  28. @@ -100,7 +97,6 @@ CFLAGS += -I Build/Utils
  29. CFLAGS += -I sgp
  30. CFLAGS += -I src
  31. CFLAGS += -I _build/lib-MicroIni/include
  32. -CFLAGS += -I _build/lib-boost
  33. CFLAGS += -I _build/lib-rapidjson
  34. CFLAGS += -I _build/lib-slog
  35. CFLAGS += -I _build/lib-smacker/libsmacker
  36. @@ -524,16 +520,6 @@ SRCS += _build/lib-MicroIni/src/MicroIni/File.cpp
  37. SRCS += _build/lib-MicroIni/src/MicroIni/Line.cpp
  38. SRCS += _build/lib-MicroIni/src/MicroIni/Section.cpp
  39. SRCS += _build/lib-MicroIni/src/MicroIni/Value.cpp
  40. -
  41. -SRCS += _build/lib-boost/libs/system/src/error_code.cpp
  42. -SRCS += _build/lib-boost/libs/filesystem/src/codecvt_error_category.cpp
  43. -SRCS += _build/lib-boost/libs/filesystem/src/operations.cpp
  44. -SRCS += _build/lib-boost/libs/filesystem/src/path.cpp
  45. -SRCS += _build/lib-boost/libs/filesystem/src/path_traits.cpp
  46. -SRCS += _build/lib-boost/libs/filesystem/src/portability.cpp
  47. -SRCS += _build/lib-boost/libs/filesystem/src/unique_path.cpp
  48. -SRCS += _build/lib-boost/libs/filesystem/src/utf8_codecvt_facet.cpp
  49. -SRCS += _build/lib-boost/libs/filesystem/src/windows_file_codecvt.cpp
  50. SRCS += _build/lib-slog/slog/slog.c