head	1.5;
access;
symbols
	rel-0-2-1:1.4
	before_adj_struct:1.3.2.3
	jack:1.3.0.2
	rel-0-1-0:1.2
	rel-0-0-0:1.1;
locks; strict;
comment	@# @;


1.5
date	2007.03.22.20.55.43;	author robertatwood;	state Exp;
branches;
next	1.4;

1.4
date	2006.04.05.21.53.36;	author robertatwood;	state Exp;
branches;
next	1.3;

1.3
date	2005.08.20.18.26.42;	author robertatwood;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2005.04.03.20.05.36;	author robertatwood;	state Exp;
branches;
next	1.1;

1.1
date	2004.04.16.11.36.56;	author robertatwood;	state Exp;
branches;
next	;

1.3.2.1
date	2005.11.24.01.23.44;	author robertatwood;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2005.12.28.01.34.16;	author robertatwood;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2006.01.04.00.06.03;	author robertatwood;	state Exp;
branches;
next	1.3.2.4;

1.3.2.4
date	2006.04.05.21.42.23;	author robertatwood;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Updated GPL text to reflect new address of Free Software foundation
Prepare to move repository to savannah.nongnu.org
@
text
@

#This file is part of the Variseq program.
#Variseq -- a variable pitch and step sample sequencer
#Copyright (C) 2004  Robert Atwood r.atwood (at) imperial (dot) ac (dot) uk
#
#This program is free software; you can redistribute it and/or
#modify it under the terms of the GNU General Public License
#as published by the Free Software Foundation; either version 2
#of the License, or (at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 
#See the file COPYING for more information
.suffixes:
.suffixes: .C .o
CXX=g++
#sometimes fltk is in here (suse)

INCFLAGS:='-I/usr/X11R6/include'

#DEPEND rule copied from gnu make manual
%.d: %.C
	set -e; $(CXX) -MM $(CXXFLAGS) ${INCFLAGS} $< \
| sed 's/\($*\)\.o[ :]*/\1.o $@@ : /g' > $@@; \
[ -s $@@ ] || rm -f $@@

%.o: %.C
	$(CXX) $(CXXFLAGS) -I/usr/X11R6/include $(INCFLAGS) -Wall  -c $<

SOURCES=replace.C player.C stretch.C notes.C pattern.C slider.C myFl.C callbacks.C samples.C

OBJECTS=$(SOURCES:.C=.o)
DEPEND=$(SOURCES:.C=.d)


LDFLAGS=-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib
LDLIBS=   -lfltk -lX11 -ldl -lc  -lpthread -lsndfile  -lsamplerate -lm $(AUDIO_OUTLIB)
default : variseq

$(OBJECTS) : Makefile

include $(DEPEND)

debug: clean vdeb
new: clean variseq

variseq: $(OBJECTS) 
	$(CXX)  $(CXXFLAGS) -Wall  -o $@@  $(OBJECTS) $(LDFLAGS) $(LDLIBS)
variseq_static: $(OBJECTS) 
	$(CXX)  $(CXXFLAGS) -Wall  -o $@@  $(OBJECTS) $(LDFLAGS) $(LDLIBS) -static

vdeb: $(SOURCES) 
	$(CXX)  -g3 $(CXXFLAGS)   -o $@@  $(SOURCES) $(LDFLAGS) $(LDLIBS) -lefence

clean:
	rm -f *.o; rm -f variseq; rm -f vdeb; rm -f core*

depclean: clean
	rm -f $(DEPEND)
@


1.4
log
@Jack version is the main branch now
@
text
@d1 20
d24 3
d30 1
a30 1
	set -e; $(CXX) -MM $(CXXFLAGS) $< \
d34 2
a35 1
.C.o: $(CXX) $(CXXFLAGS) -Wall  -c $<
d42 2
a43 1
LDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib
@


1.3
log
@Added a save/restore workspace function
Added window to display names of samples
@
text
@d13 1
a13 1
SOURCES=player.C stretch.C notes.C pattern.C slider.C myFl.C callbacks.C samples.C
d19 1
a19 1
LDLIBS=   -lfltk -lX11 -ldl -lc  -lpthread -lsndfile -lportaudio -lsamplerate -lm 
d38 1
a38 1
	rm -f *.o; rm -f variseq rm -f vdeb
@


1.3.2.1
log
@Works at least, sound comes out with JACK running!
@
text
@d19 1
a19 1
LDLIBS=   -lfltk -lX11 -ldl -lc  -lpthread -lsndfile -lportaudio -lsamplerate -lm -ljack
@


1.3.2.2
log
@Began sample-replace segment
@
text
@d13 1
a13 1
SOURCES=replace.C player.C stretch.C notes.C pattern.C slider.C myFl.C callbacks.C samples.C
@


1.3.2.3
log
@Jack input as well, and scrambling in compile-time option
@
text
@d38 1
a38 1
	rm -f *.o; rm -f variseq; rm -f vdeb; rm -f core*
@


1.3.2.4
log
@Jack or portaudio version with compile-time selection
Autoscramblizer option , input option
@
text
@d19 1
a19 1
LDLIBS=   -lfltk -lX11 -ldl -lc  -lpthread -lsndfile  -lsamplerate -lm $(AUDIO_OUTLIB)
@


1.2
log
@Changed the buffer writing so that samples extend into unused notes.
Altered file choose usage to correctly use the FLTK chooser
@
text
@d11 1
a11 2
%.o: %.C
	$(CXX) $(CXXFLAGS) -Wall  -c $<
d13 1
a13 1
SOURCES=player.C stretch.C notes.C pattern.C slider.C myFl.C callbacks.C
d30 1
a30 1
	$(CXX)  $(CXXFLAGS) -Wall  -o $@@  $(OBJECTS) $(LDFLAGS) $(LDLIBS) 
@


1.1
log
@Initial version uploaded to Sourceforge
@
text
@d11 2
a12 1
.C.o: $(CXX) $(CXXFLAGS) -Wall  -c $<
d31 3
a33 1
	$(CXX)  $(CXXFLAGS) -Wall  -o $@@  $(OBJECTS) $(LDFLAGS) $(LDLIBS)
@

