Makefile 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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 = libinterface
  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 = STATIC
  16. # If you plan to use localization, specify the application's MIME signature.
  17. APP_MIME_SIG =
  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. libs/libinterface/BitmapMenuItem.cpp \
  30. libs/libinterface/BitmapUtils.cpp \
  31. libs/libinterface/BitmapView.cpp \
  32. libs/libinterface/Divider.cpp \
  33. libs/libinterface/EnterTextView.cpp \
  34. libs/libinterface/MenuButton.cpp \
  35. libs/libinterface/PictureView.cpp \
  36. libs/libinterface/UrlTextView.cpp
  37. # Specify the resource definition files to use. Full or relative paths can be
  38. # used.
  39. RDEFS =
  40. # Specify the resource files to use. Full or relative paths can be used.
  41. # Both RDEFS and RSRCS can be utilized in the same Makefile.
  42. RSRCS =
  43. # End Pe/Eddie support.
  44. # @<-src@
  45. #%}
  46. # Specify libraries to link against.
  47. # There are two acceptable forms of library specifications:
  48. # - if your library follows the naming pattern of libXXX.so or libXXX.a,
  49. # you can simply specify XXX for the library. (e.g. the entry for
  50. # "libtracker.so" would be "tracker")
  51. #
  52. # - for GCC-independent linking of standard C++ libraries, you can use
  53. # $(STDCPPLIBS) instead of the raw "stdc++[.r4] [supc++]" library names.
  54. #
  55. # - if your library does not follow the standard library naming scheme,
  56. # you need to specify the path to the library and it's name.
  57. # (e.g. for mylib.a, specify "mylib.a" or "path/mylib.a")
  58. LIBS = be shared $(STDCPPLIBS)
  59. # Specify additional paths to directories following the standard libXXX.so
  60. # or libXXX.a naming scheme. You can specify full paths or paths relative
  61. # to the Makefile. The paths included are not parsed recursively, so
  62. # include all of the paths where libraries must be found. Directories where
  63. # source files were specified are automatically included.
  64. LIBPATHS =
  65. # Additional paths to look for system headers. These use the form
  66. # "#include <header>". Directories that contain the files in SRCS are
  67. # NOT auto-included here.
  68. SYSTEM_INCLUDE_PATHS = \
  69. libs/private/
  70. # Additional paths paths to look for local headers. These use the form
  71. # #include "header". Directories that contain the files in SRCS are
  72. # automatically included.
  73. LOCAL_INCLUDE_PATHS =
  74. # Specify the level of optimization that you want. Specify either NONE (O0),
  75. # SOME (O1), FULL (O3), or leave blank (for the default optimization level).
  76. OPTIMIZE :=
  77. # Specify the codes for languages you are going to support in this
  78. # application. The default "en" one must be provided too. "make catkeys"
  79. # will recreate only the "locales/en.catkeys" file. Use it as a template
  80. # for creating catkeys for other languages. All localization files must be
  81. # placed in the "locales" subdirectory.
  82. LOCALES =
  83. # Specify all the preprocessor symbols to be defined. The symbols will not
  84. # have their values set automatically; you must supply the value (if any) to
  85. # use. For example, setting DEFINES to "DEBUG=1" will cause the compiler
  86. # option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG" would pass
  87. # "-DDEBUG" on the compiler's command line.
  88. DEFINES =
  89. # Specify the warning level. Either NONE (suppress all warnings),
  90. # ALL (enable all warnings), or leave blank (enable default warnings).
  91. WARNINGS =
  92. # With image symbols, stack crawls in the debugger are meaningful.
  93. # If set to "TRUE", symbols will be created.
  94. SYMBOLS :=
  95. # Includes debug information, which allows the binary to be debugged easily.
  96. # If set to "TRUE", debug info will be created.
  97. DEBUGGER :=
  98. # Specify any additional compiler flags to be used.
  99. COMPILER_FLAGS =
  100. # Specify any additional linker flags to be used.
  101. LINKER_FLAGS =
  102. # Specify the version of this binary. Example:
  103. # -app 3 4 0 d 0 -short 340 -long "340 "`echo -n -e '\302\251'`"1999 GNU GPL"
  104. # This may also be specified in a resource.
  105. APP_VERSION :=
  106. # (Only used when "TYPE" is "DRIVER"). Specify the desired driver install
  107. # location in the /dev hierarchy. Example:
  108. # DRIVER_PATH = video/usb
  109. # will instruct the "driverinstall" rule to place a symlink to your driver's
  110. # binary in ~/add-ons/kernel/drivers/dev/video/usb, so that your driver will
  111. # appear at /dev/video/usb when loaded. The default is "misc".
  112. DRIVER_PATH =
  113. ## Include the Makefile-Engine
  114. DEVEL_DIRECTORY := \
  115. $(shell findpaths -r "makefile_engine" B_FIND_PATH_DEVELOP_DIRECTORY)
  116. include $(DEVEL_DIRECTORY)/etc/makefile-engine
  117. include Makefile.common