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# check for net_server vs BONE
8ifeq ($(findstring headers/be/bone,$(BEINCLUDES)),)
9NETLIBS=net
10else
11NETLIBS=socket bind
12endif
13
14## Application Specific Settings ---------------------------------------------
15
16# specify the name of the binary
17NAME= ESDSink.media_addon
18
19# specify the type of binary
20#	APP:	Application
21#	SHARED:	Shared library or add-on
22#	STATIC:	Static library archive
23#	DRIVER: Kernel Driver
24TYPE= SHARED
25
26#	add support for new Pe and Eddie features
27#	to fill in generic makefile
28
29#%{
30# @src->@ 
31
32#	specify the source files to use
33#	full paths or paths relative to the makefile can be included
34# 	all files, regardless of directory, will have their object
35#	files created in the common object directory.
36#	Note that this means this makefile will not work correctly
37#	if two source files with the same name (source.c or source.cpp)
38#	are included from different directories.  Also note that spaces
39#	in folder names do not work well with this makefile.
40SRCS= $(wildcard *.cpp)
41
42#	specify the resource files to use
43#	full path or a relative path to the resource file can be used.
44RSRCS= 
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= be media $(NETLIBS)
62
63
64#	specify additional paths to directories following the standard
65#	libXXX.so or libXXX.a naming scheme.  You can specify full paths
66#	or paths relative to the makefile.  The paths included may not
67#	be recursive, so include all of the paths where libraries can
68#	be found.  Directories where source files are found are
69#	automatically included.
70LIBPATHS= 
71
72#	additional paths to look for system headers
73#	thes use the form: #include <header>
74#	source file directories are NOT auto-included here
75SYSTEM_INCLUDE_PATHS = 
76
77#	additional paths to look for local headers
78#	thes use the form: #include "header"
79#	source file directories are automatically included
80LOCAL_INCLUDE_PATHS = 
81
82#	specify the level of optimization that you desire
83#	NONE, SOME, FULL
84OPTIMIZE= 
85
86#	specify any preprocessor symbols to be defined.  The symbols will not
87#	have their values set automatically; you must supply the value (if any)
88#	to use.  For example, setting DEFINES to "DEBUG=1" will cause the
89#	compiler option "-DDEBUG=1" to be used.  Setting DEFINES to "DEBUG"
90#	would pass "-DDEBUG" on the compiler's command line.
91DEFINES= 
92
93#	specify special warning levels
94#	if unspecified default warnings will be used
95#	NONE = supress all warnings
96#	ALL = enable all warnings
97WARNINGS = 
98
99#	specify whether image symbols will be created
100#	so that stack crawls in the debugger are meaningful
101#	if TRUE symbols will be created
102SYMBOLS = 
103
104#	specify debug settings
105#	if TRUE will allow application to be run from a source-level
106#	debugger.  Note that this will disable all optimzation.
107DEBUGGER = 
108
109#	specify additional compiler flags for all files
110COMPILER_FLAGS =
111
112#	specify additional linker flags
113LINKER_FLAGS =
114
115#	specify the version of this particular item
116#	(for example, -app 3 4 0 d 0 -short 340 -long "340 "`echo -n -e '\302\251'`"1999 GNU GPL") 
117#	This may also be specified in a resource.
118APP_VERSION = 
119
120#	(for TYPE == DRIVER only) Specify desired location of driver in the /dev
121#	hierarchy. Used by the driverinstall rule. E.g., DRIVER_PATH = video/usb will
122#	instruct the driverinstall rule to place a symlink to your driver's binary in
123#	~/add-ons/kernel/drivers/dev/video/usb, so that your driver will appear at
124#	/dev/video/usb when loaded. Default is "misc".
125DRIVER_PATH = 
126
127## include the makefile-engine
128include $(BUILDHOME)/etc/makefile-engine
129