Sha256: 8f90229bbd5444b960516252686c39d188d4e4e58821f99f23277588f498b7fc

Contents?: true

Size: 1.99 KB

Versions: 1

Compression:

Stored size: 1.99 KB

Contents

# ==============================================================================
#                          Unix Makefile for libgumath
# ==============================================================================


PACKAGE_TARNAME = @PACKAGE_TARNAME@
LIBSTATIC = @LIBSTATIC@
LIBNAME = @LIBNAME@
LIBSONAME = @LIBSONAME@
LIBSHARED = @LIBSHARED@

LIBRARY_PATH = ..:@CONFIGURE_LIBS_TEST@
INSTALL = @INSTALL@

prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
datarootdir = @datarootdir@
docdir = @docdir@


default: FORCE
	cd libgumath && $(MAKE)
	$(INSTALL) -m 644 libgumath/gumath.h python/gumath
	$(INSTALL) -m 644 libgumath/$(LIBSTATIC) python/gumath
	$(INSTALL) -m 755 libgumath/$(LIBSHARED) python/gumath
	cd python/gumath && ln -sf $(LIBSHARED) $(LIBSONAME) && ln -sf $(LIBSHARED) $(LIBNAME)

install: install_libs @NDT_INSTALL_DOCS@

install_libs: FORCE
	$(INSTALL) -d -m 755 $(DESTDIR)$(includedir)
	$(INSTALL) -m 644 libgumath/gumath.h $(DESTDIR)$(includedir)
	$(INSTALL) -d -m 755 $(DESTDIR)$(libdir)
	$(INSTALL) -m 644 libgumath/$(LIBSTATIC) $(DESTDIR)$(libdir)
	$(INSTALL) -m 755 libgumath/$(LIBSHARED) $(DESTDIR)$(libdir)
	cd $(DESTDIR)$(libdir) && ln -sf $(LIBSHARED) $(LIBSONAME) && ln -sf $(LIBSHARED) $(LIBNAME)

install_docs: FORCE
	$(INSTALL) -d -m 755 $(DESTDIR)$(docdir)
	cp -R doc/* $(DESTDIR)$(docdir)

clean: FORCE
	cd libgumath && if [ -f Makefile ]; then $(MAKE) clean; else exit 0; fi
	rm -rf build
	cd python/gumath && rm -f *.so $(LIBSTATIC) $(LIBSHARED) $(LIBSONAME) $(LIBNAME)
	cd python/gumath && rm -rf __pycache__
	cd tools && rm -f detect_cuda_arch

distclean: FORCE
	cd libgumath && if [ -f Makefile ]; then $(MAKE) distclean; else exit 0; fi
	rm -f config.h config.log config.status Makefile
	rm -rf build dist MANIFEST ndtypes xnd record.txt
	cd python && rm -rf ndtypes xnd *.egg-info __pycache__ ndtypes.egg-info
	cd python/gumath && rm -f *.so $(LIBSTATIC) $(LIBSHARED) $(LIBSONAME) $(LIBNAME) gumath.h
	cd python/gumath && rm -rf __pycache__

FORCE:



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gumath-0.2.0dev8 ext/ruby_gumath/gumath/Makefile.in