1## ********************************* ## 2## ZETA Generic Makefile v3.0 ## 3 4## Fill in this file to specify the project being created, and the referenced 5## makefile-engine will do all of the hard work for you. 6 7## Application Specific Settings --------------------------------------------- 8 9# specify the name of the binary 10NAME := opensound.media_addon 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 17# MODULE: Kernel Module 18# DECOR: A window decorator project 19TYPE := SHARED 20 21# add support for new Pe and Eddie features 22# to fill in generic makefile 23 24#%{ 25# @src->@ 26 27# specify the source files to use 28# full paths or paths relative to the makefile can be included 29# all files, regardless of directory, will have their object 30# files created in the common object directory. 31# Note that this means this makefile will not work correctly 32# if two source files with the same name (source.c or source.cpp) 33# are included from different directories. Also note that spaces 34# in folder names do not work well with this makefile. 35SRCS := OpenSoundAddOn.cpp \ 36 OpenSoundDevice.cpp \ 37 OpenSoundDeviceEngine.cpp \ 38 OpenSoundDeviceMixer.cpp \ 39 OpenSoundNode.cpp 40 41# specify the resource files to use 42# full path or a relative path to the resource file can be used. 43RSRCS := 44 45# Specify your RDEF files, if any. 46RDEFS := 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# - if your library does not follow the standard library 60# naming scheme you need to specify the path to the library 61# and it's name 62# library: my_lib.a entry: my_lib.a or path/my_lib.a 63LIBS := be media 64 65# specify additional paths to directories following the standard 66# libXXX.so or libXXX.a naming scheme. You can specify full paths 67# or paths relative to the makefile. The paths included may not 68# be recursive, so include all of the paths where libraries can 69# be found. Directories where source files are found are 70# automatically included. 71LIBPATHS := 72 73# additional paths to look for system headers 74# thes use the form: #include <header> 75# source file directories are NOT auto-included here 76SYSTEM_INCLUDE_PATHS := ../../include ../../../../../headers/private/media 77 78# additional paths to look for local headers 79# thes use the form: #include "header" 80# source file directories are automatically included 81LOCAL_INCLUDE_PATHS := 82 83# specify the level of optimization that you desire 84# NONE, SOME, FULL 85OPTIMIZE := 86 87# specify any preprocessor symbols to be defined. The symbols will not 88# have their values set automatically; you must supply the value (if any) 89# to use. For example, setting DEFINES to "DEBUG=1" will cause the 90# compiler option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG" 91# would pass "-DDEBUG" on the compiler's command line. 92DEFINES := _ZETA_TS_FIND_DIR_=1 \ 93 94# DEBUG=3 95 96#DEBUG=1 97#NO_LEGACY_MIXER=1 \ 98 99 100# specify special warning levels 101# if unspecified default warnings will be used 102# NONE = supress all warnings 103# ALL = enable all warnings 104WARNINGS := 105 106# specify whether image symbols will be created 107# so that stack crawls in the debugger are meaningful 108# if TRUE symbols will be created 109SYMBOLS := 110 111# specify debug settings 112# if TRUE will allow application to be run from a source-level 113# debugger. Note that this will disable all optimzation. 114DEBUGGER := 115 116# specify additional compiler flags for all files 117COMPILER_FLAGS := 118 119# specify additional linker flags 120LINKER_FLAGS := 121 122# specify the version of this particular item 123# (for example, -app 3 4 0 d 0 -short 340 -long "340 "`echo -n -e '\302\251'`"1999 GNU GPL") 124#E This may also be specified in a resource. 125APP_VERSION := 126 127# (for TYPE == DRIVER only) Specify desired location of driver in the /dev 128# hierarchy. Used by the driverinstall rule. E.g., DRIVER_PATH = video/usb will 129# instruct the driverinstall rule to place a symlink to your driver's binary in 130# ~/add-ons/kernel/drivers/dev/video/usb, so that your driver will appear at 131# /dev/video/usb when loaded. Default is "misc". 132DRIVER_PATH := 133 134# Specify if you want the object files to be somewhere besides the default location. 135OBJ_DIR := 136 137# Specify a non default placement for the target 138TARGET_DIR := 139 140# Specify a directory for the 'install' target. 141INSTALL_DIR := 142 143# Specify the name of this makefile. 144# If you leave this blank, the makefile will not be considered as part of the 145# dependenies for the project, and the project will not be rebuilt when the makefile 146# is changed 147MAKEFILE := 148 149# Specify TRUE if you want the install target to create links in the BeMenu 150MENU_LINKS := 151 152# Related to MENU_LINKS, specify the name of the direcotry in the BeMenu 153# you wish the link to go in. If the directory does not exist, it will be 154# created. 155APP_MENU := 156 157# If, for some reason, you don't want to use the dependencies (flex and yacc seem to choke 158# on them), set this to false 159DODEPS := 160 161# Set this variable if you have an svg text file you wish to use as your targets 162# icon. 163SVG_ICON := 164 165# If you have some fancy custom build steps to do, specify them here 166EXTRA_BUILD_STEPS = 167 168# If you have some other files that should trigger a re-link, such as libs in the same 169# project that may get rebuilt, specify the full path to them here. 170EXTRA_DEPS := 171 172########################################################################################### 173# The following variables are commented out here because the can be very useful to just 174# set at the command line or in the env at time of compiling, allowing you to leave your 175# makefile the same, but change the build types easily. 176 177 178# If you wish to have the program output a profiling session file which can be read by bprof, 179# set this to 'true' 180#BUILD_PROFILE := 181 182# If you wish to have a debug build, 183# set this to 'true' 184#BUILD_DEBUG := 185 186# If you wish to have a build which can do memory checking when MALLOC_DEBUG=15 is set, 187# set this to 'true' 188#CHECK_MEM := 189 190# If you want to see the complete build line for every file, then set this to 'true', 191# otherwise it will tell you at the end what the build flags were. 192#CHATTY := 193 194 195 196## include the makefile-engine 197include $(BUILDHOME)/etc/makefile-engine 198