open-src/app/xmag_multivis/6726838.patch
author X gate hg captive account <xhg@xserver.us.oracle.com>
Wed, 19 Aug 2015 13:48:41 -0700
changeset 1484 bc8922b8e1d2
parent 1370 7a7a374453e5
permissions -rw-r--r--
Added tag s11u3_30 for changeset 221e9d9cc9cb

diff --git a/Makefile.am b/Makefile.am
index 6c1a81c..9ca5088 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,21 +20,16 @@
 #  PERFORMANCE OF THIS SOFTWARE.
 
 SUBDIRS = man
-bin_PROGRAMS = xmag
+bin_PROGRAMS = xmag_multivis
 
 AM_CFLAGS = $(XMAG_CFLAGS) $(CWARNFLAGS)
-xmag_LDADD = $(XMAG_LIBS)
-
-xmag_SOURCES =	\
-        CutPaste.c \
-        CutPaste.h \
-        RootWin.c \
-        RootWin.h \
-        RootWinP.h \
-        Scale.c \
-        Scale.h \
-        ScaleP.h \
-        xmag.c
+AM_CFLAGS += -DSHAPE -DALLPLANES
+xmag_multivis_LDADD = -lXext -lX11
+
+xmag_multivis_SOURCES = \
+        xmag_multivis.c \
+        multivis.c \
+        multivis.h
 
 # App default files  (*.ad)
 
diff --git a/man/Makefile.am b/man/Makefile.am
index 2b87098..cc1c8f2 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,6 +1,6 @@
 
 appmandir = $(APP_MAN_DIR)
-appman_PRE = xmag.man
+appman_PRE = xmag_multivis.man
 appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX))
 
 EXTRA_DIST = $(appman_PRE)