Changeset 942 for trunk/Makefile.in
- Timestamp:
- Mar 11, 2008, 4:22:12 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r926 r942 1 1 2 bindir = @bindir@ 3 datadir = @datarootdir@ 4 exec_prefix = @exec_prefix@ 5 includedir = @includedir@ 6 libdir = @libdir@ 7 mandir = @mandir@ 2 8 prefix = @prefix@ 3 exec_prefix = @exec_prefix@4 bindir = @bindir@5 libdir = @libdir@6 includedir = @includedir@7 mandir = @mandir@8 9 9 INSTALL 10 INSTALL = @INSTALL@ 10 11 INSTALL_PROGRAM = ${INSTALL} -m 755 11 12 INSTALL_DATA = ${INSTALL} -m 644 … … 13 14 14 15 15 build_date 16 machine 17 os 18 bn 16 build_date := $(shell date +%Y%m%d) 17 machine := $(shell uname -m | sed 's/\ //') 18 os := $(shell uname -s) 19 bn := $(shell basename $(prefix)) 19 20 TarfileBasename=rappture-$(os)-$(machine)-$(build_date) 20 21 … … 23 24 install: install_rplib install_bindings install_gui install_examples 24 25 ${INSTALL_PROGRAM} gui/apps/rappture $(bindir)/rappture 25 ${INSTALL_DATA} gui/apps/rappture.env $(bindir)/rappture.env26 ${INSTALL_DATA} gui/apps/rappture.env $(bindir)/rappture.env 26 27 ${INSTALL_PROGRAM} gui/apps/driver $(bindir)/driver 27 28 ${INSTALL_PROGRAM} gui/apps/nanovis-test $(bindir)/nanovis-test … … 38 39 build_gui: 39 40 @if test "x@ENABLE_GUI@" == "xyes" ; then \ 40 make-C gui; \41 $(MAKE) -C gui; \ 41 42 fi 42 43 43 44 install_gui: 44 45 @if test "x@ENABLE_GUI@" == "xyes" ; then \ 45 make-C gui install; \46 $(MAKE) -C gui install; \ 46 47 fi 47 48 … … 50 51 mkdir include;\ 51 52 fi 52 make-C src2/core librappture2.a librappture2.so.0.053 make -C src librappture;53 $(MAKE) -C src2/core librappture2.a librappture2.so.0.0 54 $(MAKE) -C src librappture 54 55 55 56 install_rplib: 56 make -C src2/core install;57 make -C src install_rappture;57 $(MAKE) -C src2/core install 58 $(MAKE) -C src install_rappture 58 59 59 60 build_bindings: build_matlab build_octave build_python build_perl … … 68 69 build_examples: 69 70 ifneq ($(strip @F77@),) 70 make-C examples/app-fermi/fortran71 $(MAKE) -C examples/app-fermi/fortran 71 72 endif 72 73 ifneq ($(strip @CC@),) 73 make-C examples/app-fermi/cee74 make-C examples/app-fermi/wrapper/cee75 make-C examples/c-example74 $(MAKE) -C examples/app-fermi/cee 75 $(MAKE) -C examples/app-fermi/wrapper/cee 76 $(MAKE) -C examples/c-example 76 77 endif 77 78 … … 90 91 @if test "x@TCLSH@" != "x" ; then \ 91 92 cd tcl; $(bindir)/tclsh install.tcl; cd -;\ 92 make-C src/tcl install; \93 $(MAKE) -C src/tcl install; \ 93 94 fi 94 95 … … 96 97 build_matlab: 97 98 @if test "x@MEX@" != "x" ; then \ 98 make-C src/matlab; \99 $(MAKE) -C src/matlab; \ 99 100 fi 100 101 101 102 install_matlab: build_matlab 102 103 @if test "x@MEX@" != "x" ; then \ 103 make-C src/matlab install; \104 $(MAKE) -C src/matlab install; \ 104 105 fi 105 106 … … 107 108 build_octave: 108 109 @if test "x@MKOCTFILE@" != "x" ; then \ 109 make-C src/octave; \110 $(MAKE) -C src/octave; \ 110 111 fi 111 112 112 113 install_octave: build_octave 113 114 @if test "x@MKOCTFILE@" != "x" ; then \ 114 make-C src/octave install; \115 $(MAKE) -C src/octave install; \ 115 116 fi 116 117 … … 136 137 cd perl; \ 137 138 @PERL@ Makefile.PL INSTALLSITELIB=$(libdir)/perl5 INSTALLSITEARCH=$(libdir)/perl5 INSTALLSITEMAN3DIR=$(mandir)/man3; \ 138 make; LD_LIBRARY_PATH=$(libdir):../src maketest; \139 $(MAKE); LD_LIBRARY_PATH=$(libdir):../src $(MAKE) test; \ 139 140 fi 140 141 141 142 install_perl: build_perl 142 143 @if test "x@PERL@" != "x" ; then \ 143 make-C perl install; \144 $(MAKE) -C perl install; \ 144 145 fi 145 146 … … 152 153 153 154 clean: 154 make-C examples/app-fermi/cee clean155 make-C examples/app-fermi/fortran clean156 make-C examples/app-fermi/wrapper/cee clean157 make-C examples/c-example clean158 make-C gui clean155 $(MAKE) -C examples/app-fermi/cee clean 156 $(MAKE) -C examples/app-fermi/fortran clean 157 $(MAKE) -C examples/app-fermi/wrapper/cee clean 158 $(MAKE) -C examples/c-example clean 159 $(MAKE) -C gui clean 159 160 @if test -r "perl/Makefile" ; then \ 160 make-C perl clean; \161 $(MAKE) -C perl clean; \ 161 162 fi 162 163 rm -rf python/build 163 make-C src clean164 make-C src/matlab clean165 make-C src/octave clean166 make-C src/tcl clean167 make-C src2/core clean164 $(MAKE) -C src clean 165 $(MAKE) -C src/matlab clean 166 $(MAKE) -C src/octave clean 167 $(MAKE) -C src/tcl clean 168 $(MAKE) -C src2/core clean 168 169 rm -f include/* 169 170 170 171 distclean: 171 172 rm -f examples/demo.bash 172 make-C examples/app-fermi/cee distclean173 make-C examples/app-fermi/fortran distclean174 make-C examples/app-fermi/wrapper/cee distclean175 make-C examples/c-example distclean176 make-C gui distclean177 make-C perl clean; rm perl/Makefile.PL173 $(MAKE) -C examples/app-fermi/cee distclean 174 $(MAKE) -C examples/app-fermi/fortran distclean 175 $(MAKE) -C examples/app-fermi/wrapper/cee distclean 176 $(MAKE) -C examples/c-example distclean 177 $(MAKE) -C gui distclean 178 $(MAKE) -C perl clean; rm perl/Makefile.PL 178 179 rm -rf python/build python/setup.py 179 make-C src distclean180 make-C src/matlab distclean181 make-C src/octave distclean182 make-C src/tcl distclean183 make-C src2/core distclean184 make-C test distclean180 $(MAKE) -C src distclean 181 $(MAKE) -C src/matlab distclean 182 $(MAKE) -C src/octave distclean 183 $(MAKE) -C src/tcl distclean 184 $(MAKE) -C src2/core distclean 185 $(MAKE) -C test distclean 185 186 rm -f gui/apps/rappture gui/apps/simsim gui/apps/rappture.env; 186 187 rm -rf Makefile config.status config.log bin;
Note: See TracChangeset
for help on using the changeset viewer.