summaryrefslogtreecommitdiffstats
path: root/kdvi/make/rdepend.make
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit47d455dd55be855e4cc691c32f687f723d9247ee (patch)
tree52e236aaa2576bdb3840ebede26619692fed6d7d /kdvi/make/rdepend.make
downloadtdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz
tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdvi/make/rdepend.make')
-rw-r--r--kdvi/make/rdepend.make15
1 files changed, 15 insertions, 0 deletions
diff --git a/kdvi/make/rdepend.make b/kdvi/make/rdepend.make
new file mode 100644
index 00000000..26ddeeb8
--- /dev/null
+++ b/kdvi/make/rdepend.make
@@ -0,0 +1,15 @@
+# rdepend.make -- rules for remaking the dependencies.
+# Have to use -M, not -MM, since we use <kpathsea/...> instead of
+# "kpathsea/..." in the sources. But that means we have to remove the
+# directory prefixes and all the system include files.
+# And <kpathsea/paths.h> is generated, not part of the distribution.
+depend depend.make:: c-auto.h $(top_srcdir)/../make/rdepend.make
+ $(CC) -M $(CPPFLAGS) *.c \
+ | sed -e 's,\.\./kpathsea/,$$(kpathsea_srcdir)/,g' \
+ -e 's,$$(kpathsea_srcdir)/paths.h,paths.h,g' \
+ -e 's,/usr[^ ]* ,,g' \
+ -e 's,/usr[^ ]*$$,,g' \
+ -e 's,dvi2xx.o,dvilj.o dvilj2p.o dvilj4.o dvilj4l.o,' \
+ | grep -v '^ *\\$$' \
+ >depend.make
+# End of rdepend.make.