Mercurial > mxe-octave
comparison src/gnuplot.mk @ 2997:4f9b72cf7ee7
allow native builds too
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 28 May 2013 17:31:59 -0400 |
parents | 5329f4891fb7 |
children | 100e618349f7 |
comparison
equal
deleted
inserted
replaced
2996:446aa596bb99 | 2997:4f9b72cf7ee7 |
---|---|
12 define $(PKG)_UPDATE | 12 define $(PKG)_UPDATE |
13 echo 'Warning: Updates are temporarily disabled for package gnuplot.' >&2; | 13 echo 'Warning: Updates are temporarily disabled for package gnuplot.' >&2; |
14 echo $(gnuplot_VERSION) | 14 echo $(gnuplot_VERSION) |
15 endef | 15 endef |
16 | 16 |
17 ifeq ($(MXE_SYSTEM),mingw) | |
17 define $(PKG)_BUILD | 18 define $(PKG)_BUILD |
18 make -C '$(1)/config/mingw' CC='$(TARGET)-gcc' CXX='$(TARGET)-g++' RC='$(TARGET)-windres' -j '$(JOBS)' TARGET=gnuplot.exe gnuplot.exe | 19 make -C '$(1)/config/mingw' CC='$(TARGET)-gcc' CXX='$(TARGET)-g++' RC='$(TARGET)-windres' -j '$(JOBS)' TARGET=gnuplot.exe gnuplot.exe |
19 make -C '$(1)/config/mingw' CC='$(TARGET)-gcc' CXX='$(TARGET)-g++' RC='$(TARGET)-windres' -j '$(JOBS)' TARGET=wgnuplot.exe wgnuplot.exe | 20 make -C '$(1)/config/mingw' CC='$(TARGET)-gcc' CXX='$(TARGET)-g++' RC='$(TARGET)-windres' -j '$(JOBS)' TARGET=wgnuplot.exe wgnuplot.exe |
20 make -C '$(1)/config/mingw' CC='$(TARGET)-gcc' CXX='$(TARGET)-g++' RC='$(TARGET)-windres' -j '$(JOBS)' wgnuplot.mnu | 21 make -C '$(1)/config/mingw' CC='$(TARGET)-gcc' CXX='$(TARGET)-g++' RC='$(TARGET)-windres' -j '$(JOBS)' wgnuplot.mnu |
21 | 22 |
28 $(INSTALL) -m755 '$(1)/config/mingw/gnuplot.exe' '$(PREFIX)/../gnuplot/bin/' | 29 $(INSTALL) -m755 '$(1)/config/mingw/gnuplot.exe' '$(PREFIX)/../gnuplot/bin/' |
29 $(INSTALL) -m755 '$(1)/config/mingw/wgnuplot.exe' '$(PREFIX)/../gnuplot/bin/' | 30 $(INSTALL) -m755 '$(1)/config/mingw/wgnuplot.exe' '$(PREFIX)/../gnuplot/bin/' |
30 $(INSTALL) -m644 '$(1)/config/mingw/wgnuplot.mnu' '$(PREFIX)/../gnuplot/bin/' | 31 $(INSTALL) -m644 '$(1)/config/mingw/wgnuplot.mnu' '$(PREFIX)/../gnuplot/bin/' |
31 | 32 |
32 endef | 33 endef |
34 else | |
35 define $(PKG)_BUILD | |
36 cd '$(1)' && ./configure --prefix '$(PREFIX)/$(TARGET)' | |
37 make -C '$(1)' -j '$(JOBS)' install | |
38 endef | |
39 endif |