diff libcruft/Makerules.in @ 6281:2298ae7ff342

[project @ 2007-02-08 04:35:19 by jwe]
author jwe
date Thu, 08 Feb 2007 04:35:20 +0000
parents 2eb0723b4fad
children 61091f4af6e4
line wrap: on
line diff
--- a/libcruft/Makerules.in	Thu Feb 08 04:03:22 2007 +0000
+++ b/libcruft/Makerules.in	Thu Feb 08 04:35:20 2007 +0000
@@ -13,18 +13,17 @@
 DLL_CDEFS = @CRUFT_DLL_DEFS@
 DLL_CXXDEFS = @CRUFT_DLL_DEFS@
 
-SOURCES = *.f
-
-DISTFILES = Makefile.in $(SOURCES) $(SPECIAL)
+CRUFT_FSRC = $(addprefix $(srcdir)/, $(FSRC))
+CRUFT_CSRC = $(addprefix $(srcdir)/, $(CSRC))
+CRUFT_CXXSRC = $(addprefix $(srcdir)/, $(CXXSRC))
 
-CRUFT_FSRC = $(wildcard $(srcdir)/*.f)
-CRUFT_CSRC = $(wildcard $(srcdir)/*.c)
-CRUFT_CXXSRC = $(wildcard $(srcdir)/*.cc)
 CRUFT_SRC = $(CRUFT_FSRC) $(CRUFT_CSRC) $(CRUFT_CXXSRC)
 CRUFT_BASE = $(basename $(notdir $(CRUFT_SRC)) )
 CRUFT_OBJ = $(addsuffix .o, $(CRUFT_BASE) )
 CRUFT_DEFS = $(patsubst %.f, %.def, $(notdir $(CRUFT_FSRC)))
 
+DISTFILES = Makefile.in $(CRUFT_SRC) $(SPECIAL)
+
 ifeq ($(SHARED_LIBS), true)
   ifdef FPICFLAG
     CRUFT_PICOBJ := $(addprefix pic/, $(CRUFT_OBJ))