# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. # Makefile for testing Random Number Generators. # $Platon: diplomovka/rng/src/Makefile.in,v 1.1 2002/10/24 12:05:38 rajo Exp $ PACKAGE = @PACKAGE@ VERSION = @VERSION@ # Directories {{{ top_builddir = .. srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ man3dir = $(mandir)/man3 includedir = @includedir@ includedir_platon = $(includedir)/platon oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ # }}} Directories # Targets {{{ SOURCES = $(srcdir)/main.c \ $(srcdir)/devices.c \ $(srcdir)/dev_rand.c \ $(srcdir)/dev_random.c \ $(srcdir)/dev_urandom.c \ $(srcdir)/tests.c \ $(srcdir)/test-square.c \ $(srcdir)/test-speed.c \ $(srcdir)/test-kolmogorov-smirnov.c \ $(srcdir)/test-korelation.c OBJECTS = objects/main.o \ objects/devices.o \ objects/dev_rand.o \ objects/dev_random.o \ objects/dev_urandom.o \ objects/tests.o \ objects/test-square.o \ objects/test-speed.o \ objects/test-kolmogorov-smirnov.o \ objects/test-korelation.o PROGRAM = rng-test # SunOS 4 make does not allow multiple makefiles to be specified in one ­include directive. DEP_FILES = $(top_builddir)/src/.deps/main.P \ $(top_builddir)/src/.deps/devices.P \ $(top_builddir)/src/.deps/dev_rand.P \ $(top_builddir)/src/.deps/dev_random.P \ $(top_builddir)/src/.deps/dev_urandom.P \ $(top_builddir)/src/.deps/tests.P \ $(top_builddir)/src/.deps/test-square.P \ $(top_builddir)/src/.deps/test-speed.P \ $(top_builddir)/test-kolmogorov-smirnov.P \ $(top_builddir)/test-korelation.P CONFIG_HEADER = $(top_builddir)/config.h include_HEADERS = noinst_HEADERS = main.h \ devices.h \ dev_rand.h \ dev_random.h \ dev_urandom.h \ tests.h \ test-square.h \ test-speed.h \ test-kolmogorov-smirnov.h \ test-korelation.h \ rdtsc.h CONFIG_CLEAN_FILES = Makefile SCRIPTS = HEADERS = $(include_HEADERS) $(noinst_HEADERS) $(CONFIG_HEADER) # }}} Targets all: configure-scripts makefiles $(PROGRAM) $(PROGRAM): $(OBJECTS) $(LINK) $(OBJECTS) include $(top_builddir)/Rules.make OBJECTS_MAGIC := $(shell mkdir objects > /dev/null 2>&1 || :) DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) # SunOS 4 make does not allow multiple makefiles to be specified in one ­include directive. -include $(DEP_FILES) # Section: Install {{{ install: all installdirs install-exec install-data install-symlinks uninstall: uninstall-includeHEADERS uninstall-exec uninstall-symlinks uninstall-dirs installcheck: @echo; echo; \ echo "These files was installed to: "; \ echo " $(DESTDIR)$(libdir)"; \ echo " $(DESTDIR)$(includedir)"; \ echo " $(DESTDIR)$(includedir_platon)"; \ echo " $(DESTDIR)$(mandir)/man3"; \ dashes="---------------------------------------------------------------"; \ echo "$$dashes"; \ find \ $(DESTDIR)$(libdir) \ $(DESTDIR)$(includedir) \ $(DESTDIR)$(includedir_platon) \ $(DESTDIR)$(mandir)/man3 -print ;\ echo "$$dashes"; install-data: install-includeHEADERS install-strip: $(MAKE) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: @$(mkinstalldirs) \ $(DESTDIR)$(mandir)/man3 \ $(DESTDIR)$(includedir_platon) \ $(DESTDIR)$(libdir) install-includeHEADERS: $(include_HEADERS) @$(NORMAL_INSTALL) @$(mkinstalldirs) $(DESTDIR)$(includedir_platon) @list='$(include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ echo " Installing file $(DESTDIR)$(includedir_platon)/$$p"; \ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir_platon)/$$p; \ done uninstall-includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(include_HEADERS)'; for p in $$list; do \ echo " rm -f $(DESTDIR)$(includedir)/$$p"; \ rm -f $(DESTDIR)$(includedir)/$$p; \ echo " rm -f $(DESTDIR)$(includedir_platon)/$$p"; \ rm -f $(DESTDIR)$(includedir_platon)/$$p; \ done uninstall-dirs: @$(NORMAL_UNINSTALL) -rmdir --ignore-fail-on-non-empty $(DESTDIR)$(includedir_platon) # }}} Section: Install # Section clean {{{ clean: clean-hdr clean-tags clean-generic -rm -rf *.o core *.core .deps/ objects/ -rm -f $(top_builddir)/config.h clean-tags: -rm -f TAGS ID clean-generic: mostlyclean: mostlyclean-hdr mostlyclean-tags mostlyclean-generic -rm -rf *.o core *.core mostlyclean-hdr: -rm -f $(top_builddir)/config.h mostlyclean-tags: -rm -f TAGS ID mostlyclean-generic: maintainer-clean: maintainer-clean-hdr maintainer-clean-tags \ maintainer-clean-generic distclean @echo @echo "-----------------------------------------------------------" @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." @echo "-----------------------------------------------------------" @echo maintainer-clean-generic: -rm -f $(top_builddir)/config.status $(top_srcdir)/configure -rm -f $(top_builddir)/$(PACKAGE)-*.tar.gz maintainer-clean-tags: -rm -f TAGS ID maintainer-clean-hdr: -rm -f $(top_builddir)/config.h distclean: clean -rm -f Makefile distclean-generic: distclean-hdr: cd $(top_builddir) && $(MAKE) $@ # }}} Section clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: # vim600: fdm=marker fdc=3