source: trunk/beos/makefile @ 95

Last change on this file since 95 was 95, checked in by titer, 15 years ago

BeOS fixes

File size: 3.5 KB
Line 
1## BeOS Generic Makefile v2.0 ##
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
10NAME=Transmission
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
17TYPE= APP
18
19#       specify the source files to use
20#       full paths or paths relative to the makefile can be included
21#       all files, regardless of directory, will have their object
22#       files created in the common object directory.
23#       Note that this means this makefile will not work correctly
24#       if two source files with the same name (source.c or source.cpp)
25#       are included from different directories.  Also note that spaces
26#       in folder names do not work well with this makefile.
27SRCS= \
28        TRApplication.cpp\
29        TRWindow.cpp\
30        TRTransfer.cpp\
31        TRPrefsWindow.cpp\
32        TRInfoWindow.cpp\
33#
34       
35#       specify the resource files to use
36#       full path or a relative path to the resource file can be used.
37RSRCS= Transmission.rsrc
38
39#       specify additional libraries to link against
40#       there are two acceptable forms of library specifications
41#       -       if your library follows the naming pattern of:
42#               libXXX.so or libXXX.a you can simply specify XXX
43#               library: libbe.so entry: be
44#               
45#       -       if your library does not follow the standard library
46#               naming scheme you need to specify the path to the library
47#               and it's name
48#               library: my_lib.a entry: my_lib.a or path/my_lib.a
49ifeq ($(wildcard /boot/develop/headers/be/bone/arpa/inet.h),)
50     LIBS = be net tracker transmission Prefs
51else
52     LIBS = be bind socket tracker transmission Prefs
53endif
54ifneq ($(wildcard /boot/beos/system/lib/libzeta.so),)
55        LIBS += zeta crypto
56endif
57#       specify additional paths to directories following the standard
58#       libXXX.so or libXXX.a naming scheme.  You can specify full paths
59#       or paths relative to the makefile.  The paths included may not
60#       be recursive, so include all of the paths where libraries can
61#       be found.  Directories where source files are found are
62#       automatically included.
63LIBPATHS= ../libtransmission ./libPrefs
64
65#       additional paths to look for system headers
66#       thes use the form: #include <header>
67#       source file directories are NOT auto-included here
68SYSTEM_INCLUDE_PATHS = 
69
70#       additional paths to look for local headers
71#       thes use the form: #include "header"
72#       source file directories are automatically included
73LOCAL_INCLUDE_PATHS = ../libtransmission ./libPrefs
74
75#       specify the level of optimization that you desire
76#       NONE, SOME, FULL
77OPTIMIZE= SOME
78
79#       specify any preprocessor symbols to be defined.  The symbols
80#       will be set to a value of 1.  For example specify DEBUG if you want
81#       DEBUG=1 to be set when compiling.
82DEFINES= SYS_BEOS
83
84#       specify special warning levels
85#       if unspecified default warnings will be used
86#       NONE = supress all warnings
87#       ALL = enable all warnings
88WARNINGS = ALL
89
90#       specify whether image symbols will be created
91#       so that stack crawls in the debugger are meaningful
92#       if TRUE symbols will be created
93SYMBOLS = TRUE
94
95#       specify debug settings
96#       if TRUE will allow application to be run from
97#       a source-level debugger
98DEBUGGER = FALSE
99
100#       specify additional compiler flags for all files
101COMPILER_FLAGS = -fno-defer-pop
102
103#       specify additional linker flags
104LINKER_FLAGS =
105
106all: default
107
108## include the makefile-engine
109include /boot/develop/etc/makefile-engine
Note: See TracBrowser for help on using the repository browser.