# The top-level input Makefile for ISMAP # require automake 1.4 AUTOMAKE_OPTIONS = 1.4 ## Any directories that you want built and installed should go here. SUBDIRS = src docs ## Any directories you want a part of the distribution should be listed ## here, as well as have a Makefile generated at the end of configure.in ## ## This only works for subdirectories one level deep. DIST_SUBDIRS = $(SUBDIRS) test # SDL runtime configuration script bin_SCRIPTS = sdlmm-config # All the rest of the distributed files EXTRA_DIST = \ sdlmm.m4 \ autogen.sh \ README.cvs \ README.BeOS \ README.MacOS \ README.QNX \ README.Win32 \ acconfig.h \ THANKS # M4 macro file for inclusion with autoconf m4datadir = $(datadir)/aclocal m4data_DATA = sdlmm.m4 # Rule to build tar-gzipped distribution package $(PACKAGE)-$(VERSION).tar.gz: dist # Rule to build RPM distribution package rpm: $(PACKAGE)-$(VERSION).tar.gz cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES rpm -ba SDLmm.spec # Run ldconfig after installing the library: install-hook: -ldconfig force: -@$(BIN_TRUE) docs: force @(cd docs; make docs) test: force @(cd test; make) # Create a CVS snapshot that people can run update -d on CVSROOT = neotron@snuffle.animearchive.org:/cvs snapshot: cvs -z3 -d $(CVSROOT) checkout SDLmm (cd SDLmm && ./autogen.sh) (file="SDLmm-snapshot-`date +%Y%m%d`";\ mv SDLmm $$file;\ tar zcvf $(HOME)/$$file.tar.gz $$file ;\ rm -rf $$file)