1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/Makefile.am Thu Apr 26 16:45:43 2001 +0000
1.3 @@ -0,0 +1,85 @@
1.4 +# The top-level input Makefile for SDL
1.5 +
1.6 +# require automake 1.4
1.7 +AUTOMAKE_OPTIONS = 1.4
1.8 +
1.9 +## Any directories that you want built and installed should go here.
1.10 +SUBDIRS = src include docs
1.11 +
1.12 +## Any directories you want a part of the distribution should be listed
1.13 +## here, as well as have a Makefile generated at the end of configure.in
1.14 +##
1.15 +## This only works for subdirectories one level deep.
1.16 +DIST_SUBDIRS = $(SUBDIRS) docs
1.17 +
1.18 +# SDL runtime configuration script
1.19 +bin_SCRIPTS = sdl-config
1.20 +
1.21 +# All the rest of the distributed files
1.22 +EXTRA_DIST = \
1.23 + BUGS \
1.24 + TODO \
1.25 + COPYING \
1.26 + CREDITS \
1.27 + INSTALL \
1.28 + README \
1.29 + README-SDL.txt \
1.30 + README.Win32 \
1.31 + README.WinCE \
1.32 + README.MacOS \
1.33 + README.MacOSX \
1.34 + VisualC.html \
1.35 + VisualC.zip \
1.36 + MPWmake.sea.bin \
1.37 + CWprojects.sea.bin \
1.38 + WhatsNew \
1.39 + docs.html \
1.40 + sdl.m4 \
1.41 + autogen.sh \
1.42 + strip_fPIC.sh
1.43 +
1.44 +# M4 macro file for inclusion with autoconf
1.45 +m4datadir = $(datadir)/aclocal
1.46 +m4data_DATA = sdl.m4
1.47 +
1.48 +# Rule to build tar-gzipped distribution package
1.49 +$(PACKAGE)-$(VERSION).tar.gz: dist
1.50 +
1.51 +# Rule to build RPM distribution package
1.52 +rpm: $(PACKAGE)-$(VERSION).tar.gz
1.53 + cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
1.54 + rpm -ba SDL.spec
1.55 +
1.56 +# Rule to rebuild the export lists for BeOS, MacOS and Win32.
1.57 +exports:
1.58 + (cd src/main/beos/exports; $(MAKE))
1.59 + (cd src/main/macos/exports; $(MAKE))
1.60 + (cd src/main/win32/exports; $(MAKE))
1.61 +
1.62 +# Rule to force automake to rebuild the library
1.63 +changed:
1.64 + @echo "This build target is no longer necessary"
1.65 +
1.66 +# Rule to install the libraries only - prevent rebuilding apps
1.67 +install-lib:
1.68 + cd src && $(MAKE) install-libLTLIBRARIES
1.69 +
1.70 +# Run ldconfig after installing the library:
1.71 +install-hook:
1.72 + -ldconfig
1.73 +
1.74 +# Grab the test programs for the distribution:
1.75 +dist-hook:
1.76 + if test -f test/Makefile; then (cd test; make distclean); fi
1.77 + cp -rp test $(distdir)
1.78 + rm -rf `find $(distdir) -type d -name CVS -print`
1.79 +
1.80 +# Create a CVS snapshot that people can run update -d on
1.81 +CVSROOT = :pserver:guest@cvs.lokigames.com:/cvs
1.82 +snapshot:
1.83 + cvs -d $(CVSROOT) login
1.84 + cvs -d $(CVSROOT) checkout -r devel_1_1_0 SDL
1.85 + (cd SDL && ./autogen.sh)
1.86 + mv SDL SDL-1.2
1.87 + tar zcvf $(HOME)/SDL-1.2.tar.gz SDL-1.2
1.88 + rm -rf SDL-1.2