Mercurial > pidgin
annotate plugins/Makefile.mingw @ 5738:ec032cb2f9ec
[gaim-migrate @ 6162]
This probably doesn't fix problems when we display high ascii and stuff in
the debug window, but it at least displays them now, I think.. just now it
says it's not valid UTF-8.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Wed, 04 Jun 2003 07:15:17 +0000 |
| parents | 809ef68273c8 |
| children | bb7723f0b4b9 |
| rev | line source |
|---|---|
| 3630 | 1 # |
| 2 # Makefile.mingw | |
| 3 # | |
| 4 # Description: Makefile for win32 (mingw) version of Gaim Plugins | |
| 5 # | |
| 6 | |
| 7 # | |
| 8 # PATHS | |
| 9 # | |
| 10 | |
| 11 GAIM_PLUGINS := . | |
| 12 GAIM_TOP := .. | |
| 13 GTK_TOP := ../../win32-dev/gtk_2_0 | |
| 14 OSCAR_ROOT := ../src/protocols/oscar | |
| 15 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir | |
| 16 TICKER := ./ticker | |
| 3729 | 17 TRANSPARENCY := ./win32/transparency |
|
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
18 WINPREFS := ./win32/winprefs |
|
5468
809ef68273c8
[gaim-migrate @ 5860]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4726
diff
changeset
|
19 PERL_PLUGIN_LOADER := ./perl |
| 3630 | 20 |
| 21 ## | |
| 22 ## VARIABLE DEFINITIONS | |
| 23 ## | |
| 24 | |
| 25 # Compiler Options | |
| 26 | |
|
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
27 CFLAGS = |
| 3630 | 28 |
|
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
29 DEFINES = |
| 3630 | 30 |
| 31 .SUFFIXES: | |
| 32 .SUFFIXES: .c .dll | |
| 33 | |
| 34 ## | |
| 35 ## INCLUDE MAKEFILES | |
| 36 ## | |
| 37 | |
|
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
38 include $(GAIM_TOP)/src/win32/global.mak |
| 3630 | 39 |
| 40 ## | |
| 41 ## INCLUDE PATHS | |
| 42 ## | |
| 43 | |
| 44 INCLUDE_PATHS += -I$(OSCAR_ROOT) \ | |
| 45 -I$(GTK_TOP)/include \ | |
| 46 -I$(GTK_TOP)/include/gtk-2.0 \ | |
| 47 -I$(GTK_TOP)/include/glib-2.0 \ | |
| 48 -I$(GTK_TOP)/include/pango-1.0 \ | |
| 49 -I$(GTK_TOP)/include/atk-1.0 \ | |
| 50 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
| 51 -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
| 52 -I$(GAIM_TOP) \ | |
| 53 -I$(GAIM_TOP)/src \ | |
| 54 -I$(GAIM_TOP)/src/win32 | |
| 55 | |
| 56 | |
| 57 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
| 58 -L$(GAIM_TOP)/src | |
| 59 | |
| 60 | |
| 61 ## | |
| 62 ## LIBRARIES | |
| 63 ## | |
| 64 | |
| 65 LIBS = -lgtk-win32-2.0 -lglib-2.0 -lgdk-win32-2.0 -lgobject-2.0 -lgmodule-2.0 -lintl -lws2_32 -liberty -lgaim | |
| 66 | |
| 67 ## | |
| 68 ## RULES | |
| 69 ## | |
| 70 | |
| 71 ## | |
| 72 ## TARGET DEFINITIONS | |
| 73 ## | |
| 74 | |
| 75 .PHONY: all clean | |
| 76 | |
| 77 all: plugins | |
| 78 $(MAKE) -C $(TICKER) -f Makefile.mingw | |
|
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
79 $(MAKE) -C $(WINPREFS) -f Makefile.mingw |
|
4726
0b1c01fd68f1
[gaim-migrate @ 5039]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4709
diff
changeset
|
80 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw |
|
5468
809ef68273c8
[gaim-migrate @ 5860]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4726
diff
changeset
|
81 $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw |
|
4709
57d74064445a
[gaim-migrate @ 5020]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4610
diff
changeset
|
82 |
| 3630 | 83 install: |
|
4610
758f2edc3298
[gaim-migrate @ 4899]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4498
diff
changeset
|
84 cp $(GAIM_PLUGINS)/*.dll $(GAIM_INSTALL_DIR)/plugins |
| 3630 | 85 $(MAKE) -C $(TICKER) -f Makefile.mingw install |
|
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
86 $(MAKE) -C $(WINPREFS) -f Makefile.mingw install |
|
4726
0b1c01fd68f1
[gaim-migrate @ 5039]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4709
diff
changeset
|
87 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install |
|
5468
809ef68273c8
[gaim-migrate @ 5860]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4726
diff
changeset
|
88 $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw install |
|
4709
57d74064445a
[gaim-migrate @ 5020]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4610
diff
changeset
|
89 |
| 3630 | 90 # |
| 91 # BUILD Plugin | |
| 92 # | |
| 93 | |
| 94 .c.dll: | |
| 95 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o tmp$@.o -c $< | |
| 96 dlltool -D $@ -z $@.def tmp$@.o | |
|
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
97 $(CC) -mdll -o junk.tmp -Wl,--base-file,$@.base tmp$@.o $(LIB_PATHS) $(LIBS) |
| 3630 | 98 dlltool -D $@ -b $@.base -e $@.exp -d $@.def |
|
3715
764d6f1848b2
[gaim-migrate @ 3848]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
99 $(CC) -mdll -o $@ tmp$@.o -Wl,$@.exp $(LIB_PATHS) $(LIBS) |
| 3630 | 100 rm -rf $@.base $@.def $@.exp junk.tmp |
| 101 | |
|
4726
0b1c01fd68f1
[gaim-migrate @ 5039]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4709
diff
changeset
|
102 plugins: iconaway.dll spellchk.dll autorecon.dll |
| 3630 | 103 |
| 104 | |
| 105 ## | |
| 106 ## CLEAN RULES | |
| 107 ## | |
| 108 | |
| 109 clean: | |
| 110 rm -rf *.o | |
| 111 rm -rf *.dll | |
| 112 $(MAKE) -C $(TICKER) -f Makefile.mingw clean | |
|
4401
3f09e83b569a
[gaim-migrate @ 4670]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4363
diff
changeset
|
113 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw clean |
|
4133
d3d1dac745d4
[gaim-migrate @ 4351]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4123
diff
changeset
|
114 $(MAKE) -C $(WINPREFS) -f Makefile.mingw clean |
|
5468
809ef68273c8
[gaim-migrate @ 5860]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4726
diff
changeset
|
115 $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw clean |
