mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
cf1c65aed8
2000-12-29 Tor Lillqvist <tml@iki.fi> * glibconfig.h.win32.in: Add GLIB_SIZEOF_VOID_P and GLIB_SIZEOF_LONG. * glib.def: Update. * {.,*}/makefile.{mingw,msc}.in: Add -DG_ENABLE_DEBUG.
35 lines
951 B
Plaintext
35 lines
951 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
|
|
|
|
TOP = ../..
|
|
|
|
include ../build/win32/make.mingw
|
|
|
|
# Possibly override GLib version in build/win32/module.defs
|
|
GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
|
|
|
|
################################################################
|
|
|
|
# Nothing much configurable below
|
|
|
|
INCLUDES = -I .. -I .
|
|
DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GThread\" -DG_ENABLE_DEBUG
|
|
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)
|