mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
599be596c2
2000-09-21 Tor Lillqvist <tml@iki.fi> * makefile.mingw.in: Add gconvert.o. Use libiconv. * config.h.win32.in: Define HAVE_GETCWD. * glib.def: Add new entry points. * gthread/makefile.mingw.in: Use pthreads macros from ../build.
34 lines
874 B
Plaintext
34 lines
874 B
Plaintext
## Makefile for building the gthread DLL with gcc for mingw. The build
|
|
## uses tools running on cygwin, however.
|
|
|
|
## Use: make -f makefile.mingw
|
|
|
|
GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
|
|
|
|
TOP = ../..
|
|
|
|
include ../build/win32/make.mingw
|
|
|
|
################################################################
|
|
|
|
# Nothing much configurable below
|
|
|
|
INCLUDES = -I .. -I .
|
|
DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GThread\"
|
|
DEPCFLAGS = $(PTHREAD_CFLAGS)
|
|
|
|
BUILD_DLL = ../build-dll
|
|
|
|
all : \
|
|
gthread-$(GLIB_VER).dll
|
|
|
|
makefile.mingw: makefile.mingw.in
|
|
sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \
|
|
-e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@
|
|
|
|
gthread_OBJECTS = \
|
|
gthread-impl.o
|
|
|
|
gthread-$(GLIB_VER).dll : $(gthread_OBJECTS) gthread.def
|
|
$(BUILD_DLL) gthread $(GLIB_VER) gthread.def $(gthread_OBJECTS) -L .. -lglib-$(GLIB_VER) $(PTHREAD_LIBS)
|