ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/Makefile.BeOS
Revision: 1.5
Committed: 2001-01-14T13:17:35Z (23 years, 9 months ago) by cebix
Branch: MAIN
Changes since 1.4: +4 -3 lines
Log Message:
now also works as a SoundPlay plugin under BeOS

File Contents

# Content
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 # Get version number from configure.in
8 version := $(shell grep <configure.in INIT_AUTOMAKE | sed -e 's/.*\[//' -e 's/\].*//')
9
10 ## Application Specific Settings ---------------------------------------------
11
12 # specify the name of the binary
13 NAME=SIDPlayer
14
15 # specify the type of binary
16 # APP: Application
17 # SHARED: Shared library or add-on
18 # STATIC: Static library archive
19 # DRIVER: Kernel Driver
20 TYPE=APP
21
22 # add support for new Pe and Eddie features
23 # to fill in generic makefile
24
25 #%{
26 # @src->@
27
28 # specify the source files to use
29 # full paths or paths relative to the makefile can be included
30 # all files, regardless of directory, will have their object
31 # files created in the common object directory.
32 # Note that this means this makefile will not work correctly
33 # if two source files with the same name (source.c or source.cpp)
34 # are included from different directories. Also note that spaces
35 # in folder names do not work well with this makefile.
36 SRCS=src/main_beos.cpp src/main.cpp src/cl_amp.cpp src/soundplay.cpp \
37 src/prefs.cpp src/prefs_items.cpp src/prefs_window.cpp src/mem.cpp \
38 src/cpu.cpp src/sid.cpp
39
40 # specify the resource files to use
41 # full path or a relative path to the resource file can be used.
42 RSRCS= SIDPlayer.rsrc
43
44 # @<-src@
45 #%}
46
47 # end support for Pe and Eddie
48
49 # specify additional libraries to link against
50 # there are two acceptable forms of library specifications
51 # - if your library follows the naming pattern of:
52 # libXXX.so or libXXX.a you can simply specify XXX
53 # library: libbe.so entry: be
54 #
55 # - if your library does not follow the standard library
56 # naming scheme you need to specify the path to the library
57 # and it's name
58 # library: my_lib.a entry: my_lib.a or path/my_lib.a
59 LIBS=be media textencoding
60
61 # specify additional paths to directories following the standard
62 # libXXX.so or libXXX.a naming scheme. You can specify full paths
63 # or paths relative to the makefile. The paths included may not
64 # be recursive, so include all of the paths where libraries can
65 # be found. Directories where source files are found are
66 # automatically included.
67 LIBPATHS=
68
69 # additional paths to look for system headers
70 # thes use the form: #include <header>
71 # source file directories are NOT auto-included here
72 SYSTEM_INCLUDE_PATHS =
73
74 # additional paths to look for local headers
75 # thes use the form: #include "header"
76 # source file directories are automatically included
77 LOCAL_INCLUDE_PATHS=src/clamp_includes src/soundplay_includes
78
79 # specify the level of optimization that you desire
80 # NONE, SOME, FULL
81 OPTIMIZE=FULL
82
83 # specify any preprocessor symbols to be defined. The symbols will not
84 # have their values set automatically; you must supply the value (if any)
85 # to use. For example, setting DEFINES to "DEBUG=1" will cause the
86 # compiler option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG"
87 # would pass "-DDEBUG" on the compiler's command line.
88 DEFINES=SID_PLAYER VERSION=\"$(version)\"
89
90 # specify special warning levels
91 # if unspecified default warnings will be used
92 # NONE = supress all warnings
93 # ALL = enable all warnings
94 WARNINGS =
95
96 # specify whether image symbols will be created
97 # so that stack crawls in the debugger are meaningful
98 # if TRUE symbols will be created
99 SYMBOLS =
100
101 # specify debug settings
102 # if TRUE will allow application to be run from a source-level
103 # debugger. Note that this will disable all optimzation.
104 DEBUGGER =
105
106 # specify additional compiler flags for all files
107 COMPILER_FLAGS =
108
109 # specify additional linker flags
110 LINKER_FLAGS =
111
112 ## include the makefile-engine
113 include /boot/develop/etc/makefile-engine
114
115 # Create links to Frodo sources
116 src/main.cpp: src/cpu_macros.h src/cpu_opcodes.h src/prefs.h src/sid.cpp
117 src/cpu_macros.h src/cpu_opcodes.h src/prefs.h src/sid.cpp:
118 ln -s ../Frodo/src/$@ $@
119
120 # Create binary distribution
121 distdir = SIDPlayer-$(version)
122 dist: $(TARGET)
123 -rm -rf $(distdir)
124 mkdir $(distdir)
125 cp COPYING README $(distdir)
126 cp $(TARGET) $(distdir)/SIDPlayer
127 cp -R "PSID Demo" $(distdir)
128 rm -rf $(distdir)/"PSID Demo/CVS"
129 mimeset -f $(distdir)
130 zip -ry $(distdir)-$(CPU).zip $(distdir)
131 rm -rf $(distdir)