add pkg-config file for qfcc

This commit is contained in:
Bill Currie 2007-04-09 00:52:36 +00:00 committed by Jeff Teunissen
parent 7925e16d73
commit 3663c58efc
3 changed files with 13 additions and 3 deletions

View file

@ -2289,7 +2289,7 @@ QF_DEPS(WAV,
AC_DEFINE_UNQUOTED(PATH_SEPARATOR, '/', [Define this to your operating system's path separator character])
AC_DEFINE_UNQUOTED(CPP_NAME, "$CPP_NAME", [Define this to the command line for the C preprocessor])
AC_DEFINE_UNQUOTED(QFCC_INCLUDE_PATH, "$prefix/include/QF/ruamoko", [Define this to where qfcc should look for header files])
AC_DEFINE_UNQUOTED(QFCC_LIB_PATH, "$prefix/lib/ruamoko", [Define this to where qfcc should look for lib files])
AC_DEFINE_UNQUOTED(QFCC_LIB_PATH, "$libdir/ruamoko", [Define this to where qfcc should look for lib files])
AM_CONDITIONAL(BUILD_GL, test "$BUILD_GL" = "yes")
AM_CONDITIONAL(BUILD_SW, test "$BUILD_SW" = "yes")
@ -2393,6 +2393,7 @@ AC_OUTPUT(
ruamoko/scheme/Makefile
pkg-config/Makefile
pkg-config/qfcc.pc
pkg-config/quakeforge.pc
doc/Makefile

View file

@ -1,5 +1,5 @@
pkgdatadir=@libdir@/pkgconfig
pkgdata_DATA=quakeforge.pc
pkgdata_DATA=quakeforge.pc qfcc.pc
EXTRA_DIST=quakeforge.pc.in
EXTRA_DIST=quakeforge.pc.in qfcc.pc.in

9
pkg-config/qfcc.pc.in Normal file
View file

@ -0,0 +1,9 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@/ruamoko
includedir=@prefix@/include/QF/ruamoko
Name: qfcc
Description: Ruamoko/QuakeC compiler/linker
Version: @VERSION@
URL: http://quakeforge.net/