summaryrefslogtreecommitdiffstats
path: root/kdvi/make/common.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/common.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/common.make')
-rw-r--r--kdvi/make/common.make42
1 files changed, 42 insertions, 0 deletions
diff --git a/kdvi/make/common.make b/kdvi/make/common.make
new file mode 100644
index 00000000..9d9f822d
--- /dev/null
+++ b/kdvi/make/common.make
@@ -0,0 +1,42 @@
+# common.make -- used by all Makefiles.
+SHELL = /bin/sh
+@SET_MAKE@
+top_srcdir = @top_srcdir@
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+CC = @CC@
+# CFLAGS is used for both compilation and linking.
+CFLAGS = @CFLAGS@ $(XCFLAGS)
+
+# Do not override CPPFLAGS; change XCPPFLAGS, CFLAGS, XCFLAGS, or DEFS instead.
+CPPFLAGS = $(XCPPFLAGS) -I. -I$(srcdir) \
+ -I$(kpathsea_parent) -I$(kpathsea_srcdir_parent) \
+ $(prog_cflags) @CPPFLAGS@ $(DEFS)
+.c.o:
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
+.SUFFIXES: .c .o
+
+# Installation.
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+
+# This is used to recursively copy a fonts/ or tex/ directory to
+# $(fontdir) or $(texinputdir).
+# The first arg is `.', and the second is the target directory.
+CP_R = cp -r
+
+# This is so kpathsea will get remade automatically if you change
+# something in it and recompile from the package directory.
+kpathsea_parent = ..
+kpathsea_dir = $(kpathsea_parent)/kpathsea
+kpathsea_srcdir_parent = $(top_srcdir)/..
+kpathsea_srcdir = $(kpathsea_srcdir_parent)/kpathsea
+kpathsea = $(kpathsea_dir)/kpathsea.a
+
+##ifeq ($(CC), gcc)
+##XDEFS = -Wall -Wpointer-arith $(warn_more)
+##CFLAGS = -g $(XCFLAGS)
+##endif
+# End of common.make.