mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
45adcf12c1
2000-07-15 Tor Lillqvist <tml@iki.fi> * Makefile.am (SUBDIRS): Include the "build" module in GLib, too, to make it more self-contained. If your CVS client doesn't automatically get it, do a cvs get build in glib. * */makefile.mingw.in: Include make.mingw from build in the glib source directory.
39 lines
935 B
Plaintext
39 lines
935 B
Plaintext
## Makefile for building the gobject 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 -DGOBJECT_COMPILATION -DG_LOG_DOMAIN=g_log_domain_gobject
|
|
|
|
BUILD_DLL = ../build-dll
|
|
|
|
all : \
|
|
gobject-$(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@,' <$< >$@
|
|
|
|
gobject_OBJECTS = \
|
|
gvalue.o \
|
|
gvaluetypes.o \
|
|
gparam.o \
|
|
gparamspecs.o \
|
|
genums.o \
|
|
gobject.o \
|
|
gtype.o
|
|
|
|
gobject-$(GLIB_VER).dll : $(gobject_OBJECTS) gobject.def
|
|
$(BUILD_DLL) gobject $(GLIB_VER) gobject.def $(gobject_OBJECTS) -L .. -lglib-$(GLIB_VER)
|