source: win32/configure.mingw32 @ d1d6776

Last change on this file since d1d6776 was d1d6776, checked in by Jelmer Vernooij <jelmer@…>, at 2005-11-07T16:20:37Z

Import win32 branch

  • Property mode set to 100644
File size: 968 bytes
Line 
1#!/bin/sh
2DEPSDIR=$1
3export PKG_CONFIG_LIBDIR=$DEPSDIR/lib/pkgconfig
4export PKG_CONFIG_OPTS=--define-variable=prefix=$DEPSDIR
5export PKG_CONFIG="pkg-config $PKG_CONFIG_OPTS"
6
7cat<<EOF>config.h
8/* BitlBee settings, generated by $0
9   
10   Do *NOT* use any of these defines in your code without thinking twice, most
11   of them can/will be overridden at run-time */
12#define CPU "i386"
13#define IPV6
14#define GLIB2
15#define ARCH "Windows"
16EOF
17
18cat<<EOF>Makefile.settings
19## BitlBee settings, generated by $0
20PREFIX=
21BINDIR=\$(PREFIX)/sbin/
22ETCDIR=\$(PREFIX)/etc/bitlbee/
23MANDIR=\$(PREFIX)/share/man/
24DATADIR=\$(PREFIX)/share/bitlbee/
25CONFIG=\$(PREFIX)/lib/bitlbee/
26ARCH=Windows
27CPU=i386
28OUTFILE=bitlbee.exe
29STRIP=i586-mingw32msvc-strip
30
31DESTDIR=
32LFLAGS=`$PKG_CONFIG --libs glib-2.0` -L$DEPSDIR/lib -lws2_32 -liconv
33CFLAGS=`$PKG_CONFIG --cflags glib-2.0` -I$DEPSDIR/include -I`pwd` -I`pwd`/protocols
34CC=i586-mingw32msvc-gcc
35CXX=i586-mingw32msvc-g++
36LD=i586-mingw32msvc-ld
37EOF
Note: See TracBrowser for help on using the repository browser.