Makefile 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. ##
  6. ## For more information, see:
  7. ## file:///system/develop/documentation/makefile-engine.html
  8. # The name of the binary.
  9. NAME = Chat-O-Matic
  10. # The type of binary, must be one of:
  11. # APP: Application
  12. # SHARED: Shared library or add-on
  13. # STATIC: Static library archive
  14. # DRIVER: Kernel driver
  15. TYPE = APP
  16. # If you plan to use localization, specify the application's MIME signature.
  17. APP_MIME_SIG = application/x-vnd.chat-o-matic
  18. # The following lines tell Pe and Eddie where the SRCS, RDEFS, and RSRCS are
  19. # so that Pe and Eddie can fill them in for you.
  20. #%{
  21. # @src->@
  22. # Specify the source files to use. Full paths or paths relative to the
  23. # Makefile can be included. All files, regardless of directory, will have
  24. # their object files created in the common object directory. Note that this
  25. # means this Makefile will not work correctly if two source files with the
  26. # same name (source.c or source.cpp) are included from different directories.
  27. # Also note that spaces in folder names do not work well with this Makefile.
  28. SRCS = \
  29. application/Account.cpp \
  30. application/ChatProtocolAddOn.cpp \
  31. application/ChatCommand.cpp \
  32. application/Contact.cpp \
  33. application/Conversation.cpp \
  34. application/ImageCache.cpp \
  35. application/Notifier.cpp \
  36. application/ProtocolLooper.cpp \
  37. application/ProtocolManager.cpp \
  38. application/ProtocolSettings.cpp \
  39. application/ProtocolTemplate.cpp \
  40. application/Server.cpp \
  41. application/StatusManager.cpp \
  42. application/TheApp.cpp \
  43. application/User.cpp \
  44. application/Utils.cpp \
  45. application/preferences/AccountDialog.cpp \
  46. application/preferences/AccountListItem.cpp \
  47. application/preferences/AppPreferences.cpp \
  48. application/preferences/PreferencesBehavior.cpp \
  49. application/preferences/PreferencesChatWindow.cpp \
  50. application/preferences/PreferencesNotifications.cpp \
  51. application/views/AccountsMenu.cpp \
  52. application/views/AccountMenuItem.cpp \
  53. application/views/RenderView.cpp \
  54. application/views/ConversationAccountItem.cpp \
  55. application/views/ConversationItem.cpp \
  56. application/views/ConversationListView.cpp \
  57. application/views/ConversationView.cpp \
  58. application/views/InviteDialogue.cpp \
  59. application/views/ReplicantStatusView.cpp \
  60. application/views/ReplicantMenuItem.cpp \
  61. application/views/RosterItem.cpp \
  62. application/views/RosterListView.cpp \
  63. application/views/RosterView.cpp \
  64. application/views/SendTextView.cpp \
  65. application/views/StatusMenuItem.cpp \
  66. application/views/StatusView.cpp \
  67. application/views/TemplateView.cpp \
  68. application/views/UserItem.cpp \
  69. application/views/UserListView.cpp \
  70. application/views/UserPopUp.cpp \
  71. application/windows/AboutWindow.cpp \
  72. application/windows/AccountsWindow.cpp \
  73. application/windows/ConversationInfoWindow.cpp \
  74. application/windows/MainWindow.cpp \
  75. application/windows/PreferencesWindow.cpp \
  76. application/windows/RosterEditWindow.cpp \
  77. application/windows/RosterWindow.cpp \
  78. application/windows/TemplateWindow.cpp \
  79. application/windows/UserInfoWindow.cpp
  80. # Specify the resource definition files to use. Full or relative paths can be
  81. # used.
  82. RDEFS = ChatOMatic.rdef \
  83. data/misc/Templates.rdef \
  84. data/icons/status/Away.rdef \
  85. data/icons/status/Busy.rdef \
  86. data/icons/status/Offline.rdef \
  87. data/icons/status/Online.rdef \
  88. data/icons/replicant/Away.rdef \
  89. data/icons/replicant/Busy.rdef \
  90. data/icons/replicant/Icon.rdef \
  91. data/icons/replicant/ExitMenu.rdef \
  92. data/icons/replicant/MessageReceived.rdef \
  93. data/icons/replicant/Offline.rdef \
  94. data/icons/replicant/Online.rdef \
  95. data/icons/misc/Asterisk.rdef \
  96. data/icons/misc/People-1.rdef \
  97. data/icons/misc/People-2.rdef \
  98. data/icons/misc/People-3.rdef \
  99. data/icons/misc/People-4.rdef \
  100. data/icons/misc/People-4+.rdef \
  101. data/icons/misc/Person.rdef \
  102. data/icons/misc/Search.rdef \
  103. data/icons/misc/Tool.rdef
  104. # Specify the resource files to use. Full or relative paths can be used.
  105. # Both RDEFS and RSRCS can be utilized in the same Makefile.
  106. RSRCS =
  107. # End Pe/Eddie support.
  108. # @<-src@
  109. #%}
  110. # Specify libraries to link against.
  111. # There are two acceptable forms of library specifications:
  112. # - if your library follows the naming pattern of libXXX.so or libXXX.a,
  113. # you can simply specify XXX for the library. (e.g. the entry for
  114. # "libtracker.so" would be "tracker")
  115. #
  116. # - for GCC-independent linking of standard C++ libraries, you can use
  117. # $(STDCPPLIBS) instead of the raw "stdc++[.r4] [supc++]" library names.
  118. #
  119. # - if your library does not follow the standard library naming scheme,
  120. # you need to specify the path to the library and it's name.
  121. # (e.g. for mylib.a, specify "mylib.a" or "path/mylib.a")
  122. LIBS = be expat interface localestub runview shared support translation $(STDCPPLIBS)
  123. # Specify additional paths to directories following the standard libXXX.so
  124. # or libXXX.a naming scheme. You can specify full paths or paths relative
  125. # to the Makefile. The paths included are not parsed recursively, so
  126. # include all of the paths where libraries must be found. Directories where
  127. # source files were specified are automatically included.
  128. LIBPATHS =
  129. # Additional paths to look for system headers. These use the form
  130. # "#include <header>". Directories that contain the files in SRCS are
  131. # NOT auto-included here.
  132. SYSTEM_INCLUDE_PATHS = libs/
  133. # Additional paths paths to look for local headers. These use the form
  134. # #include "header". Directories that contain the files in SRCS are
  135. # automatically included.
  136. LOCAL_INCLUDE_PATHS =
  137. # Specify the level of optimization that you want. Specify either NONE (O0),
  138. # SOME (O1), FULL (O3), or leave blank (for the default optimization level).
  139. OPTIMIZE :=
  140. # Specify the codes for languages you are going to support in this
  141. # application. The default "en" one must be provided too. "make catkeys"
  142. # will recreate only the "locales/en.catkeys" file. Use it as a template
  143. # for creating catkeys for other languages. All localization files must be
  144. # placed in the "locales" subdirectory.
  145. LOCALES = en eo
  146. # Specify all the preprocessor symbols to be defined. The symbols will not
  147. # have their values set automatically; you must supply the value (if any) to
  148. # use. For example, setting DEFINES to "DEBUG=1" will cause the compiler
  149. # option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG" would pass
  150. # "-DDEBUG" on the compiler's command line.
  151. DEFINES :=
  152. # Specify the warning level. Either NONE (suppress all warnings),
  153. # ALL (enable all warnings), or leave blank (enable default warnings).
  154. WARNINGS =
  155. # With image symbols, stack crawls in the debugger are meaningful.
  156. # If set to "TRUE", symbols will be created.
  157. SYMBOLS :=
  158. # Includes debug information, which allows the binary to be debugged easily.
  159. # If set to "TRUE", debug info will be created.
  160. DEBUGGER :=
  161. # Specify any additional compiler flags to be used.
  162. COMPILER_FLAGS =
  163. # Specify any additional linker flags to be used.
  164. LINKER_FLAGS =
  165. # Specify the version of this binary. Example:
  166. # -app 3 4 0 d 0 -short 340 -long "340 "`echo -n -e '\302\251'`"1999 GNU GPL"
  167. # This may also be specified in a resource.
  168. APP_VERSION :=
  169. # (Only used when "TYPE" is "DRIVER"). Specify the desired driver install
  170. # location in the /dev hierarchy. Example:
  171. # DRIVER_PATH = video/usb
  172. # will instruct the "driverinstall" rule to place a symlink to your driver's
  173. # binary in ~/add-ons/kernel/drivers/dev/video/usb, so that your driver will
  174. # appear at /dev/video/usb when loaded. The default is "misc".
  175. DRIVER_PATH =
  176. ## Include the Makefile-Engine
  177. DEVEL_DIRECTORY := /boot/system/develop/
  178. include $(DEVEL_DIRECTORY)/etc/makefile-engine
  179. include Makefile.common
  180. CC = g++