Fresco/Babylon/src Makefile.in,1.30,1.31

Tobias Hunger <[email protected]> Wed, 07 Jan 2004 21:39:06 +0100
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Babylon/src
In directory purcel:/tmp/cvs-serv12820/Babylon/src

Modified Files:
	Makefile.in 
Log Message:
Check for iconv.


Index: Makefile.in
===================================================================
RCS file: /cvs/fresco/Fresco/Babylon/src/Makefile.in,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- Makefile.in	16 Sep 2003 03:32:08 -0000	1.30
+++ Makefile.in	7 Jan 2004 20:38:19 -0000	1.31
@@ -60,7 +60,7 @@
 
 $(TARGET):	$(OBJ)
 	@echo linking $(@F)
-	$(CXX) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
+	$(CXX) $(LDFLAGS) -o $@ $(OBJ) $(LIBS) $(ICONV_LIBS)
 
 depend: $(DEP)
 
@@ -119,11 +119,12 @@
 
 %.d:	%.cc %.hh
 	@echo generating dependencies for $(<F)
-	$(SHELL) -ec '$(CXX) $(DEPFLAGS) $(CPPFLAGS) $< | sed "s/$*\\.o[ :]*/$*\\.d $*\\.o : /g" > $@'
+	$(SHELL) -ec '$(CXX) $(DEPFLAGS) $(CPPFLAGS) $(ICONV_CPPFLAGS) $< | \
+            sed "s/$*\\.o[ :]*/$*\\.d $*\\.o : /g" > $@'
 
 %.o:	%.cc
 	@echo compiling $(@F)
-	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(ICONV_CPPFLAGS) -c $< -o $@
 
 %.hh.syn %.hh.xref:	%.hh
 	@echo parsing $(^F)