summaryrefslogtreecommitdiff
path: root/graphics/asymptote/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/Makefile.in')
-rw-r--r--graphics/asymptote/Makefile.in25
1 files changed, 17 insertions, 8 deletions
diff --git a/graphics/asymptote/Makefile.in b/graphics/asymptote/Makefile.in
index 5728027c2d..4255146c89 100644
--- a/graphics/asymptote/Makefile.in
+++ b/graphics/asymptote/Makefile.in
@@ -43,7 +43,7 @@ COREFILES = $(CAMP) $(SYMBOL_FILES) env genv stm dec errormsg \
fftw++asy simpson coder coenv impdatum \
@getopt@ locate parser program application varinit fundec refaccess \
envcompleter process constructor array Delaunay predicates \
- $(PRC) glrender tr arcball algebra3 quaternion shaders
+ $(PRC) glrender tr shaders jsfile
FILES = $(COREFILES) main
@@ -69,7 +69,7 @@ ASY = ./asy -dir base -config "" -render=0
DEFS = @DEFS@ @OPTIONS@ @PTHREAD_CFLAGS@ -DFFTWPP_SINGLE_THREAD
CFLAGS = @CFLAGS@
OPTS = $(DEFS) @CPPFLAGS@ @CXXFLAGS@ $(CFLAGS)
-GLEWOPTS = $(DEFS) @CPPFLAGS@ $(CFLAGS) -D GLEW_NO_GLU
+GLEWOPTS = $(DEFS) @CPPFLAGS@ $(CFLAGS) -DGLEW_NO_GLU -DGLEW_BUILD -O1
# Options for compiling the object files for the shared library.
# gc has to be configured with the option --disable-threads in order to make a
@@ -95,6 +95,7 @@ datadir = $(DESTDIR)@datadir@
asydir = $(datadir)/asymptote
GUIdir = $(asydir)/GUI
shaderdir = $(asydir)/shaders
+webgldir = $(asydir)/webgl
docdir = $(DESTDIR)@docdir@
exampledir = $(docdir)/examples
animationsdir = $(exampledir)/animations
@@ -245,7 +246,8 @@ install-texhash: install-asy
install-asy: asy sty
${INSTALL} -d $(bindir) $(asydir) $(exampledir) $(animationsdir)
${INSTALL} -d $(GUIdir) $(GUIdir)/pyUIClass $(GUIdir)/configs \
- $(GUIdir)/res $(GUIdir)/res/icons $(shaderdir)
+ $(GUIdir)/res $(GUIdir)/res/icons $(shaderdir) \
+ $(webgldir)
-${INSTALL} -d $(latexdir)
-${INSTALL} -d $(contextdir)
${INSTALL} -p -m 755 $(NAME) $(bindir)
@@ -253,6 +255,7 @@ install-asy: asy sty
asy-keywords.el $(asydir)
${INSTALL} -p -m 755 GUI/*.py $(GUIdir)
${INSTALL} -p -m 755 base/shaders/*.glsl $(shaderdir)
+ ${INSTALL} -p -m 644 base/webgl/*.html base/webgl/*.js $(webgldir)
-${INSTALL} -p -m 644 GUI/pyUIClass/*.py $(GUIdir)/pyUIClass
${INSTALL} -p -m 644 GUI/configs/*.cson $(GUIdir)/configs
${INSTALL} -p -m 644 GUI/res/icons.qrc $(GUIdir)/res
@@ -285,9 +288,19 @@ uninstall-asy:
-cd $(exampledir) && rm -f $(EXEXTRA) $(DOCEXTRA)
-rmdir $(exampledir)
-cd $(GUIdir) && rm -f *.py
+ -cd $(GUIdir)/pyUIClass && rm -f *.py
+ -rmdir $(GUIdir)/pyUIClass
+ -cd $(GUIdir)/configs && rm -f *.cson
+ -rmdir $(GUIdir)/configs
+ -cd $(GUIdir)/res/icons && rm -f *.svg
+ -rmdir $(GUIdir)/res/icons
+ -cd $(GUIdir)/res && rm -f icons.qrc
+ -rmdir $(GUIdir)/res
-rmdir $(GUIdir)
-cd $(shaderdir) && rm -f *.glsl
-rmdir $(shaderdir)
+ -cd $(webgldir) && rm -f *.html *.js
+ -rmdir $(webgldir)
-cd $(asydir) && rm -f asy-keywords.el *.asy $(EXTRA)
-rmdir $(asydir)
-cd $(latexdir) && rm -f $(LATEXFILES)
@@ -338,11 +351,7 @@ check-all: asy FORCE
$(MAKE) -C tests all
glew.o: glew.c GL/glew.h
- if test -n "$(MSDOS)"; then \
- $(CC) -I. $(GLEWOPTS) -o glew.o -D_WIN32 -D GLEW_BUILD -c glew.c; \
- else \
- $(CC) -I. $(GLEWOPTS) -o glew.o -c glew.c; \
- fi
+ $(CC) -I. $(GLEWOPTS) -o glew.o -c glew.c
.SUFFIXES: .c .cc .o .d .ui .py
%.o: %.cc