Bug #250, pkg-config support contributed by Mikael Eriksson SDL-1.3
authorSam Lantinga <slouken@libsdl.org>
Tue, 20 Jun 2006 05:50:12 +0000
branchSDL-1.3
changeset 169275f2ace8511a
parent 1691 c901fd2a42da
child 1693 504cb581ae1c
Bug #250, pkg-config support contributed by Mikael Eriksson
Makefile.in
configure.in
sdl.pc.in
     1.1 --- a/Makefile.in	Tue Jun 20 05:40:57 2006 +0000
     1.2 +++ b/Makefile.in	Tue Jun 20 05:50:12 2006 +0000
     1.3 @@ -38,7 +38,7 @@
     1.4  SDLMAIN_SOURCES = @SDLMAIN_SOURCES@
     1.5  SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@
     1.6  
     1.7 -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.minimal Makefile.in MPWmake.sea.bin README* sdl-config.in sdl.m4 SDL.qpg.in SDL.spec SDL.spec.in src test TODO VisualCE.zip VisualC.html VisualC.zip Watcom-OS2.zip Watcom-Win32.zip WhatsNew Xcode.tar.gz
     1.8 +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.minimal Makefile.in MPWmake.sea.bin README* sdl-config.in sdl.m4 sdl.pc.in SDL.qpg.in SDL.spec SDL.spec.in src test TODO VisualCE.zip VisualC.html VisualC.zip Watcom-OS2.zip Watcom-Win32.zip WhatsNew Xcode.tar.gz
     1.9  
    1.10  LT_AGE      = @LT_AGE@
    1.11  LT_CURRENT  = @LT_CURRENT@
    1.12 @@ -97,6 +97,8 @@
    1.13  install-data:
    1.14  	$(SHELL) $(auxdir)/mkinstalldirs $(datadir)/aclocal
    1.15  	$(INSTALL) -m 644 $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4
    1.16 +	$(SHELL) $(auxdir)/mkinstalldirs $(libdir)/pkgconfig
    1.17 +	$(INSTALL) -m 644 $(srcdir)/sdl.pc $(libdir)/pkgconfig
    1.18  install-man:
    1.19  	$(SHELL) $(auxdir)/mkinstalldirs $(mandir)/man3
    1.20  	for src in $(srcdir)/docs/man3/*.3; do \
     2.1 --- a/configure.in	Tue Jun 20 05:40:57 2006 +0000
     2.2 +++ b/configure.in	Tue Jun 20 05:50:12 2006 +0000
     2.3 @@ -2661,7 +2661,7 @@
     2.4  AC_SUBST(EXTRA_LDFLAGS)
     2.5  
     2.6  AC_OUTPUT([
     2.7 -    Makefile sdl-config SDL.spec SDL.qpg
     2.8 +    Makefile sdl-config SDL.spec SDL.qpg sdl.pc
     2.9  ], [
    2.10      : >build-deps
    2.11      if test x"$MAKE" = x; then MAKE=make; fi; $MAKE depend
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/sdl.pc.in	Tue Jun 20 05:50:12 2006 +0000
     3.3 @@ -0,0 +1,14 @@
     3.4 +# sdl pkg-config source file
     3.5 +
     3.6 +prefix=@prefix@
     3.7 +exec_prefix=@exec_prefix@
     3.8 +libdir=@libdir@
     3.9 +includedir=@includedir@
    3.10 +
    3.11 +Name: sdl
    3.12 +Description: Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.
    3.13 +Version: @SDL_VERSION@
    3.14 +Requires:
    3.15 +Conflicts:
    3.16 +Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@
    3.17 +Cflags: -I${includedir}/SDL @SDL_CFLAGS@