1 ## Makefile for building the gthread dll with Microsoft C
2 ## Use: nmake -f makefile.msc install
6 !INCLUDE ..\build\win32\make.msc
8 ################################################################
10 INCLUDES = -FImsvc_recommended_pragmas.h -I .. -I . -I ..\glib
11 DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GThread\"
13 libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
18 gthread-impl.obj : gthread-impl.c gthread-win32.c
19 $(CC) -c $(CFLAGS) gthread-impl.c
21 gthread.res : gthread.rc
22 rc -DBUILDNUMBER=0 -r -fo gthread.res gthread.rc
24 libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll : $(gthread_OBJECTS) gthread.def gthread.res
25 $(CC) $(CFLAGS) -LD -Fe$@ $(gthread_OBJECTS) gthread.res \
26 ..\glib\glib-2.0.lib $(DEPCLIBS) user32.lib $(LDFLAGS) /implib:gthread-2.0.lib /def:gthread.def