From 14af846df5c01a8d5e6edc35e2ba6fa2e3011b56 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Mon, 5 Jun 2000 12:03:13 +0000 Subject: Passage en Tcl_Objs et compilation conditionnelle de GPC --- Makefile.in | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'Makefile.in') 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) -- cgit v1.1