/[cebix]/SIDPlayer/Makefile.BeOS
ViewVC logotype

Annotation of /SIDPlayer/Makefile.BeOS

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations)
2000-09-19T13:28:05Z (17 years ago) by cebix
Branch: MAIN
moved BeOS makefile to top level

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     # Version number
8     SP_VERSION = 4.0
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.cpp src/cl_amp.cpp src/prefs.cpp src/prefs_window.cpp src/mem.cpp \
37     src/cpu.cpp src/sid.cpp
38    
39     # specify the resource files to use
40     # full path or a relative path to the resource file can be used.
41     RSRCS= SIDPlayer.rsrc
42    
43     # @<-src@
44     #%}
45    
46     # end support for Pe and Eddie
47    
48     # specify additional libraries to link against
49     # there are two acceptable forms of library specifications
50     # - if your library follows the naming pattern of:
51     # libXXX.so or libXXX.a you can simply specify XXX
52     # library: libbe.so entry: be
53     #
54     # - if your library does not follow the standard library
55     # naming scheme you need to specify the path to the library
56     # and it's name
57     # library: my_lib.a entry: my_lib.a or path/my_lib.a
58     LIBS=be media textencoding
59    
60     # specify additional paths to directories following the standard
61     # libXXX.so or libXXX.a naming scheme. You can specify full paths
62     # or paths relative to the makefile. The paths included may not
63     # be recursive, so include all of the paths where libraries can
64     # be found. Directories where source files are found are
65     # automatically included.
66     LIBPATHS=
67    
68     # additional paths to look for system headers
69     # thes use the form: #include <header>
70     # source file directories are NOT auto-included here
71     SYSTEM_INCLUDE_PATHS =
72    
73     # additional paths to look for local headers
74     # thes use the form: #include "header"
75     # source file directories are automatically included
76     LOCAL_INCLUDE_PATHS=src/clamp_includes
77    
78     # specify the level of optimization that you desire
79     # NONE, SOME, FULL
80     OPTIMIZE=FULL
81    
82     # specify any preprocessor symbols to be defined. The symbols will not
83     # have their values set automatically; you must supply the value (if any)
84     # to use. For example, setting DEFINES to "DEBUG=1" will cause the
85     # compiler option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG"
86     # would pass "-DDEBUG" on the compiler's command line.
87     DEFINES=SID_PLAYER
88    
89     # specify special warning levels
90     # if unspecified default warnings will be used
91     # NONE = supress all warnings
92     # ALL = enable all warnings
93     WARNINGS =
94    
95     # specify whether image symbols will be created
96     # so that stack crawls in the debugger are meaningful
97     # if TRUE symbols will be created
98     SYMBOLS =
99    
100     # specify debug settings
101     # if TRUE will allow application to be run from a source-level
102     # debugger. Note that this will disable all optimzation.
103     DEBUGGER =
104    
105     # specify additional compiler flags for all files
106     COMPILER_FLAGS =
107    
108     # specify additional linker flags
109     LINKER_FLAGS =
110    
111     ## include the makefile-engine
112     include /boot/develop/etc/makefile-engine
113    
114     # Create links to Frodo sources
115     src/main.cpp: src/cpu_macros.h src/cpu_opcodes.h src/prefs.h src/sid.cpp
116     src/cpu_macros.h src/cpu_opcodes.h src/prefs.h src/sid.cpp:
117     ln -s ../Frodo/src/$@ $@
118    
119     # Create binary distribution
120     DISTDIR = SIDPlayer-$(SP_VERSION)
121     ARCHIVE = SIDPlayer-$(SP_VERSION)-$(CPU).zip
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 -r $(ARCHIVE) $(DISTDIR)
131     rm -rf $(DISTDIR)

  ViewVC Help
Powered by ViewVC 1.1.26