Mercurial > pidgin.yaz
annotate plugins/perl/Makefile.mingw @ 5467:95e1e9ed82cc
[gaim-migrate @ 5859]
Initial import
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Wed, 21 May 2003 15:53:01 +0000 |
parents | |
children | bb7723f0b4b9 |
rev | line source |
---|---|
5467
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
1 # |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
2 # Makefile.mingw |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
3 # |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
4 # Description: Makefile for perl plugin loader plugin. |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
5 # |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
6 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
7 # |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
8 # PATHS |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
9 # |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
10 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
11 GTK_TOP := ../../../win32-dev/gtk_2_0 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
12 GAIM_TOP := ../.. |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
13 PERL_LIB_DIR := ../../../win32-dev/perl56 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
14 PERL_INCLUDE := $(PERL_LIB_DIR)/CORE |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
15 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
16 DLL_INSTALL_DIR := $(GAIM_INSTALL_DIR)/plugins |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
17 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
18 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
19 ## VARIABLE DEFINITIONS |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
20 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
21 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
22 TARGET = perl |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
23 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
24 CC = gcc.exe |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
25 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
26 VERSION := $(shell cat $(GAIM_TOP)/VERSION) |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
27 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
28 # Compiler Options |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
29 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
30 CFLAGS = -O2 -Werror -mno-cygwin -fnative-struct |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
31 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
32 DEFINES = -DVERSION=\"$(VERSION)\" |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
33 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
34 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
35 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
36 ## INCLUDE MAKEFILES |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
37 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
38 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
39 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
40 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
41 ## INCLUDE PATHS |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
42 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
43 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
44 INCLUDE_PATHS += -I. \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
45 -I$(GAIM_TOP) \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
46 -I$(GAIM_TOP)/src \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
47 -I$(GAIM_TOP)/src/win32 \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
48 -I$(GTK_TOP)/include \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
49 -I$(GTK_TOP)/include/gtk-2.0 \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
50 -I$(GTK_TOP)/include/glib-2.0 \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
51 -I$(GTK_TOP)/include/pango-1.0 \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
52 -I$(GTK_TOP)/include/atk-1.0 \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
53 -I$(GTK_TOP)/lib/glib-2.0/include \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
54 -I$(GTK_TOP)/lib/gtk-2.0/include \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
55 -I$(PERL_INCLUDE) |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
56 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
57 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
58 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
59 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
60 LIB_PATHS = -L$(GTK_TOP)/lib \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
61 -L$(GAIM_TOP)/src \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
62 -L$(PERL_LIB_DIR) |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
63 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
64 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
65 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
66 ## SOURCES, OBJECTS |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
67 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
68 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
69 C_SRC = perl.c |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
70 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
71 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
72 OBJECTS = $(C_SRC:%.c=%.o) |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
73 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
74 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
75 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
76 ## LIBRARIES |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
77 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
78 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
79 LIBS = -lgtk-win32-2.0 \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
80 -lglib-2.0 \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
81 -lgdk-win32-2.0 \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
82 -lgmodule-2.0 \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
83 -lgobject-2.0 \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
84 -lws2_32 \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
85 -lintl \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
86 -lgaim \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
87 -lperl56 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
88 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
89 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
90 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
91 ## RULES |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
92 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
93 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
94 # How to make a C file |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
95 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
96 %.o: %.c |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
97 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $< |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
98 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
99 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
100 ## TARGET DEFINITIONS |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
101 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
102 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
103 .PHONY: all clean |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
104 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
105 all: $(TARGET).dll |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
106 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
107 install: |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
108 cp $(TARGET).dll $(DLL_INSTALL_DIR) |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
109 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
110 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
111 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
112 ## BUILD Dependencies |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
113 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
114 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
115 $(GAIM_TOP)/src/gaim.lib: |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
116 $(MAKE) -C $(GAIM_TOP)/src -f Makefile.mingw gaim.lib |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
117 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
118 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
119 ## BUILD DLL |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
120 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
121 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
122 $(TARGET).def: $(OBJECTS) |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
123 dlltool --dllname $(TARGET).dll -z $(TARGET).def \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
124 $(OBJECTS) |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
125 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
126 $(TARGET).base: $(OBJECTS) $(GAIM_TOP)/src/gaim.lib |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
127 gcc -mdll -o junk.tmp -Wl,--base-file,$@ $(OBJECTS) $(LIB_PATHS) $(LIBS) |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
128 rm -rf junk.tmp |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
129 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
130 $(TARGET).exp: $(TARGET).def $(TARGET).base |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
131 dlltool --dllname $(TARGET).dll --base-file $(TARGET).base \ |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
132 --output-exp $(TARGET).exp --def $(TARGET).def |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
133 rm -rf $(TARGET).base $(TARGET).def |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
134 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
135 $(TARGET).dll: $(OBJECTS) $(TARGET).exp $(GAIM_TOP)/src/gaim.lib |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
136 gcc -mdll -o $(TARGET).dll $(OBJECTS) -Wl,$(TARGET).exp $(LIB_PATHS) $(LIBS) |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
137 rm -rf $(TARGET).exp |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
138 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
139 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
140 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
141 ## CLEAN RULES |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
142 ## |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
143 |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
144 clean: |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
145 rm -rf *.o |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
146 rm -rf $(TARGET).dll |
95e1e9ed82cc
[gaim-migrate @ 5859]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
147 rm -rf $(TARGET).def |