[6425cc]: Makefile.am Maximize Restore History

Download this file

Makefile.am    144 lines (124 with data), 5.2 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
if ENABLE_GETTEXT
LOCALE_DIR = locale
endif
SUBDIRS = admin src lisp-utils tests doc interfaces share demo plotting $(LOCALE_DIR)
EXTRA_DIST = \
common.mk maxima.iss.in \
README.lisps README.rpms README.i18n README.external \
INSTALL.win32 INSTALL.lisp \
configure.lisp maxima-local.in xmaxima-local.in \
macosx/Makefile macosx/Readme.txt macosx/maxima.sh macosx/script \
macosx/xmaxima.sh macosx/appIcon.icns \
ChangeLog-5.9.2 ChangeLog-5.9.3 ChangeLog-5.10.0 ChangeLog-5.11.0 \
ChangeLog-5.12.0 ChangeLog-5.13.0 ChangeLog-5.14.0 ChangeLog-5.15.0 \
ChangeLog-5.16 ChangeLog-5.17 ChangeLog-5.17-special-functions \
ChangeLog-5.18 ChangeLog-5.19 ChangeLog-5.20 ChangeLog-5.21 ChangeLog-5.22 \
ChangeLog-5.23 ChangeLog-5.24 ChangeLog-5.25 ChangeLog-5.26 ChangeLog-5.27 \
ChangeLog-5.28 ChangeLog-5.29 ChangeLog-5.30
include common.mk
extradocinstall:
test -d "$(docdir)" || mkdir -p "$(docdir)"
for file in AUTHORS COPYING INSTALL README README.lisps ; \
do \
$(INSTALL_DATA) $$file "$(docdir)" ; \
done
$(distdir).tar.gz: Makefile.am
$(MAKE) dist
# Build the Maxima rpms. Optionally, use
# make rpm SUDO=sudo
# to use sudo to wrap the commands. The user must have sudo permissions
# for rpm and cp.
rpm: $(distdir).tar.gz
$(SUDO) cp $(distdir).tar.gz /usr/src/redhat/SOURCES && \
$(SUDO) rpmbuild -ba maxima.spec
# windows installer rules
if WIN32
GNUPLOTDIR = /c/programs/gnuplot
WXMAXIMADIR = /c/programs/wxMaxima
# Windows installer.
iss: extradocinstall gnuplot wxmaxima win32-lisp-runtime
# Install the gnuplot binary files
gnuplot:
mkdir -p $(prefix)/gnuplot
cp -rf $(GNUPLOTDIR)/bin/* $(prefix)/gnuplot
# Install wxMaxima
wxmaxima:
cp -rf $(WXMAXIMADIR) $(prefix)/wxMaxima
# Install files for lisp runtime support
if GCL
GCCCOPY = gcccopy
endif
# Install files for lisp runtime support
win32-lisp-runtime: $(GCCCOPY)
MINGW=/mingw
if GCC331
GCCPREFIX=/usr/local
# Old gcc/mingw/msys install
gcccopy:
test -d "$(prefix)/bin" || mkdir -p "$(prefix)/bin"
test -d "$(prefix)/include" || mkdir -p "$(prefix)/include"
test -d "$(prefix)/include/sys" || mkdir -p "$(prefix)/include/sys"
test -d "$(prefix)/lib/gcc-lib/mingw32/$(GCCVER)/include" \
|| mkdir -p "$(prefix)/lib/gcc-lib/mingw32/$(GCCVER)/include"
cp $(GCCPREFIX)/bin/gcc.exe $(prefix)/bin
cp $(MINGW)/bin/mingwm10.dll $(prefix)/bin
cp $(MINGW)/bin/tclpip84.dll $(prefix)/bin
cp $(MINGW)/include/stdio.h $(prefix)/include
cp $(MINGW)/include/stdlib.h $(prefix)/include
cp $(MINGW)/include/setjmp.h $(prefix)/include
cp $(MINGW)/include/_mingw.h $(prefix)/include
cp $(MINGW)/include/math.h $(prefix)/include
cp $(MINGW)/include/unistd.h $(prefix)/include
cp $(MINGW)/include/io.h $(prefix)/include
cp $(MINGW)/include/process.h $(prefix)/include
cp $(MINGW)/include/getopt.h $(prefix)/include
cp $(MINGW)/include/stdint.h $(prefix)/include
cp $(MINGW)/include/sys/*.h $(prefix)/include/sys
cp $(MINGW)/include/varargs.h $(prefix)/include
cp $(MINGW)/include/stddef.h $(prefix)/include
cp $(GCCPREFIX)/lib/gcc-lib/mingw32/$(GCCVER)/cc1.exe \
$(prefix)/lib/gcc-lib/mingw32/$(GCCVER)
cp $(MINGW)/bin/as.exe \
$(prefix)/lib/gcc-lib/mingw32/$(GCCVER)
cp $(GCCPREFIX)/lib/gcc-lib/mingw32/$(GCCVER)/specs \
$(prefix)/lib/gcc-lib/mingw32/$(GCCVER)
cp $(GCCPREFIX)/lib/gcc-lib/mingw32/$(GCCVER)/include/*.h \
$(prefix)/lib/gcc-lib/mingw32/$(GCCVER)/include
else # GCC331
GCCPREFIX=$(MINGW)
# New (June 1012) gcc/mingw/msys install using gcc-4.6.2
gcccopy:
test -d "$(prefix)/bin" || mkdir -p "$(prefix)/bin"
test -d "$(prefix)/include" || mkdir -p "$(prefix)/include"
test -d "$(prefix)/include/sys" || mkdir -p "$(prefix)/include/sys"
test -d "$(prefix)/lib/gcc/mingw32/$(GCCVER)/include" \
|| mkdir -p "$(prefix)/lib/gcc/mingw32/$(GCCVER)/include"
test -d "$(prefix)/libexec/gcc/mingw32/$(GCCVER)" \
|| mkdir -p "$(prefix)/libexec/gcc/mingw32/$(GCCVER)"
cp $(GCCPREFIX)/bin/gcc.exe $(prefix)/bin
cp $(MINGW)/bin/mingwm10.dll $(prefix)/bin
cp $(GCCPREFIX)/bin/libgmp-10.dll $(prefix)/bin
cp $(GCCPREFIX)/bin/libmpc-2.dll $(prefix)/bin
cp $(GCCPREFIX)/bin/libmpfr-1.dll $(prefix)/bin
cp /c/tcl/bin/tclpip85.dll $(prefix)/bin
cp $(MINGW)/include/stdio.h $(prefix)/include
cp $(MINGW)/include/stdlib.h $(prefix)/include
cp $(MINGW)/include/setjmp.h $(prefix)/include
cp $(MINGW)/include/_mingw.h $(prefix)/include
cp $(MINGW)/include/math.h $(prefix)/include
cp $(MINGW)/include/unistd.h $(prefix)/include
cp $(MINGW)/include/io.h $(prefix)/include
cp $(MINGW)/include/process.h $(prefix)/include
cp $(MINGW)/include/getopt.h $(prefix)/include
cp $(MINGW)/include/stdint.h $(prefix)/include
cp $(MINGW)/include/sys/*.h $(prefix)/include/sys
cp $(GCCPREFIX)/libexec/gcc/mingw32/$(GCCVER)/cc1.exe \
$(prefix)/libexec/gcc/mingw32/$(GCCVER)
cp $(GCCPREFIX)/libexec/gcc/mingw32/$(GCCVER)/liblto_plugin-0.dll \
$(prefix)/libexec/gcc/mingw32/$(GCCVER)
cp $(MINGW)/bin/as.exe \
$(prefix)/lib/gcc/mingw32/$(GCCVER)
cp $(GCCPREFIX)/lib/gcc/mingw32/$(GCCVER)/include/*.h \
$(prefix)/lib/gcc/mingw32/$(GCCVER)/include
endif # GCC331
endif # WIN32