LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ufraw-Makefile-opt.diff of Package ufraw (Project home:garloff:Photography)

Index: ufraw-0.19.2/Makefile.am
===================================================================
--- ufraw-0.19.2.orig/Makefile.am
+++ ufraw-0.19.2/Makefile.am
@@ -104,9 +104,9 @@ if MAKE_CINEPAINT
 endif
 
 if MAKE_EXTRAS
   dcraw_SOURCES = dcraw.cc
-  dcraw_CPPFLAGS = $(UFRAW_CPPFLAGS)
+  dcraw_CPPFLAGS = $(UFRAW_CPPFLAGS) $(DCRAW_CPPFLAGS)
   dcraw_LDFLAGS = @CONSOLE@
   dcraw_LDADD = $(UFRAW_LDADD)
 
   nikon_curve_SOURCES = nikon_curve.c
Index: ufraw-0.19.2/Makefile.in
===================================================================
--- ufraw-0.19.2.orig/Makefile.in
+++ ufraw-0.19.2/Makefile.in
@@ -875,8 +875,15 @@ ufraw_gimp-ufraw-gimp.obj: ufraw-gimp.c
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
 
+dcraw.o: dcraw.cc
+@am__fastdepCXX_TRUE@	$(AM_V_CXX)$(CXXCOMPILE) $(dcraw_CPPFLAGS) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
+
 dcraw-dcraw.o: dcraw.cc
 @am__fastdepCXX_TRUE@	$(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(dcraw_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT dcraw-dcraw.o -MD -MP -MF $(DEPDIR)/dcraw-dcraw.Tpo -c -o dcraw-dcraw.o `test -f 'dcraw.cc' || echo '$(srcdir)/'`dcraw.cc
 @am__fastdepCXX_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/dcraw-dcraw.Tpo $(DEPDIR)/dcraw-dcraw.Po
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='dcraw.cc' object='dcraw-dcraw.o' libtool=no @AMDEPBACKSLASH@