ossp-pkg/l2/Makefile.in 1.21 -> 1.22
--- Makefile.in 2001/09/12 14:43:29 1.21
+++ Makefile.in 2001/09/13 08:47:17 1.22
@@ -83,6 +83,28 @@
l2_ut_sa.lo \
l2_version.lo
+# list of source files
+SRCS = \
+ l2_stream.c \
+ l2_channel.c \
+ l2_ch_fd.c \
+ l2_ch_file.c \
+ l2_ch_pipe.c \
+ l2_ch_syslog.c \
+ l2_ch_socket.c \
+ l2_ch_smtp.c \
+ l2_ch_null.c \
+ l2_ch_filter.c \
+ l2_ch_prefix.c \
+ l2_ch_buffer.c \
+ l2_ut_format.c \
+ l2_ut_param.c \
+ l2_ut_pcre.c \
+ l2_ut_level.c \
+ l2_ut_fmtcb.c \
+ l2_ut_sa.c \
+ l2_version.c
+
# file containing the official version information
_VERSION_FILE = \
l2_version.c
@@ -259,79 +281,35 @@
@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/^\(l2_.*\)\.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
-l2_ch_buffer.o: l2_ch_buffer.c l2.h l2_p.h
-l2_ch_fd.o: l2_ch_fd.c l2.h l2_p.h
-l2_ch_file.o: l2_ch_file.c l2.h l2_p.h
-l2_ch_filter.o: l2_ch_filter.c l2.h l2_p.h
-l2_ch_null.o: l2_ch_null.c l2.h l2_p.h
-l2_ch_pipe.o: l2_ch_pipe.c l2.h l2_p.h
-l2_ch_prefix.o: l2_ch_prefix.c l2.h l2_p.h
-l2_ch_socket.o: l2_ch_socket.c l2.h l2_p.h
-l2_ch_syslog.o: l2_ch_syslog.c l2.h l2_p.h
-l2_channel.o: l2_channel.c l2.h l2_p.h
-l2_stream.o: l2_stream.c l2.h l2_p.h
-l2_test.o: l2_test.c l2.h
-l2_sockmon.o: l2_sockmon.c
+# AUTOMATICALLY GENERATED DEPENDENCY LIST - DO NOT EDIT
+l2_stream.o: l2_stream.c l2.h l2_p.h l2_config.h l2_ut_pcre.h l2_ut_sa.h
+l2_channel.o: l2_channel.c l2.h l2_p.h l2_config.h l2_ut_pcre.h l2_ut_sa.h
+l2_ch_fd.o: l2_ch_fd.c l2.h
+l2_ch_file.o: l2_ch_file.c l2.h
+l2_ch_pipe.o: l2_ch_pipe.c l2.h
+l2_ch_syslog.o: l2_ch_syslog.c l2.h
+l2_ch_socket.o: l2_ch_socket.c l2.h l2_p.h l2_config.h l2_ut_pcre.h l2_ut_sa.h
+l2_ch_smtp.o: l2_ch_smtp.c l2.h l2_p.h l2_config.h l2_ut_pcre.h l2_ut_sa.h
+l2_ch_null.o: l2_ch_null.c l2.h
+l2_ch_filter.o: l2_ch_filter.c l2.h
+l2_ch_prefix.o: l2_ch_prefix.c l2.h
+l2_ch_buffer.o: l2_ch_buffer.c l2.h
+l2_ut_format.o: l2_ut_format.c l2.h l2_p.h l2_config.h l2_ut_pcre.h l2_ut_sa.h
+l2_ut_param.o: l2_ut_param.c l2.h l2_p.h l2_config.h l2_ut_pcre.h l2_ut_sa.h
+l2_ut_pcre.o: l2_ut_pcre.c l2_ut_pcre.h l2_ut_pcre_tab.c
+l2_ut_level.o: l2_ut_level.c l2.h l2_p.h l2_config.h l2_ut_pcre.h l2_ut_sa.h
+l2_ut_fmtcb.o: l2_ut_fmtcb.c l2.h
+l2_ut_sa.o: l2_ut_sa.c l2_p.h l2.h l2_config.h l2_ut_pcre.h l2_ut_sa.h
l2_version.o: l2_version.c l2_version.c
-
-l2_ch_buffer.lo: l2_ch_buffer.c l2.h l2_p.h l2_ut_pcre.h
-l2_ch_fd.lo: l2_ch_fd.c l2.h l2_p.h l2_ut_pcre.h
-l2_ch_file.lo: l2_ch_file.c l2.h l2_p.h l2_ut_pcre.h
-l2_ch_filter.lo: l2_ch_filter.c l2.h l2_p.h l2_ut_pcre.h
-l2_ch_null.lo: l2_ch_null.c l2.h l2_p.h l2_ut_pcre.h
-l2_ch_pipe.lo: l2_ch_pipe.c l2.h l2_p.h l2_ut_pcre.h
-l2_ch_prefix.lo: l2_ch_prefix.c l2.h l2_p.h l2_ut_pcre.h
-l2_ch_socket.lo: l2_ch_socket.c l2.h l2_p.h l2_ut_pcre.h
-l2_ch_syslog.lo: l2_ch_syslog.c l2.h l2_p.h l2_ut_pcre.h
-l2_channel.lo: l2_channel.c l2.h l2_p.h l2_ut_pcre.h
-l2_stream.lo: l2_stream.c l2.h l2_p.h l2_ut_pcre.h
-l2_ut_format.lo: l2_ut_format.c l2.h l2_p.h l2_ut_pcre.h
-l2_ut_param.lo: l2_ut_param.c l2.h l2_p.h l2_ut_pcre.h
-l2_ut_pcre.lo: l2_ut_pcre.c l2_ut_pcre.h l2_ut_pcre_tab.c
-l2_ut_pcre_tab.lo: l2_ut_pcre_tab.c
-l2_version.lo: l2_version.c l2_version.c
-l2_ch_buffer.lo: l2_ch_buffer.c l2.h
-l2_ch_fd.lo: l2_ch_fd.c l2.h
-l2_ch_file.lo: l2_ch_file.c l2.h
-l2_ch_filter.lo: l2_ch_filter.c l2.h
-l2_ch_null.lo: l2_ch_null.c l2.h
-l2_ch_pipe.lo: l2_ch_pipe.c l2.h
-l2_ch_prefix.lo: l2_ch_prefix.c l2.h
-l2_ch_smtp.lo: l2_ch_smtp.c l2.h l2_p.h l2_config.h l2_ut_pcre.h \
- l2_ut_sa.h
-l2_ch_socket.lo: l2_ch_socket.c l2.h l2_p.h l2_config.h l2_ut_pcre.h \
- l2_ut_sa.h
-l2_ch_syslog.lo: l2_ch_syslog.c l2.h
-l2_channel.lo: l2_channel.c l2.h l2_p.h l2_config.h l2_ut_pcre.h \
- l2_ut_sa.h
-l2_epreuve.lo: l2_epreuve.c l2.h l2_p.h l2_config.h l2_ut_pcre.h \
- l2_ut_sa.h
-l2_sockmon.lo: l2_sockmon.c
-l2_stream.lo: l2_stream.c l2.h l2_p.h l2_config.h l2_ut_pcre.h l2_ut_sa.h
-l2_test.lo: l2_test.c l2.h
-l2_ut_fmtcb.lo: l2_ut_fmtcb.c l2.h
-l2_ut_format.lo: l2_ut_format.c l2.h l2_p.h l2_config.h l2_ut_pcre.h \
- l2_ut_sa.h
-l2_ut_level.lo: l2_ut_level.c l2.h l2_p.h l2_config.h l2_ut_pcre.h \
- l2_ut_sa.h
-l2_ut_param.lo: l2_ut_param.c l2.h l2_p.h l2_config.h l2_ut_pcre.h \
- l2_ut_sa.h
-l2_ut_pcre.lo: l2_ut_pcre.c l2_ut_pcre.h l2_ut_pcre_tab.c
-l2_ut_pcre_tab.lo: l2_ut_pcre_tab.c
-l2_ut_sa.lo: l2_ut_sa.c l2_p.h l2.h l2_config.h l2_ut_pcre.h l2_ut_sa.h
-l2_version.lo: l2_version.c l2_version.c
|
|