Mercurial > pidgin
annotate libgaim/plugins/tcl/Makefile.mingw @ 14799:e908bff64af5
[gaim-migrate @ 17564]
Revert the changes from 17036. The log-displaying signal has a GaimGtkLogViewer argument, and gaim-encryption uses it. Accessor methods would be another way to solve this, but I don't really want to risk breaking things more.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 23 Oct 2006 01:07:27 +0000 |
parents | 5d03b309b482 |
children |
rev | line source |
---|---|
14192 | 1 # |
2 # Makefile.mingw | |
3 # | |
4 # Description: Makefile for tcl plugin loader plugin. | |
5 # | |
6 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
7 GAIM_TOP := ../../.. |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
8 include $(GAIM_TOP)/libgaim/win32/global.mak |
14192 | 9 |
10 TARGET = tcl | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
11 TCL_INC_DIR := $(TCL_LIB_TOP)/include |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
12 DEFINES += -DHAVE_TK -DUSE_TCL_STUBS -DUSE_TK_STUBS |
14192 | 13 |
14 ## | |
15 ## INCLUDE PATHS | |
16 ## | |
17 INCLUDE_PATHS += -I. \ | |
18 -I$(GAIM_TOP) \ | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
19 -I$(GAIM_LIB_TOP) \ |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
20 -I$(GAIM_LIB_TOP)/win32 \ |
14192 | 21 -I$(GTK_TOP)/include \ |
22 -I$(GTK_TOP)/include/glib-2.0 \ | |
23 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
24 -I$(TCL_INC_DIR) | |
25 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
26 LIB_PATHS += -L$(GTK_TOP)/lib \ |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
27 -L$(GAIM_LIB_TOP) \ |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
28 -L$(TCL_LIB_TOP) |
14192 | 29 |
30 ## | |
31 ## SOURCES, OBJECTS | |
32 ## | |
33 C_SRC = tcl.c \ | |
34 tcl_cmd.c \ | |
35 tcl_cmds.c \ | |
36 tcl_glib.c \ | |
37 tcl_ref.c \ | |
38 tcl_signals.c | |
39 | |
40 OBJECTS = $(C_SRC:%.c=%.o) | |
41 | |
42 ## | |
43 ## LIBRARIES | |
44 ## | |
14224
ab8a105eff62
[gaim-migrate @ 16905]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14192
diff
changeset
|
45 LIBS = \ |
14192 | 46 -lglib-2.0 \ |
47 -lws2_32 \ | |
48 -lintl \ | |
49 -lgaim \ | |
50 -ltclstub84 \ | |
51 -ltkstub84 | |
52 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
53 include $(GAIM_COMMON_RULES) |
14192 | 54 |
55 ## | |
56 ## TARGET DEFINITIONS | |
57 ## | |
14576
5d03b309b482
[gaim-migrate @ 17300]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14315
diff
changeset
|
58 .PHONY: all install clean |
14192 | 59 |
60 all: $(TARGET).dll | |
61 | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
62 install: all $(GAIM_INSTALL_PLUGINS_DIR) |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
63 cp $(TARGET).dll $(GAIM_INSTALL_PLUGINS_DIR) |
14192 | 64 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
65 $(OBJECTS): $(GAIM_CONFIG_H) |
14192 | 66 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
67 $(TARGET).dll: $(GAIM_LIBGAIM_DLL).a $(OBJECTS) |
14192 | 68 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
69 | |
70 ## | |
71 ## CLEAN RULES | |
72 ## | |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
73 clean: |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
74 rm -rf $(OBJECTS) |
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
75 rm -rf $(TARGET).dll |
14192 | 76 |
14315
8793fc8f7064
[gaim-migrate @ 17008]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14224
diff
changeset
|
77 include $(GAIM_COMMON_TARGETS) |