1## Haiku Generic Jamfile v1.0 ##
2
3## Fill in this file to specify the project being created, and the referenced
4## Jamfile-engine will do all of the hard work for you.  This handles both
5## Intel and PowerPC builds of the (Open)BeOS.
6
7## Application Specific Settings ---------------------------------------------
8
9# Specify the name of the binary
10#	If the name has spaces, you must quote it: "My App"
11NAME = test ;
12
13# Specify the type of binary
14#	APP:	Application
15#	SHARED:	Shared library or add-on
16#	STATIC:	Static library archive
17#	DRIVER: Kernel Driver
18TYPE = APP ;
19
20# Specify the source files to use
21#	Full paths or paths relative to the Jamfile can be included.
22# 	All files, regardless of directory, will have their object
23#	files created in the common object directory.
24#	Note that this means this Jamfile will not work correctly
25#	if two source files with the same name (source.c or source.cpp)
26#	are included from different directories.
27# Ex: SRCS = file1.cpp file2.cpp file3.cpp ;
28SRCS = main.cpp ;
29
30# Specify the resource files to use
31#	Full path or a relative path to the resource file can be used.
32RSRCS =  ;
33
34# Specify additional libraries to link against
35#	There are two acceptable forms of library specifications
36#	-	if your library follows the naming pattern of:
37#		libXXX.so or libXXX.a you can simply specify XXX
38#		library: libbe.so entry: be
39#		
40#	- 	if your library does not follow the standard library
41#		naming scheme you need to specify the path to the library
42#		and it's name
43#		library: my_lib.a entry: my_lib.a or path/my_lib.a
44LIBS = openbeos ;
45
46# Specify additional paths to directories following the standard
47#	libXXX.so or libXXX.a naming scheme.  You can specify full paths
48#	or paths relative to the Jamfile.  The paths included may not
49#	be recursive, so include all of the paths where libraries can
50#	be found.  Directories where source files are found are
51#	automatically included.
52LIBPATHS =  ;
53
54# Additional paths to look for system headers
55#	These use the form: #include <header>
56#	source file directories are NOT auto-included here
57SYSTEM_INCLUDE_PATHS =  ;
58
59# Additional paths to look for local headers
60#	thes use the form: #include "header"
61#	source file directories are automatically included
62LOCAL_INCLUDE_PATHS =  ;
63
64# Specify the level of optimization that you desire
65#	NONE, SOME, FULL
66OPTIMIZE = NONE ;
67
68# Specify any preprocessor symbols to be defined.  The symbols will not
69#	have their values set automatically; you must supply the value (if any)
70#	to use.  For example, setting DEFINES to "DEBUG=1" will cause the
71#	compiler option "-DDEBUG=1" to be used.  Setting DEFINES to "DEBUG"
72#	would pass "-DDEBUG" on the compiler's command line.
73DEFINES = DEBUG ;
74
75# Specify special warning levels
76#	if unspecified default warnings will be used
77#	NONE = supress all warnings
78#	ALL = enable all warnings
79WARNINGS = ALL ;
80
81# Specify whether image symbols will be created
82#	so that stack crawls in the debugger are meaningful
83#	if TRUE symbols will be created
84SYMBOLS = TRUE ;
85
86# Specify debug settings
87#	if TRUE will allow application to be run from a source-level
88#	debugger.  Note that this will disable all optimzation.
89DEBUGGER = TRUE ;
90
91# Specify additional compiler flags for all files
92COMPILER_FLAGS =  ;
93
94# Specify additional linker flags
95LINKER_FLAGS =  ;
96
97# (for TYPE == DRIVER only) Specify desired location of driver in the /dev
98#	hierarchy. Used by the driverinstall rule. E.g., DRIVER_PATH = video/usb will
99#	instruct the driverinstall rule to place a symlink to your driver's binary in
100#	~/add-ons/kernel/drivers/dev/video/usb, so that your driver will appear at
101#	/dev/video/usb when loaded. Default is "misc".
102DRIVER_PATH =  ;
103
104## Include the Jamfile-engine
105include $(BUILDHOME)/etc/Jamfile-engine ;
106