ossp-pkg/str/Makefile.in 1.36 -> 1.37
--- Makefile.in 2001/09/10 10:14:38 1.36
+++ Makefile.in 2001/09/13 08:47:18 1.37
@@ -176,30 +176,26 @@
@OPT="-s`$(SHTOOL) version -lc -dshort $(_VERSION_FILE)`" && $(_VERSION)
# create dependencies
-depend:
+depend: all
cp Makefile.in Makefile.in.bak \
- && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.in > Makefile.new \
- && $(CC) -MM $(CPPFLAGS) $(CFLAGS) *.c |\
- sed -e 's/^\(pth_.*\)\.o:/\1.lo:/' >> Makefile.new \
+ && sed -ne '1,/^# AUTOMATICALLY GENERATED DEPENDENCY LIST/p' Makefile.in > Makefile.new \
+ && $(CC) -MM $(CPPFLAGS) $(CFLAGS) $(SRCS) |\
+ perl -e 'my $$d = ""; $$d .= $$_ while (<STDIN>); $$_ = $$d; \
+ s|\\\n\s*| |sg; s|\b?\S*/\S*\b?||g; s|\s{2,}| |g; \
+ print $$_;' >> Makefile.new \
&& cp Makefile.new Makefile.in
&& rm -f Makefile.new
-##
-## ____ DEPENDENCY AREA ____________________________________________
-## (AUTOMATICALLY UPDATED - DO NOT EDIT)
-##
+$(OBJS): Makefile
-$(LOBJS): Makefile
-
-str_basic.o: str_basic.c str_p.h str.h str_config.h str_pcre.h
-str_format.o: str_format.c str_p.h str.h str_config.h str_pcre.h
+# AUTOMATICALLY GENERATED DEPENDENCY LIST - DO NOT EDIT
+str_pcre.o: str_pcre.c str_pcre.h str_pcre_tab.c
str_memory.o: str_memory.c str_p.h str.h str_config.h str_pcre.h
-str_parse.o: str_parse.c str_p.h str.h str_config.h str_pcre.h
-str_pcre.o: str_pcre.c str_pcre_p.h str_config.h str_pcre.h \
- str_pcre_tab.c
-str_pcre_mk.o: str_pcre_mk.c str_pcre_p.h str_config.h str_pcre.h
-str_pcre_tab.o: str_pcre_tab.c
+str_basic.o: str_basic.c str_p.h str.h str_config.h str_pcre.h
str_search.o: str_search.c str_p.h str.h str_config.h str_pcre.h
-str_test.o: str_test.c str.h str_config.h
str_token.o: str_token.c str_p.h str.h str_config.h str_pcre.h
-str_version.o: str_version.c
+str_parse.o: str_parse.c str_p.h str.h str_config.h str_pcre.h
+str_format.o: str_format.c str_p.h str.h str_config.h str_pcre.h
+str_hash.o: str_hash.c str_p.h str.h str_config.h str_pcre.h
+str_base64.o: str_base64.c str_p.h str.h str_config.h str_pcre.h
+str_version.o: str_version.c str_version.c
|
|