1## BeOS Generic Makefile v2.5 ## 2 3## Fill in this file to specify the project being created, and the referenced 4## makefile-engine will do all of the hard work for you. This handles both 5## Intel and PowerPC builds of the BeOS and Haiku. 6 7## Application Specific Settings --------------------------------------------- 8 9# specify the name of the binary 10NAME=proj2make 11 12# specify the type of binary 13# APP: Application 14# SHARED: Shared library or add-on 15# STATIC: Static library archive 16# DRIVER: Kernel Driver 17TYPE= 18 19# if you plan to use localization features 20# specify the application MIME siganture 21APP_MIME_SIG= 22 23# add support for new Pe and Eddie features 24# to fill in generic makefile 25 26#%{ 27# @src->@ 28 29# specify the source files to use 30# full paths or paths relative to the makefile can be included 31# all files, regardless of directory, will have their object 32# files created in the common object directory. 33# Note that this means this makefile will not work correctly 34# if two source files with the same name (source.c or source.cpp) 35# are included from different directories. Also note that spaces 36# in folder names do not work well with this makefile. 37SRCS=proj2make.cpp 38 39# specify the resource definition files to use 40# full path or a relative path to the resource file can be used. 41RDEFS= 42 43# specify the resource files to use. 44# full path or a relative path to the resource file can be used. 45# both RDEFS and RSRCS can be defined in the same makefile. 46RSRCS= 47 48# @<-src@ 49#%} 50 51# end support for Pe and Eddie 52 53# specify additional libraries to link against 54# there are two acceptable forms of library specifications 55# - if your library follows the naming pattern of: 56# libXXX.so or libXXX.a you can simply specify XXX 57# library: libbe.so entry: be 58# 59# - for version-independent linking of standard C++ libraries please add 60# $(STDCPPLIBS) instead of raw "stdc++[.r4] [supc++]" library names 61# 62# - for localization support add following libs: 63# locale localestub 64# 65# - if your library does not follow the standard library 66# naming scheme you need to specify the path to the library 67# and it's name 68# library: my_lib.a entry: my_lib.a or path/my_lib.a 69LIBS=be root $(STDCPPLIBS) 70# specify additional paths to directories following the standard 71# libXXX.so or libXXX.a naming scheme. You can specify full paths 72# or paths relative to the makefile. The paths included may not 73# be recursive, so include all of the paths where libraries can 74# be found. Directories where source files are found are 75# automatically included. 76LIBPATHS= 77# additional paths to look for system headers 78# thes use the form: #include <header> 79# source file directories are NOT auto-included here 80SYSTEM_INCLUDE_PATHS = 81 82# additional paths to look for local headers 83# thes use the form: #include "header" 84# source file directories are automatically included 85LOCAL_INCLUDE_PATHS = 86 87# specify the level of optimization that you desire 88# NONE, SOME, FULL 89OPTIMIZE= 90 91# specify here the codes for languages you are going 92# to support in this application. The default "en" 93# one must be provided too. "make catkeys" will recreate only 94# locales/en.catkeys file. Use it as template for creating other 95# languages catkeys. All localization files must be placed 96# in "locales" sub-directory. 97LOCALES= 98 99# specify any preprocessor symbols to be defined. The symbols will not 100# have their values set automatically; you must supply the value (if any) 101# to use. For example, setting DEFINES to "DEBUG=1" will cause the 102# compiler option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG" 103# would pass "-DDEBUG" on the compiler's command line. 104DEFINES= 105 106# specify special warning levels 107# if unspecified default warnings will be used 108# NONE = supress all warnings 109# ALL = enable all warnings 110WARNINGS = 111 112# specify whether image symbols will be created 113# so that stack crawls in the debugger are meaningful 114# if TRUE symbols will be created 115SYMBOLS = TRUE 116# specify debug settings 117# if TRUE will allow application to be run from a source-level 118# debugger. Note that this will disable all optimzation. 119DEBUGGER = TRUE 120 121# specify additional compiler flags for all files 122COMPILER_FLAGS = 123 124# specify additional linker flags 125LINKER_FLAGS = 126 127# specify the version of this particular item 128# (for example, -app 3 4 0 d 0 -short 340 -long "340 "`echo -n -e '\302\251'`"1999 GNU GPL") 129# This may also be specified in a resource. 130APP_VERSION = 131 132# (for TYPE == DRIVER only) Specify desired location of driver in the /dev 133# hierarchy. Used by the driverinstall rule. E.g., DRIVER_PATH = video/usb will 134# instruct the driverinstall rule to place a symlink to your driver's binary in 135# ~/add-ons/kernel/drivers/dev/video/usb, so that your driver will appear at 136# /dev/video/usb when loaded. Default is "misc". 137DRIVER_PATH = 138 139## include the makefile-engine 140include $(BUILDHOME)/etc/makefile-engine 141