1 |
cebix |
1.1 |
## BeOS Generic Makefile v2.1 ## |
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 |
10 |
|
|
NAME= SheepShaver |
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 |
|
|
TYPE= 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. |
33 |
|
|
SRCS= main_beos.cpp ../prefs.cpp ../prefs_items.cpp prefs_beos.cpp \ |
34 |
|
|
prefs_editor_beos.cpp sys_beos.cpp ../rom_patches.cpp ../rsrc_patches.cpp \ |
35 |
|
|
../emul_op.cpp ../name_registry.cpp ../macos_util.cpp ../timer.cpp \ |
36 |
|
|
timer_beos.cpp ../xpram.cpp xpram_beos.cpp ../adb.cpp clip_beos.cpp \ |
37 |
|
|
../sony.cpp ../disk.cpp ../cdrom.cpp ../scsi.cpp scsi_beos.cpp \ |
38 |
|
|
../video.cpp video_beos.cpp ../audio.cpp audio_beos.cpp ../ether.cpp \ |
39 |
|
|
ether_beos.cpp ../serial.cpp serial_beos.cpp ../extfs.cpp extfs_beos.cpp \ |
40 |
|
|
about_window_beos.cpp ../user_strings.cpp user_strings_beos.cpp |
41 |
|
|
|
42 |
|
|
# specify the resource files to use |
43 |
|
|
# full path or a relative path to the resource file can be used. |
44 |
|
|
RSRCS= SheepShaver.rsrc |
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 |
61 |
|
|
LIBS= be tracker game media translation textencoding device GL |
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 all of the paths where libraries can |
67 |
|
|
# be found. Directories where source files are found are |
68 |
|
|
# automatically included. |
69 |
|
|
LIBPATHS= |
70 |
|
|
|
71 |
|
|
# additional paths to look for system headers |
72 |
|
|
# thes use the form: #include <header> |
73 |
|
|
# source file directories are NOT auto-included here |
74 |
|
|
SYSTEM_INCLUDE_PATHS = |
75 |
|
|
|
76 |
|
|
# additional paths to look for local headers |
77 |
|
|
# thes use the form: #include "header" |
78 |
|
|
# source file directories are automatically included |
79 |
|
|
LOCAL_INCLUDE_PATHS = ../include SheepDriver SheepNet |
80 |
|
|
|
81 |
|
|
# specify the level of optimization that you desire |
82 |
|
|
# NONE, SOME, FULL |
83 |
|
|
OPTIMIZE= 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. |
90 |
|
|
DEFINES= |
91 |
|
|
|
92 |
|
|
# specify special warning levels |
93 |
|
|
# if unspecified default warnings will be used |
94 |
|
|
# NONE = supress all warnings |
95 |
|
|
# ALL = enable all warnings |
96 |
|
|
WARNINGS = |
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 |
101 |
|
|
SYMBOLS = |
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. |
106 |
|
|
DEBUGGER = |
107 |
|
|
|
108 |
|
|
# specify additional compiler flags for all files |
109 |
|
|
COMPILER_FLAGS = -prefix BeHeaders |
110 |
|
|
|
111 |
|
|
# specify additional linker flags |
112 |
|
|
LINKER_FLAGS = |
113 |
|
|
|
114 |
|
|
|
115 |
|
|
## include the makefile-engine |
116 |
|
|
include /boot/develop/etc/makefile-engine |
117 |
|
|
|