mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-30 17:36:16 +01:00
32bc152fb3
2006-04-07 Hans Breuer <hans@breuer.org> * glib/makefile.msc.in : added gbase64.obj and derive the static libs name from auto* variables * glib/makefile.msc.in : link user32.lib for MessageBox()
27 lines
823 B
Plaintext
27 lines
823 B
Plaintext
## Makefile for building the gthread dll with Microsoft C
|
|
## Use: nmake -f makefile.msc install
|
|
|
|
TOP = ..\..
|
|
|
|
!INCLUDE ..\build\win32\make.msc
|
|
|
|
################################################################
|
|
|
|
INCLUDES = -FImsvc_recommended_pragmas.h -I .. -I . -I ..\glib
|
|
DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GThread\"
|
|
all : \
|
|
libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
|
|
|
|
gthread_OBJECTS = \
|
|
gthread-impl.obj
|
|
|
|
gthread-impl.obj : gthread-impl.c gthread-win32.c
|
|
$(CC) -c $(CFLAGS) gthread-impl.c
|
|
|
|
gthread.res : gthread.rc
|
|
rc -DBUILDNUMBER=0 -r -fo gthread.res gthread.rc
|
|
|
|
libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll : $(gthread_OBJECTS) gthread.def gthread.res
|
|
$(CC) $(CFLAGS) -LD -Fe$@ $(gthread_OBJECTS) gthread.res \
|
|
..\glib\glib-2.0.lib $(DEPCLIBS) user32.lib $(LDFLAGS) /implib:gthread-2.0.lib /def:gthread.def
|