Fresco/Prague/demo/Filter Makefile.in,1.2,1.3

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Prague/demo/Filter
In directory purcel:/tmp/cvs-serv13878/demo/Filter

Modified Files:
	Makefile.in 
Log Message:
get the demo Makefiles in sync with the rest of the build system

Index: Makefile.in
===================================================================
RCS file: /cvs/fresco/Fresco/Prague/demo/Filter/Makefile.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.in	17 Dec 2000 05:12:48 -0000	1.2
+++ Makefile.in	19 Feb 2003 18:46:27 -0000	1.3
@@ -1,8 +1,8 @@
 # $Id$
 #
-# This source file is a part of the Berlin Project.
-# Copyright (C) 1999, 2000 Stefan Seefeld <[email protected]> 
-# http://www.berlin-consortium.org
+# This source file is a part of the Fresco Project.
+# Copyright (C) 1999, 2000 Stefan Seefeld <[email protected]> 
+# http://www.fresco.org
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Library General Public
@@ -21,37 +21,38 @@
 
 SHELL		:= /bin/sh
 
-top_srcdir	:= @topdir@
-srcdir		:= $(top_srcdir)/src/Prague/Examples/Filter
-builddir	:= ../../../..
-cdir		:= $(builddir)/config
-hdir		:= $(top_srcdir)/include
+top_srcdir	:= @top_srcdir@
+top_builddir	:= @top_builddir@
+srcdir		:= @srcdir@
+cdir		:= $(top_builddir)/config
+docdir		:= $(top_builddir)/share/doc/Prague
 
 include $(cdir)/local.mk
 
-bdir		:= $(builddir)/src/Prague/Examples/bin
-
 CPPFLAGS	+= @CPPFLAGS@
-LDFLAGS		+= -L../../../../lib
+LDFLAGS		+= -L ../../lib
 LIBS		+= -lPrague @LIBS@
 
-TARGETS		:=   $(patsubst %, $(bdir)/%, Gzstream) #xdrstream
+TARGETS		:=   $(patsubst %, $(top_builddir)/bin/%, Gzstream) #xdrstream
+
+vpath %.hh  $(srcdir)
+vpath %.cc  $(srcdir)
 
 all:		$(TARGETS)
 
-%.o:		$(srcdir)/%.cc
+%.o:	%.cc
 		@echo compiling $(@F)
 		$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(OPTFLAGS) -c $< -o $@
 
-$(bdir)/Gzstream:	Gzstream.o
+$(top_builddir)/bin/Gzstream:	Gzstream.o
 		@echo linking $(@F)
 		$(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)
 
-$(bdir)/Xdrstream:	Xdrstream.o
+$(top_builddir)/bin/Xdrstream:	Xdrstream.o
 		@echo linking $(@F)
 		$(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)
 
-$(bdir)/Comment:	Comment.o
+$(top_builddir)/bin/Comment:	Comment.o
 		@echo linking $(@F)
 		$(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.