1## BeOS Generic Makefile v2.2 ## 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. 6 7## Application Specific Settings --------------------------------------------- 8 9# specify the name of the binary 10NAME= ../ClippingTest 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= APP 18 19# add support for new Pe and Eddie features 20# to fill in generic makefile 21 22#%{ 23# @src->@ 24 25# specify the source files to use 26# full paths or paths relative to the makefile can be included 27# all files, regardless of directory, will have their object 28# files created in the common object directory. 29# Note that this means this makefile will not work correctly 30# if two source files with the same name (source.c or source.cpp) 31# are included from different directories. Also note that spaces 32# in folder names do not work well with this makefile. 33SRCS= ClientLooper.cpp \ 34 Desktop.cpp \ 35 main.cpp \ 36 MultiLocker.cpp \ 37 ViewLayer.cpp \ 38 WindowLayer.cpp \ 39 drawing/AccelerantHWInterface.cpp \ 40 drawing/DirectWindowBuffer.cpp \ 41 drawing/DrawingEngine.cpp \ 42 drawing/DrawView.cpp \ 43# trace.c 44 45# specify the resource files to use 46# full path or a relative path to the resource file can be used. 47RSRCS= 48 49# @<-src@ 50#%} 51 52# end support for Pe and Eddie 53 54# specify additional libraries to link against 55# there are two acceptable forms of library specifications 56# - if your library follows the naming pattern of: 57# libXXX.so or libXXX.a you can simply specify XXX 58# library: libbe.so entry: be 59# 60# - if your library does not follow the standard library 61# naming scheme you need to specify the path to the library 62# and it's name 63# library: my_lib.a entry: my_lib.a or path/my_lib.a 64LIBS= $(STDCPPLIBS) be game 65 66# specify additional paths to directories following the standard 67# libXXX.so or libXXX.a naming scheme. You can specify full paths 68# or paths relative to the makefile. The paths included may not 69# be recursive, so include all of the paths where libraries can 70# be found. Directories where source files are found are 71# automatically included. 72LIBPATHS= 73 74# additional paths to look for system headers 75# thes use the form: #include <header> 76# source file directories are NOT auto-included here 77SYSTEM_INCLUDE_PATHS = 78 79# additional paths to look for local headers 80# thes use the form: #include "header" 81# source file directories are automatically included 82LOCAL_INCLUDE_PATHS = 83 84# specify the level of optimization that you desire 85# NONE, SOME, FULL 86OPTIMIZE= SOME 87 88# specify any preprocessor symbols to be defined. The symbols will not 89# have their values set automatically; you must supply the value (if any) 90# to use. For example, setting DEFINES to "DEBUG=1" will cause the 91# compiler option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG" 92# would pass "-DDEBUG" on the compiler's command line. 93DEFINES= 94 95# specify special warning levels 96# if unspecified default warnings will be used 97# NONE = supress all warnings 98# ALL = enable all warnings 99WARNINGS = 100 101# specify whether image symbols will be created 102# so that stack crawls in the debugger are meaningful 103# if TRUE symbols will be created 104SYMBOLS = 105 106# specify debug settings 107# if TRUE will allow application to be run from a source-level 108# debugger. Note that this will disable all optimzation. 109DEBUGGER = 110 111# specify additional compiler flags for all files 112COMPILER_FLAGS = #-finstrument-functions 113 114# specify additional linker flags 115LINKER_FLAGS = 116 117# specify the version of this particular item 118# (for example, -app 3 4 0 d 0 -short 340 -long "340 "`echo -n -e '\302\251'`"1999 GNU GPL") 119# This may also be specified in a resource. 120APP_VERSION = 121 122# (for TYPE == DRIVER only) Specify desired location of driver in the /dev 123# hierarchy. Used by the driverinstall rule. E.g., DRIVER_PATH = video/usb will 124# instruct the driverinstall rule to place a symlink to your driver's binary in 125# ~/add-ons/kernel/drivers/dev/video/usb, so that your driver will appear at 126# /dev/video/usb when loaded. Default is "misc". 127DRIVER_PATH = 128 129## include the makefile-engine 130include $(BUILDHOME)/etc/makefile-engine 131