aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorlecoanet2000-06-05 12:03:13 +0000
committerlecoanet2000-06-05 12:03:13 +0000
commit14af846df5c01a8d5e6edc35e2ba6fa2e3011b56 (patch)
tree53cef755c62c6e918425c652b117efcf4c347287 /Makefile.in
parent010431ef74a07daf218da2ca2aa436be6b068623 (diff)
downloadtkzinc-14af846df5c01a8d5e6edc35e2ba6fa2e3011b56.zip
tkzinc-14af846df5c01a8d5e6edc35e2ba6fa2e3011b56.tar.gz
tkzinc-14af846df5c01a8d5e6edc35e2ba6fa2e3011b56.tar.bz2
tkzinc-14af846df5c01a8d5e6edc35e2ba6fa2e3011b56.tar.xz
Passage en Tcl_Objs et compilation conditionnelle de GPC
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in16
1 files changed, 12 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 39cc52c..c6dc6be 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -70,9 +70,9 @@ PTKLIB = @INSTALLARCHLIB@/Tk/pTk
SITEPERL = @SITEPERL@
PTKCFLAGS = -DPTK -I$(PTKLIB)
#
-# If the polygon clipper is used
-GPC = libgpc.so
-#GPC =
+# Define this to use the polygon clipper.
+GPC=libgpc.so
+#GPC=
#
# Recognized compilation time flags are :
@@ -83,7 +83,11 @@ GPC = libgpc.so
# SHAPE include code for reshaping windows.
# GPC include code for composing polygons.
#
-DFLAGS = -DOM -DSHAPE -DGPC
+ifeq ($(strip$(GPC)),)
+DFLAGS = -DOM -DSHAPE
+else
+DFLAGS = -DOM -DSHAPE -DGPC
+endif
#DFLAGS = -DTCL_MEM_DEBUG
#
@@ -187,7 +191,11 @@ doc/refman.html:
doc/refman.ps: doc/refman.tex
(cd doc; latex refman.tex; latex refman.tex; dvips -o refman.ps refman.dvi)
+ifeq ($(strip($GPC)),)
install: installtk installptk installom installgpc
+else
+install: installtk installptk installom
+endif
installom: libom.so
$(INSTALL_DATA) libom.so $(libdir)