Makefile 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. ## Haiku Generic Makefile v2.6 ##
  2. ## Fill in this file to specify the project being created, and the referenced
  3. ## Makefile-Engine will do all of the hard work for you. This handles any
  4. ## architecture of Haiku.
  5. # The name of the binary.
  6. NAME = Rifen
  7. # The type of binary, must be one of:
  8. # APP: Application
  9. # SHARED: Shared library or add-on
  10. # STATIC: Static library archive
  11. # DRIVER: Kernel driver
  12. TYPE = APP
  13. # If you plan to use localization, specify the application's MIME signature.
  14. APP_MIME_SIG = application/x-vnd.Rifen
  15. # The following lines tell Pe and Eddie where the SRCS, RDEFS, and RSRCS are
  16. # so that Pe and Eddie can fill them in for you.
  17. #%{
  18. # @src->@
  19. # Specify the source files to use. Full paths or paths relative to the
  20. # Makefile can be included. All files, regardless of directory, will have
  21. # their object files created in the common object directory. Note that this
  22. # means this Makefile will not work correctly if two source files with the
  23. # same name (source.c or source.cpp) are included from different directories.
  24. # Also note that spaces in folder names do not work well with this Makefile.
  25. SRCS = \
  26. src/Channel.cpp, \
  27. src/Item.cpp, \
  28. src/ProtocolListener.cpp, \
  29. src/Config.cpp, \
  30. src/Util.cpp, \
  31. src/parsing.cpp, \
  32. src/Rifen.cpp
  33. # Specify the resource definition files to use. Full or relative paths can be
  34. # used.
  35. RDEFS = # \
  36. # src/calendar.rdef \
  37. # Specify the resource files to use. Full or relative paths can be used.
  38. # Both RDEFS and RSRCS can be utilized in the same Makefile.
  39. RSRCS = \
  40. # End Pe/Eddie support.
  41. # @<-src@
  42. #%}
  43. #%}
  44. #%}
  45. # Specify libraries to link against.
  46. # There are two acceptable forms of library specifications:
  47. # - if your library follows the naming pattern of libXXX.so or libXXX.a,
  48. # you can simply specify XXX for the library. (e.g. the entry for
  49. # "libtracker.so" would be "tracker")
  50. #
  51. # - for GCC-independent linking of standard C++ libraries, you can use
  52. # $(STDCPPLIBS) instead of the raw "stdc++[.r4] [supc++]" library names.
  53. #
  54. # - if your library does not follow the standard library naming scheme,
  55. # you need to specify the path to the library and it's name.
  56. # (e.g. for mylib.a, specify "mylib.a" or "path/mylib.a")
  57. LIBS = be tracker shared tinyxml2 bnetapi network $(STDCPPLIBS)
  58. # Specify additional paths to directories following the standard libXXX.so
  59. # or libXXX.a naming scheme. You can specify full paths or paths relative
  60. # to the Makefile. The paths included are not parsed recursively, so
  61. # include all of the paths where libraries must be found. Directories where
  62. # source files were specified are automatically included.
  63. LIBPATHS =
  64. # Additional paths to look for system headers. These use the form
  65. # "#include <header>". Directories that contain the files in SRCS are
  66. # NOT auto-included here.
  67. SYSTEM_INCLUDE_PATHS = \
  68. # $(shell findpaths -e B_FIND_PATH_HEADERS_DIRECTORY private/shared) \
  69. # $(shell findpaths -e B_FIND_PATH_HEADERS_DIRECTORY private/interface) \
  70. # $(shell findpaths -e B_FIND_PATH_HEADERS_DIRECTORY private/support)
  71. # Additional paths paths to look for local headers. These use the form
  72. # #include "header". Directories that contain the files in SRCS are
  73. # automatically included.
  74. LOCAL_INCLUDE_PATHS =
  75. # Specify the level of optimization that you want. Specify either NONE (O0),
  76. # SOME (O1), FULL (O2), or leave blank (for the default optimization level).
  77. OPTIMIZE := FULL
  78. # Specify the codes for languages you are going to support in this
  79. # application. The default "en" one must be provided too. "make catkeys"
  80. # will recreate only the "locales/en.catkeys" file. Use it as a template
  81. # for creating catkeys for other languages. All localization files must be
  82. # placed in the "locales" subdirectory.
  83. LOCALES = en
  84. # Specify all the preprocessor symbols to be defined. The symbols will not
  85. # have their values set automatically; you must supply the value (if any) to
  86. # use. For example, setting DEFINES to "DEBUG=1" will cause the compiler
  87. # option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG" would pass
  88. # "-DDEBUG" on the compiler's command line.
  89. DEFINES =
  90. # Specify the warning level. Either NONE (suppress all warnings),
  91. # ALL (enable all warnings), or leave blank (enable default warnings).
  92. WARNINGS =
  93. # With image symbols, stack crawls in the debugger are meaningful.
  94. # If set to "TRUE", symbols will be created.
  95. SYMBOLS :=
  96. # Includes debug information, which allows the binary to be debugged easily.
  97. # If set to "TRUE", debug info will be created.
  98. DEBUGGER :=
  99. # Specify any additional compiler flags to be used.
  100. COMPILER_FLAGS =
  101. # Specify any additional linker flags to be used.
  102. LINKER_FLAGS =
  103. # Specify the version of this binary. Example:
  104. # -app 3 4 0 d 0 -short 340 -long "340 "`echo -n -e '\302\251'`"1999 GNU GPL"
  105. # This may also be specified in a resource.
  106. APP_VERSION :=
  107. # (Only used when "TYPE" is "DRIVER"). Specify the desired driver install
  108. # location in the /dev hierarchy. Example:
  109. # DRIVER_PATH = video/usb
  110. # will instruct the "driverinstall" rule to place a symlink to your driver's
  111. # binary in ~/add-ons/kernel/drivers/dev/video/usb, so that your driver will
  112. # appear at /dev/video/usb when loaded. The default is "misc".
  113. DRIVER_PATH =
  114. ## Include the Makefile-Engine
  115. DEVEL_DIRECTORY := /boot/system/develop/
  116. include $(DEVEL_DIRECTORY)/etc/makefile-engine