Mercurial > pidgin.yaz
diff src/protocols/msn/Makefile.mingw @ 3718:fd3880c03f0d
[gaim-migrate @ 3851]
global.mak introduced
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Wed, 16 Oct 2002 20:00:51 +0000 |
parents | 9682c0e022c6 |
children | a951bb590857 |
line wrap: on
line diff
--- a/src/protocols/msn/Makefile.mingw Wed Oct 16 19:57:03 2002 +0000 +++ b/src/protocols/msn/Makefile.mingw Wed Oct 16 20:00:51 2002 +0000 @@ -20,18 +20,11 @@ TARGET = libmsn -VERSION := $(shell cat $(GAIM_TOP)/VERSION) - # Compiler Options -CC = gcc - -CFLAGS = -O2 -Werror -Wall -mno-cygwin -fnative-struct +CFLAGS = -DEFINES = -DAIM_BUILDDATE=\"`date +%Y%m%d`\" \ - -DAIM_BUILDTIME=\"`date +%H%M%S`\" \ - -DVERSION=\"$(VERSION)\" \ - -DHAVE_CONFIG_H +DEFINES = # Static or Plugin... ifeq ($(TYPE),STATIC) @@ -48,6 +41,7 @@ ## INCLUDE MAKEFILES ## +include $(GAIM_TOP)/src/win32/global.mak ## ## INCLUDE PATHS @@ -126,7 +120,7 @@ $(OBJECTS) $(TARGET).base: $(OBJECTS) $(GAIM_TOP)/src/gaim.lib - gcc -mdll -o junk.tmp -Wl,--base-file,$@ $(OBJECTS) $(LIB_PATHS) $(LIBS) + $(CC) -mdll -o junk.tmp -Wl,--base-file,$@ $(OBJECTS) $(LIB_PATHS) $(LIBS) rm -rf junk.tmp $(TARGET).exp: $(TARGET).def $(TARGET).base @@ -136,7 +130,7 @@ $(TARGET).dll: $(OBJECTS) $(TARGET).exp $(GAIM_TOP)/src/gaim.lib dlltool -D $(TARGET).dll -d $(TARGET).def -l $(TARGET).lib - gcc -mdll -o $(TARGET).dll $(OBJECTS) -Wl,$(TARGET).exp $(LIB_PATHS) $(LIBS) + $(CC) -mdll -o $(TARGET).dll $(OBJECTS) -Wl,$(TARGET).exp $(LIB_PATHS) $(LIBS) rm -rf $(TARGET).exp