1## ****************************************** ## 2## BeOS Generic Makefile v2.9.0.Zeta-internal ## 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. This handles both 6## Intel and PowerPC builds of the BeOS. 7 8## Application Specific Settings --------------------------------------------- 9 10# specify the name of the binary 11NAME :=nfs 12 13# specify the type of binary 14# APP: Application 15# SHARED: Shared library 16# ADDON: An add-on 17# STATIC: Static library archive 18# DRIVER: Kernel Driver 19# MODULE: Kernel Module 20# DECOR: A window decorator project 21TYPE :=MODULE 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 := $(wildcard *.c) 38 39# specify the resource files to use 40# full path or a relative path to the resource file can be used. 41RSRCS := 42 43# Specify your RDEF files, if any. 44RDEFS := 45 46# @<-src@ 47#%} 48 49# end support for Pe and Eddie 50 51# specify additional libraries to link against 52# there are two acceptable forms of library specifications 53# - if your library follows the naming pattern of: 54# libXXX.so or libXXX.a you can simply specify XXX 55# library: libbe.so entry: be 56# 57# - if your library does not follow the standard library 58# naming scheme you need to specify the path to the library 59# and it's name 60# library: my_lib.a entry: my_lib.a or path/my_lib.a 61LIBS := 62 63# specify additional paths to directories following the standard 64# libXXX.so or libXXX.a naming scheme. You can specify full paths 65# or paths relative to the makefile. The paths included may not 66# be recursive, so include $(BUILD_SCRIPT_DIR)/all of the paths where libraries can 67# be found. Directories where source files are found are 68# automatically included. 69LIBPATHS := 70 71# additional paths to look for system headers 72# thes use the form: #include $(BUILD_SCRIPT_DIR)/<header> 73# source file directories are NOT auto-included here 74SYSTEM_INCLUDE_PATHS := 75 76# additional paths to look for local headers 77# thes use the form: #include $(BUILD_SCRIPT_DIR)/"header" 78# source file directories are automatically included 79LOCAL_INCLUDE_PATHS := 80 81# specify the level of optimization that you desire 82# NONE, SOME, FULL 83OPTIMIZE :=FULL 84 85# specify any preprocessor symbols to be defined. The symbols will not 86# have their values set automatically; you must supply the value (if any) 87# to use. For example, setting DEFINES to "DEBUG=1" will cause the 88# compiler option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG" 89# would pass "-DDEBUG" on the compiler's command line. 90DEFINES := _BUILDING_fs=1 91 92# specify special warning levels 93# if unspecified default warnings will be used 94# NONE = supress all warnings 95# ALL = enable all warnings 96WARNINGS :=ALL 97 98# specify whether image symbols will be created 99# so that stack crawls in the debugger are meaningful 100# if TRUE symbols will be created 101SYMBOLS := 102 103# specify debug settings 104# if TRUE will allow application to be run from a source-level 105# debugger. Note that this will disable all optimzation. 106DEBUGGER := 107 108# specify additional compiler flags for all files 109COMPILER_FLAGS := 110 111# specify additional linker flags 112LINKER_FLAGS := 113 114# specify additional flex flags 115FLEX_FLAGS = 116 117# specify additional bison flags 118BISON_FLAGS = 119 120# specify the version of this particular item 121# (for example, -app 3 4 0 d 0 -short 340 -long "340 "`echo -n -e '\302\251'`"1999 GNU GPL") 122# This may also be specified in a resource. 123APP_VERSION := 124 125# (for TYPE == DRIVER only) Specify desired location of driver in the /dev 126# hierarchy. Used by the driverinstall rule. E.g., DRIVER_PATH = video/usb will 127# instruct the driverinstall rule to place a symlink to your driver's binary in 128# ~/add-ons/kernel/drivers/dev/video/usb, so that your driver will appear at 129# /dev/video/usb when loaded. Default is "misc". 130DRIVER_PATH := 131 132# Specify if you want the object files to be somewhere besides the default location. 133OBJ_DIR := 134 135# Specify a non default placement for the target 136TARGET_DIR := 137 138# If you want to see the complete build line for every file, then set this to 'true', 139# otherwise it will tell you at the end what the build flags were. 140#CHATTY := 141 142# Special Zeta build system var 143BOOTREL_INSTALL_DIR := beos/system/add-ons/kernel/file_systems 144 145# Specify a directory for the 'install' target. 146INSTALL_DIR := /boot/$(BOOTREL_INSTALL_DIR) 147 148# Specify the name of this makefile. 149# If you leave this blank, the makefile will not be considered as part of the 150# dependenies for the project, and the project will not be rebuilt when the makefile 151# is changed 152MAKEFILE := 153 154# Specify TRUE if you want the install target to create links in the BeMenu 155MENU_LINKS := 156 157# Related to MENU_LINKS, specify the name of the direcotry in the BeMenu 158# you wish the link to go in. If the directory does not exist, it will be 159# created. 160APP_MENU := 161 162# If, for some reason, you don't want to use the dependencies (flex and yacc seem to choke 163# on them), set this to false 164DODEPS := 165 166# Set this variable if you have an svg text file you wish to use as 167# your target's icon. 168SVG_ICON := 169 170# If you have some fancy custom build steps to do, specify them here 171EXTRA_BUILD_STEPS = 172 173 174# If you have some other files that should trigger a re-link, such as libs in the same 175# project that may get rebuilt, specify the full path to them here. 176EXTRA_DEPS := 177 178 179################################################################################################## 180# 181## Z E T A S p e c i f i c 182# 183################################################################################################## 184 185# Specify the path to the Screenshot file. If this is not specified, then the SCREENSHOT default 186# will be $(PWD)/$(NAME).png 187# If this application is not to have a screenshot, use NONE 188SCREENSHOT := 189 190# Specify the category that this zeta component belongs in 191ZETA_CATEGORY := BaseInstallation 192 193# The .zip package that this file will be included in. If this is left blank, then 194# $(NAME).zip will be used. 195# This feature is meant for having multiple items included in the a single .zip package 196PACKAGE := 197 198# If this target is a component of another target. That is, if this is part of a package 199# but not the 'main' part. Typically the main app will have the screenshot, and set 200# the relevant attributes. If this is set to 'true' then this makefile will not attempt to set 201# attributes or a screenshot or a description. 202IS_COMPONENT := 203 204# If this is a mandatory component, set this to 'false'. The default is true. 205# Optional components will be zipped up with thier attribs and everything. 206# Non-Optional (mandatory) components will just be copied to the directory structure and 207# added to the manifest for copying during install 208OPTIONAL :=false 209 210# Specify the names of the Language files here. (ie: AboutWindow.de AboutWindow.en) 211LANG_FILES := 212 213# If your language files are in a different directory, specify the relative directory here. 214# ie: Language/Dictionaries 215LANG_FILES_DIR := 216 217 218##include $(BUILD_SCRIPT_DIR)/the makefile-engine 219include $(BUILDHOME)/etc/makefile-engine 220