1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/Makefile.in Thu Feb 16 10:22:28 2006 +0000
1.3 @@ -0,0 +1,128 @@
1.4 +# Makefile to build and install the SDL library
1.5 +
1.6 +top_builddir = .
1.7 +srcdir = @srcdir@
1.8 +objects = build
1.9 +depend = build-deps
1.10 +prefix = @prefix@
1.11 +exec_prefix = @exec_prefix@
1.12 +bindir = @bindir@
1.13 +libdir = @libdir@
1.14 +includedir = @includedir@
1.15 +datadir = @datadir@
1.16 +mandir = @mandir@
1.17 +distpath = $(srcdir)/..
1.18 +distdir = SDL-@SDL_VERSION@
1.19 +distfile = $(distdir).tar.gz
1.20 +
1.21 +SHELL = @SHELL@
1.22 +CC = @CC@
1.23 +INCLUDE = @INCLUDE@
1.24 +CFLAGS = @BUILD_CFLAGS@
1.25 +LDFLAGS = @BUILD_LIBS@
1.26 +LIBTOOL = @LIBTOOL@
1.27 +INSTALL = @INSTALL@
1.28 +NASM = @NASM@ @NASMFLAGS@
1.29 +
1.30 +TARGET = libSDL.la
1.31 +SOURCES = @SOURCES@
1.32 +OBJECTS = @OBJECTS@
1.33 +
1.34 +DIST = acinclude.m4 autogen.sh Borland.html Borland.zip BUGS build-scripts configure configure.in COPYING CREDITS CWprojects.sea.bin docs docs.html EpocBuildFiles.zip include INSTALL Makefile.dc Makefile.in MPWmake.sea.bin PBProjects.tar.gz README* sdl-config.in sdl.m4 SDL.qpg.in SDL.spec SDL.spec.in setvars.cmd src test TODO VisualCE.zip VisualC.html VisualC.zip Watcom.mif WhatsNew Xcode21.tar.gz Xcode.tar.gz XcodeUniversal.tar.gz
1.35 +
1.36 +BUILDC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $? -o $@
1.37 +BUILDCC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $? -o $@
1.38 +BUILDM = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $? -o $@
1.39 +BUILDASM = $(LIBTOOL) --tag=CC --mode=compile @ac_aux_dir@/strip_fPIC.sh $(NASM) $? -o $@
1.40 +
1.41 +LT_AGE = @LT_AGE@
1.42 +LT_CURRENT = @LT_CURRENT@
1.43 +LT_RELEASE = @LT_RELEASE@
1.44 +LT_REVISION = @LT_REVISION@
1.45 +LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
1.46 +
1.47 +all: Makefile $(objects) $(objects)/$(TARGET)
1.48 +
1.49 +Makefile: $(srcdir)/Makefile.in
1.50 + $(SHELL) config.status $@
1.51 +
1.52 +$(objects):
1.53 + $(SHELL) @ac_aux_dir@/mkinstalldirs $@
1.54 +
1.55 +.PHONY: all depend install install-bin install-hdrs install-lib install-data install-man uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man clean distclean dist
1.56 +depend:
1.57 + SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" objects="$(objects)" output="$(depend)" \
1.58 + $(SHELL) @ac_aux_dir@/makedep.sh
1.59 +
1.60 +include $(depend)
1.61 +
1.62 +$(objects)/$(TARGET): $(OBJECTS)
1.63 + $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBS) $(LT_LDFLAGS)
1.64 +
1.65 +install: install-bin install-hdrs install-lib install-data install-man
1.66 +install-bin:
1.67 + $(SHELL) @ac_aux_dir@/mkinstalldirs $(bindir)
1.68 + $(INSTALL) -m 755 $(srcdir)/sdl-config $(bindir)/sdl-config
1.69 +install-hdrs:
1.70 + $(SHELL) @ac_aux_dir@/mkinstalldirs $(includedir)/SDL
1.71 + for src in $(srcdir)/include/*.h; do \
1.72 + file=`echo $$src | sed -e 's|^.*/||'`; \
1.73 + $(INSTALL) $$src $(includedir)/SDL/$$file; \
1.74 + done
1.75 + $(INSTALL) include/SDL_config.h $(includedir)/SDL/SDL_config.h
1.76 +install-lib:
1.77 + $(SHELL) @ac_aux_dir@/mkinstalldirs $(libdir)
1.78 + $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET)
1.79 +install-data:
1.80 + $(SHELL) @ac_aux_dir@/mkinstalldirs $(datadir)/aclocal
1.81 + $(INSTALL) $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4
1.82 +install-man:
1.83 + $(SHELL) @ac_aux_dir@/mkinstalldirs $(mandir)/man3
1.84 + for src in $(srcdir)/docs/man3/*.3; do \
1.85 + file=`echo $$src | sed -e 's|^.*/||'`; \
1.86 + $(INSTALL) $$src $(mandir)/man3/$$file; \
1.87 + done
1.88 +
1.89 +uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-man
1.90 +uninstall-bin:
1.91 + rm -f $(bindir)/sdl-config
1.92 +uninstall-hdrs:
1.93 + for src in $(srcdir)/include/*.h; do \
1.94 + file=`echo $$src | sed -e 's|^.*/||'`; \
1.95 + rm -f $(includedir)/SDL/$$file; \
1.96 + done
1.97 + rm -f $(includedir)/SDL/SDL_config.h
1.98 +uninstall-lib:
1.99 + $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(TARGET)
1.100 +uninstall-data:
1.101 + rm -f $(datadir)/aclocal/sdl.m4
1.102 +uninstall-man:
1.103 + for src in $(srcdir)/docs/man3/*.3; do \
1.104 + file=`echo $$src | sed -e 's|^.*/||'`; \
1.105 + rm -f $(mandir)/man3/$$file; \
1.106 + done
1.107 +
1.108 +clean:
1.109 + rm -rf $(objects)
1.110 +
1.111 +distclean: clean
1.112 + rm -f Makefile include/SDL_config.h sdl-config
1.113 + rm -f SDL.qpg
1.114 + rm -f config.status config.cache config.log libtool $(depend)
1.115 + rm -rf $(srcdir)/autom4te*
1.116 + find $(srcdir) \
1.117 + -name '*~' -o -name '*.bak' -o -name '*.old' -o -name '*.rej' -o \
1.118 + -name '.#*' \
1.119 + -exec rm -f {} \;
1.120 + cp include/SDL_config.h.minimal include/SDL_config.h
1.121 +
1.122 +dist $(distfile):
1.123 + $(SHELL) @ac_aux_dir@/mkinstalldirs $(distdir)
1.124 + tar cf - $(DIST) | (cd $(distdir); tar xf -)
1.125 + rm -rf `find $(distdir) -name CVS`
1.126 + rm -f `find $(distdir) -name '.#*'`
1.127 + tar cvf - $(distdir) | gzip --best >$(distfile)
1.128 + rm -rf $(distdir)
1.129 +
1.130 +rpm: $(distfile)
1.131 + rpmbuild -ta $?