mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
abc754faca
2002-01-05 Hans Breuer <hans@breuer.org> * glibconfig.h.win32.in msvc_recommended_pragmas.h (new file) : moved warning to error pragmas to their own file to not force 'good practice' programming in downstream libs and apps. Instead the new header will be used by -FImsvc_recommended_pragmas.h in gnome/cvs makefile.msc * */makefile.msc.in : use -FImsvc_recommended_pragmas.h
25 lines
915 B
Plaintext
25 lines
915 B
Plaintext
## Makefile for building the gthread dll with Microsoft C
|
|
## Use: nmake -f makefile.msc install
|
|
|
|
GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
|
|
|
|
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-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@-@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
|
|
|
|
libgthread-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@-@LT_CURRENT_MINUS_AGE@.dll : $(gthread_OBJECTS) gthread.def
|
|
$(CC) $(CFLAGS) -LD -Fe$@ $(gthread_OBJECTS) ..\glib\glib-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.lib $(DEPCLIBS) $(LDFLAGS) /implib:gthread-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@.lib /def:gthread.def
|