Commit d96e3964 authored by Alexandre Julliard's avatar Alexandre Julliard

make_makefiles: Explicitly list the Wine headers that should be exported.

parent d1a5011b
...@@ -183,8 +183,6 @@ include/unknwn.h ...@@ -183,8 +183,6 @@ include/unknwn.h
include/urlhist.h include/urlhist.h
include/urlmon.h include/urlmon.h
include/vmr9.h include/vmr9.h
include/wine/dcetypes.h
include/wine/epm.h
include/wine/itss.h include/wine/itss.h
include/wine/svcctl.h include/wine/svcctl.h
include/wtypes.h include/wtypes.h
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* *
*/ */
#include "wine/epm.h" #include "epm.h"
#define EPM_PROTOCOL_DNET_NSP 0x04 #define EPM_PROTOCOL_DNET_NSP 0x04
#define EPM_PROTOCOL_OSI_TP4 0x05 #define EPM_PROTOCOL_OSI_TP4 0x05
......
...@@ -69,8 +69,6 @@ IDL_H_SRCS = \ ...@@ -69,8 +69,6 @@ IDL_H_SRCS = \
urlhist.idl \ urlhist.idl \
urlmon.idl \ urlmon.idl \
vmr9.idl \ vmr9.idl \
wine/dcetypes.idl \
wine/epm.idl \
wine/itss.idl \ wine/itss.idl \
wine/svcctl.idl \ wine/svcctl.idl \
wtypes.idl \ wtypes.idl \
......
...@@ -104,30 +104,13 @@ my @ignore_srcs = ( ...@@ -104,30 +104,13 @@ my @ignore_srcs = (
[ 'IDL_S_SRCS', '\.idl', '_s.c' ], [ 'IDL_S_SRCS', '\.idl', '_s.c' ],
); );
my %private_headers = ( my %exported_wine_headers = (
"wine/irot.idl" => 1, "wine/debug.h" => 1,
"wine/list.h" => 1, "wine/exception.h" => 1,
"wine/mmsystem16.h" => 1, "wine/library.h" => 1,
"wine/mscvpdb.h" => 1, "wine/unicode.h" => 1,
"wine/port.h" => 1, "wine/itss.idl" => 1,
"wine/pthread.h" => 1, "wine/svcctl.idl" => 1,
"wine/rpcfc.h" => 1,
"wine/server.h" => 1,
"wine/server_protocol.h" => 1,
"wine/test.h" => 1,
"wine/wgl.h" => 1,
"wine/winaspi.h" => 1,
"wine/winbase16.h" => 1,
"wine/windef16.h" => 1,
"wine/wined3d_caps.h" => 1,
"wine/wined3d_gl.h" => 1,
"wine/wined3d_interface.h" => 1,
"wine/wined3d_types.h" => 1,
"wine/wingdi16.h" => 1,
"wine/winnet16.h" => 1,
"wine/winsock16.h" => 1,
"wine/winuser16.h" => 1,
"wine/wpp.h" => 1
); );
my %private_idl_headers = ( my %private_idl_headers = (
...@@ -654,7 +637,7 @@ sub update_includes() ...@@ -654,7 +637,7 @@ sub update_includes()
foreach my $incl (@includes) foreach my $incl (@includes)
{ {
if ($incl =~ /(.*)\//) { $subdirs{$1} = 1; } if ($incl =~ /(.*)\//) { $subdirs{$1} = 1; }
next if ($private_headers{$incl}); next if ($incl =~ /^wine\// && !$exported_wine_headers{$incl});
if ($incl =~ /stdole2\.idl$/) { push @tlb_srcs, $incl; } if ($incl =~ /stdole2\.idl$/) { push @tlb_srcs, $incl; }
elsif ($private_idl_headers{$incl}) { push @h_srcs, $incl; } elsif ($private_idl_headers{$incl}) { push @h_srcs, $incl; }
elsif ($incl =~ /\.h$/) { push @h_srcs, $incl; } elsif ($incl =~ /\.h$/) { push @h_srcs, $incl; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment