ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/Makefile.BeOS
(Generate patch)

Comparing SIDPlayer/Makefile.BeOS (file contents):
Revision 1.2 by cebix, 2000-09-19T15:34:09Z vs.
Revision 1.7 by cebix, 2001-05-26T12:09:56Z

# Line 4 | Line 4
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
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  
# Line 33 | Line 33 | TYPE=APP
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/prefs.cpp \
37 <  src/prefs_window.cpp src/mem.cpp src/cpu.cpp src/sid.cpp
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
42 > RSRCS=src/SIDPlayer.rsrc
43  
44   # @<-src@
45   #%}
# Line 73 | Line 74 | SYSTEM_INCLUDE_PATHS =
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
77 > LOCAL_INCLUDE_PATHS=src/clamp_includes src/soundplay_includes
78  
79   #       specify the level of optimization that you desire
80   #       NONE, SOME, FULL
# Line 84 | Line 85 | OPTIMIZE=FULL
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
88 > DEFINES=SID_PLAYER VERSION=\"$(version)\"
89  
90   #       specify special warning levels
91   #       if unspecified default warnings will be used
# Line 114 | Line 115 | include /boot/develop/etc/makefile-engin
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/$@ $@
118 >        ln -s ../../Frodo/$@ $@
119  
120   # Create binary distribution
121 < DISTDIR = SIDPlayer-$(SP_VERSION)
121 < ARCHIVE = SIDPlayer-$(SP_VERSION)-$(CPU).zip
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 -r $(ARCHIVE) $(DISTDIR)
131 <        rm -rf $(DISTDIR)
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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines