From edef1f4b2e11d437d989e5c3199da5ed3628cf0b Mon Sep 17 00:00:00 2001 From: lecoanet Date: Mon, 13 Nov 2000 09:02:45 +0000 Subject: Ajout de libart_gpl --- Makefile.in | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 52336ae..5f4c044 100644 --- a/Makefile.in +++ b/Makefile.in @@ -74,21 +74,25 @@ PTKCFLAGS = -DPTK -I$(PTKLIB) # Define this to use the polygon clipper. GPC=libgpc.so #GPC= - +# +# Define this to use the local rendering engine. +ART=-lart_lgpl +#ART= # # Recognized compilation time flags are : # # PERFOS compile performance measurement code # PROFILE ask for profile support # OM include code for internal overlap manager -# SHM include code that need shared memory support +# SHM include code that need shared memory support (such as +# local rendering). # SHAPE include code for reshaping windows. # GPC include code for composing polygons. # ifeq ($(strip $(GPC)),'') -DFLAGS = -DOM -DSHAPE -DSHM +DFLAGS = -DOM -DSHAPE else -DFLAGS = -DOM -DSHAPE -DSHM -DGPC +DFLAGS= -DOM -DSHAPE -DSHM -DGPC endif #DFLAGS = -DTCL_MEM_DEBUG @@ -156,16 +160,16 @@ Perl/Makefile_debug: (cd Perl; perl Makefile.PL ptkzinc$(ZINC_VER).$(ZINC_MAJOR)_debug $(PERLCONFIG)) libptkzinc$(ZINC_VER).$(ZINC_MAJOR).so: ptk $(ptkobjs) libom.so $(GPC) - $(CC) $(SHARED_TK_LDFLAGS) -o $@ $(SHARED_TK_LIBS) -L. -lom $(GPC) $(ptkobjs) + $(CC) $(SHARED_TK_LDFLAGS) -o $@ $(SHARED_TK_LIBS) -L. -lom $(GPC) $(ART) $(ptkobjs) libptkzinc_debug$(ZINC_VER).$(ZINC_MAJOR).so: ptk $(ptkgobjs) libom_debug.so $(GPC) - $(CC) $(SHARED_TK_LDFLAGS) -o $@ $(SHARED_TK_LIBS) -L. -lom_debug $(GPC) $(ptkgobjs) + $(CC) $(SHARED_TK_LDFLAGS) -o $@ $(SHARED_TK_LIBS) -L. -lom_debug $(GPC) $(ART) $(ptkgobjs) -tkzinc: tkzinc$(ZINC_VER).$(ZINC_MAJOR).so $(GPC) +tkzinc: tkzinc$(ZINC_VER).$(ZINC_MAJOR).so tkzinc$(ZINC_VER).$(ZINC_MAJOR).so: tk $(tkobjs) libom.so $(GPC) - $(CC) $(SHARED_TK_LDFLAGS) -o $@ $(SHARED_TK_LIBS) -L. -ltk$(TCL_TK_VER) -ltcl$(TCL_TK_VER) -lom $(GPC) $(tkobjs) -tkzinc_debug: tkzinc_debug$(ZINC_VER).$(ZINC_MAJOR).so $(GPC) + $(CC) $(SHARED_TK_LDFLAGS) -o $@ $(SHARED_TK_LIBS) -L. -ltk$(TCL_TK_VER) -ltcl$(TCL_TK_VER) -lom $(GPC) $(ART) $(tkobjs) +tkzinc_debug: tkzinc_debug$(ZINC_VER).$(ZINC_MAJOR).so tkzinc_debug$(ZINC_VER).$(ZINC_MAJOR).so: tk $(tkgobjs) libom_debug.so $(GPC) - $(CC) $(SHARED_TK_LDFLAGS) -o $@ $(SHARED_TK_LIBS) -L. -ltk$(TCL_TK_VER) -ltcl$(TCL_TK_VER) -lom_debug $(GPC) $(tkgobjs) + $(CC) $(SHARED_TK_LDFLAGS) -o $@ $(SHARED_TK_LIBS) -L. -ltk$(TCL_TK_VER) -ltcl$(TCL_TK_VER) -lom_debug $(GPC) $(ART) $(tkgobjs) tkzinc_profile: tkzinc_profile.a libom.so $(CC) -pg -o zincwish $(SHARED_TK_LIBS) -L. -ltk$(TCL_TK_VER) -ltcl$(TCL_TK_VER) -lom tkAppInit.c tkzinc_profile.a -o zincwish tkzinc_profile.a: tk $(tkpgobjs) libom_debug.so -- cgit v1.1