diff options
author | Karl Berry <karl@freefriends.org> | 2019-08-10 16:06:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-08-10 16:06:35 +0000 |
commit | bbb53f06c6f48d4c675d250829032e09f4065a86 (patch) | |
tree | 0583c905a5d67f3e1447456048b2e479311e4e83 /Build/source/utils/asymptote/Makefile.in | |
parent | efd1dbbaa1332a9534c25024a0c295f423714851 (diff) |
asy 2.52 sources
git-svn-id: svn://tug.org/texlive/trunk@51856 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/Makefile.in')
-rw-r--r-- | Build/source/utils/asymptote/Makefile.in | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/Build/source/utils/asymptote/Makefile.in b/Build/source/utils/asymptote/Makefile.in index 0384239e55c..5728027c2de 100644 --- a/Build/source/utils/asymptote/Makefile.in +++ b/Build/source/utils/asymptote/Makefile.in @@ -69,6 +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 # 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 @@ -79,9 +80,9 @@ SHAREDOPTS = $(filter-out -DUSEGC, $(OPTS)) -fPIC -DFOR_SHARED CXX = @CXX@ -Wall CC = @CC@ -Wall MAKEDEPEND = $(OPTS) -O0 -M -DDEPEND -BISON = bison -PYRCC = pyrcc5 -PYUIC = pyuic5 +BISON ?= bison +PYRCC ?= pyrcc5 +PYUIC ?= pyuic5 LEX = @LEX@ prefix = @prefix@ @@ -112,7 +113,7 @@ endif export prefix docdir exampledir mandir infodir INSTALL MAKE DESTDIR TEXI2DVI -asy: version +asy: version glew.o if test -n "$(MSDOS)"; then \ $(CXX) $(OPTS) -o $(NAME) $(FILES:=.o) revision.o asy.o $(DOSLIBS); \ else \ @@ -252,7 +253,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 GUI/pyUIClass/*.py $(GUIdir)/pyUIClass + -${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 ${INSTALL} -p -m 644 GUI/res/icons/*.svg $(GUIdir)/res/icons @@ -336,6 +337,13 @@ check-all: asy FORCE ./wce $(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 + .SUFFIXES: .c .cc .o .d .ui .py %.o: %.cc $(CXX) $(OPTS) -o $@ -c $< |