Put the .spec.o file first and the so libraries last on the link
[wine.git] / include / Makefile.in
blob401cedf325f1108b5067bb7332637cf3d21fc672
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = none
7 IDL_SRCS = \
8 amvideo.idl \
9 comcat.idl \
10 docobj.idl \
11 exdisp.idl \
12 oaidl.idl \
13 objidl.idl \
14 ocidl.idl \
15 oleidl.idl \
16 servprov.idl \
17 shobjidl.idl \
18 shtypes.idl \
19 strmif.idl \
20 unknwn.idl \
21 urlmon.idl \
22 wtypes.idl
24 IDL_INCLUDES = \
25 axcore.idl \
26 axextend.idl \
27 devenum.idl \
28 dyngraph.idl
30 WINDOWS_INCLUDES = \
31 accctrl.h \
32 audevcod.h \
33 aviriff.h \
34 basetsd.h \
35 cderr.h \
36 cguid.h \
37 commctrl.h \
38 commdlg.h \
39 compobj.h \
40 control.h \
41 cpl.h \
42 custcntl.h \
43 d3d.h \
44 d3d8.h \
45 d3d8caps.h \
46 d3d8types.h \
47 d3d9.h \
48 d3d9caps.h \
49 d3d9types.h \
50 d3dcaps.h \
51 d3dhal.h \
52 d3dtypes.h \
53 d3dvec.inl \
54 d3dx8core.h \
55 dbghelp.h \
56 dbt.h \
57 dde.h \
58 ddeml.h \
59 ddraw.h \
60 ddrawi.h \
61 digitalv.h \
62 dinput.h \
63 dispdib.h \
64 dlgs.h \
65 dls1.h \
66 dls2.h \
67 dmdls.h \
68 dmerror.h \
69 dmo.h \
70 dmoreg.h \
71 dmort.h \
72 dmplugin.h \
73 dmusbuff.h \
74 dmusicc.h \
75 dmusicf.h \
76 dmusici.h \
77 dmusics.h \
78 dpaddr.h \
79 dplay.h \
80 dplay8.h \
81 dplobby.h \
82 dsconf.h \
83 dsdriver.h \
84 dshow.h \
85 dsound.h \
86 dxerr8.h \
87 dxerr9.h \
88 evcode.h \
89 excpt.h \
90 fci.h \
91 fdi.h \
92 guiddef.h \
93 icm.h \
94 icmpapi.h \
95 imagehlp.h \
96 imm.h \
97 initguid.h \
98 ipexport.h \
99 iphlpapi.h \
100 ipifcons.h \
101 iprtrmib.h \
102 iptypes.h \
103 lm.h \
104 lmaccess.h \
105 lmapibuf.h \
106 lmbrowsr.h \
107 lmcons.h \
108 lmerr.h \
109 lmserver.h \
110 lmshare.h \
111 lmstats.h \
112 lmwksta.h \
113 lzexpand.h \
114 mapi.h \
115 mapicode.h \
116 mapidefs.h \
117 mciavi.h \
118 mcx.h \
119 mediaerr.h \
120 mediaobj.h \
121 minmax.h \
122 mmddk.h \
123 mmreg.h \
124 mmsystem.h \
125 msacm.h \
126 msacmdlg.h \
127 msacmdrv.h \
128 msi.h \
129 msiquery.h \
130 mssip.h \
131 mswsock.h \
132 nb30.h \
133 netspi.h \
134 nspapi.h \
135 ntddcdrm.h \
136 ntddscsi.h \
137 ntddstor.h \
138 ntsecapi.h \
139 ntstatus.h \
140 objbase.h \
141 ole2.h \
142 ole2ver.h \
143 oleauto.h \
144 olectl.h \
145 oledlg.h \
146 pktdef.h \
147 poppack.h \
148 prsht.h \
149 psapi.h \
150 pshpack1.h \
151 pshpack2.h \
152 pshpack4.h \
153 pshpack8.h \
154 ras.h \
155 regstr.h \
156 richedit.h \
157 richole.h \
158 rpc.h \
159 rpcdce.h \
160 rpcdcep.h \
161 rpcndr.h \
162 rpcnterr.h \
163 rpcproxy.h \
164 sddl.h \
165 setupapi.h \
166 shellapi.h \
167 shlguid.h \
168 shlobj.h \
169 shlwapi.h \
170 sipbase.h \
171 sql.h \
172 sqlext.h \
173 sqltypes.h \
174 sspi.h \
175 storage.h \
176 strmif.h \
177 tapi.h \
178 tchar.h \
179 tlhelp32.h \
180 tmschema.h \
181 uuids.h \
182 uxtheme.h \
183 ver.h \
184 vfw.h \
185 vfwmsgs.h \
186 winbase.h \
187 wincon.h \
188 wincrypt.h \
189 windef.h \
190 windows.h \
191 windowsx.h \
192 winerror.h \
193 wingdi.h \
194 wininet.h \
195 winioctl.h \
196 winnetwk.h \
197 winnls.h \
198 winnt.h \
199 winreg.h \
200 winres.h \
201 winresrc.h \
202 winsock.h \
203 winsock2.h \
204 winspool.h \
205 winsvc.h \
206 wintab.h \
207 wintabx.h \
208 winternl.h \
209 winuser.h \
210 winver.h \
211 wnaspi32.h \
212 wownt32.h \
213 ws2spi.h \
214 ws2tcpip.h \
215 wshisotp.h \
216 wsipx.h \
217 zmouse.h \
218 $(IDL_INCLUDES) \
219 $(IDL_SRCS) \
220 $(IDL_SRCS:.idl=.h)
222 MSVCRT_INCLUDES = \
223 msvcrt/conio.h \
224 msvcrt/crtdbg.h \
225 msvcrt/ctype.h \
226 msvcrt/direct.h \
227 msvcrt/dirent.h \
228 msvcrt/dos.h \
229 msvcrt/eh.h \
230 msvcrt/errno.h \
231 msvcrt/fcntl.h \
232 msvcrt/io.h \
233 msvcrt/limits.h \
234 msvcrt/locale.h \
235 msvcrt/malloc.h \
236 msvcrt/math.h \
237 msvcrt/mbctype.h \
238 msvcrt/mbstring.h \
239 msvcrt/process.h \
240 msvcrt/search.h \
241 msvcrt/setjmp.h \
242 msvcrt/share.h \
243 msvcrt/stddef.h \
244 msvcrt/stdio.h \
245 msvcrt/stdlib.h \
246 msvcrt/string.h \
247 msvcrt/sys/locking.h \
248 msvcrt/sys/stat.h \
249 msvcrt/sys/timeb.h \
250 msvcrt/sys/types.h \
251 msvcrt/sys/unistd.h \
252 msvcrt/sys/utime.h \
253 msvcrt/time.h \
254 msvcrt/unistd.h \
255 msvcrt/wchar.h \
256 msvcrt/wctype.h
258 WINE_INCLUDES = \
259 debug.h \
260 exception.h \
261 library.h \
262 unicode.h
264 EXTRASUBDIRS = msvcrt msvcrt/sys wine
266 @MAKE_RULES@
268 .SUFFIXES: .idl .h
270 .idl.h:
271 $(WIDL) $(IDLFLAGS) -b -h -H $@ $<
273 .PHONY: idl
275 idl: $(IDL_SRCS:.idl=.h)
277 install::
278 $(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/msvcrt $(includedir)/msvcrt/sys
279 for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/windows/$$f; done
280 for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/$$f; done
281 for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(includedir)/$$f; done
283 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
284 # anything extra the user may have put there.
285 uninstall::
286 [ -d $(includedir)/windows ] && cd $(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) || true
287 [ -d $(includedir) ] && cd $(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) || true
288 -rmdir $(includedir)/msvcrt/sys $(includedir)/msvcrt $(includedir)/windows $(includedir)
290 ### Dependencies: