Commit 7d659398 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Simplify the variable declarations in the makefile to allow make_makefiles to parse it.

parent 747ab4bf
...@@ -640,7 +640,57 @@ dlls/ws2_32/version.res ...@@ -640,7 +640,57 @@ dlls/ws2_32/version.res
dlls/wsock32/libwsock32.def dlls/wsock32/libwsock32.def
dlls/wsock32/version.res dlls/wsock32/version.res
dlls/wtsapi32/libwtsapi32.def dlls/wtsapi32/libwtsapi32.def
include/activscp.h
include/amstream.h
include/amvideo.h
include/austream.h
include/comcat.h
include/config.h
include/control.h
include/ddstream.h
include/dispex.h
include/docobj.h
include/downloadmgr.h
include/exdisp.h
include/hlink.h
include/htiframe.h
include/iads.h
include/indexsrv.h
include/mediaobj.h
include/mimeinfo.h
include/mlang.h
include/mmstream.h
include/mshtmhst.h
include/mshtml.h
include/msxml.h
include/msxml2.h
include/oaidl.h
include/objidl.h
include/objsafe.h
include/ocidl.h
include/ocmm.h
include/oledb.h
include/oleidl.h
include/optary.h
include/propidl.h
include/pstore.h
include/richole.h
include/sensevts.h
include/servprov.h
include/shldisp.h
include/shobjidl.h
include/shtypes.h
include/stamp-h
include/stdole2.tlb include/stdole2.tlb
include/strmif.h
include/tom.h
include/unknwn.h
include/urlhist.h
include/urlmon.h
include/wine/itss.h
include/wtypes.h
include/xmldom.h
include/xmldso.h
libs/wpp/ppl.yy.c libs/wpp/ppl.yy.c
libs/wpp/ppy.tab.c libs/wpp/ppy.tab.c
libs/wpp/ppy.tab.h libs/wpp/ppy.tab.h
......
/activscp.h
/amstream.h
/amvideo.h
/austream.h
/comcat.h
/config.h
/control.h
/ddstream.h
/dispex.h
/docobj.h
/downloadmgr.h
/exdisp.h
/hlink.h
/htiframe.h
/iads.h
/indexsrv.h
/mediaobj.h
/mimeinfo.h
/mlang.h
/mmstream.h
/mshtmhst.h
/mshtml.h
/msxml.h
/msxml2.h
/oaidl.h
/objidl.h
/objsafe.h
/ocidl.h
/ocmm.h
/oledb.h
/oleidl.h
/optary.h
/propidl.h
/pstore.h
/richole.h
/sensevts.h
/servprov.h
/shldisp.h
/shobjidl.h
/shtypes.h
/stamp-h
/strmif.h
/tom.h
/unknwn.h
/urlhist.h
/urlmon.h
/wtypes.h
/xmldom.h
/xmldso.h
wine/itss.h
...@@ -4,7 +4,7 @@ SRCDIR = @srcdir@ ...@@ -4,7 +4,7 @@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = none MODULE = none
WINDOWS_IDL_SRCS = \ IDL_H_SRCS = \
activscp.idl \ activscp.idl \
amstream.idl \ amstream.idl \
amvideo.idl \ amvideo.idl \
...@@ -49,6 +49,7 @@ WINDOWS_IDL_SRCS = \ ...@@ -49,6 +49,7 @@ WINDOWS_IDL_SRCS = \
unknwn.idl \ unknwn.idl \
urlhist.idl \ urlhist.idl \
urlmon.idl \ urlmon.idl \
wine/itss.idl \
wtypes.idl \ wtypes.idl \
xmldom.idl \ xmldom.idl \
xmldso.idl xmldso.idl
...@@ -56,19 +57,9 @@ WINDOWS_IDL_SRCS = \ ...@@ -56,19 +57,9 @@ WINDOWS_IDL_SRCS = \
IDL_TLB_SRCS = \ IDL_TLB_SRCS = \
stdole2.idl stdole2.idl
WINDOWS_IDL_INCLUDES = \ SRCDIR_INCLUDES = \
$(IDL_TLB_SRCS) \ $(IDL_TLB_SRCS) \
$(WINDOWS_IDL_SRCS) \ $(IDL_H_SRCS) \
axcore.idl \
axextend.idl \
dbinit.idl \
dbprop.idl \
dbs.idl \
devenum.idl \
dyngraph.idl
WINDOWS_INCLUDES = \
$(WINDOWS_IDL_INCLUDES) \
accctrl.h \ accctrl.h \
aclapi.h \ aclapi.h \
adshlp.h \ adshlp.h \
...@@ -76,6 +67,8 @@ WINDOWS_INCLUDES = \ ...@@ -76,6 +67,8 @@ WINDOWS_INCLUDES = \
appmgmt.h \ appmgmt.h \
audevcod.h \ audevcod.h \
aviriff.h \ aviriff.h \
axcore.idl \
axextend.idl \
basetsd.h \ basetsd.h \
basetyps.h \ basetyps.h \
cderr.h \ cderr.h \
...@@ -103,6 +96,9 @@ WINDOWS_INCLUDES = \ ...@@ -103,6 +96,9 @@ WINDOWS_INCLUDES = \
d3dvec.inl \ d3dvec.inl \
d3dx8core.h \ d3dx8core.h \
dbghelp.h \ dbghelp.h \
dbinit.idl \
dbprop.idl \
dbs.idl \
dbt.h \ dbt.h \
dciddi.h \ dciddi.h \
dciman.h \ dciman.h \
...@@ -116,6 +112,7 @@ WINDOWS_INCLUDES = \ ...@@ -116,6 +112,7 @@ WINDOWS_INCLUDES = \
ddk/winsplp.h \ ddk/winsplp.h \
ddraw.h \ ddraw.h \
ddrawi.h \ ddrawi.h \
devenum.idl \
devguid.h \ devguid.h \
digitalv.h \ digitalv.h \
dinput.h \ dinput.h \
...@@ -150,6 +147,7 @@ WINDOWS_INCLUDES = \ ...@@ -150,6 +147,7 @@ WINDOWS_INCLUDES = \
dxerr8.h \ dxerr8.h \
dxerr9.h \ dxerr9.h \
dxfile.h \ dxfile.h \
dyngraph.idl \
errors.h \ errors.h \
evcode.h \ evcode.h \
evntrace.h \ evntrace.h \
...@@ -213,6 +211,42 @@ WINDOWS_INCLUDES = \ ...@@ -213,6 +211,42 @@ WINDOWS_INCLUDES = \
msidefs.h \ msidefs.h \
msiquery.h \ msiquery.h \
mssip.h \ mssip.h \
msvcrt/conio.h \
msvcrt/crtdbg.h \
msvcrt/ctype.h \
msvcrt/direct.h \
msvcrt/dirent.h \
msvcrt/dos.h \
msvcrt/eh.h \
msvcrt/errno.h \
msvcrt/fcntl.h \
msvcrt/float.h \
msvcrt/io.h \
msvcrt/limits.h \
msvcrt/locale.h \
msvcrt/malloc.h \
msvcrt/math.h \
msvcrt/mbctype.h \
msvcrt/mbstring.h \
msvcrt/process.h \
msvcrt/search.h \
msvcrt/setjmp.h \
msvcrt/share.h \
msvcrt/signal.h \
msvcrt/stddef.h \
msvcrt/stdio.h \
msvcrt/stdlib.h \
msvcrt/string.h \
msvcrt/sys/locking.h \
msvcrt/sys/stat.h \
msvcrt/sys/timeb.h \
msvcrt/sys/types.h \
msvcrt/sys/unistd.h \
msvcrt/sys/utime.h \
msvcrt/time.h \
msvcrt/unistd.h \
msvcrt/wchar.h \
msvcrt/wctype.h \
mswsock.h \ mswsock.h \
msxml2did.h \ msxml2did.h \
msxmldid.h \ msxmldid.h \
...@@ -298,6 +332,10 @@ WINDOWS_INCLUDES = \ ...@@ -298,6 +332,10 @@ WINDOWS_INCLUDES = \
windns.h \ windns.h \
windows.h \ windows.h \
windowsx.h \ windowsx.h \
wine/debug.h \
wine/exception.h \
wine/library.h \
wine/unicode.h \
winerror.h \ winerror.h \
wingdi.h \ wingdi.h \
wininet.h \ wininet.h \
...@@ -334,56 +372,6 @@ WINDOWS_INCLUDES = \ ...@@ -334,56 +372,6 @@ WINDOWS_INCLUDES = \
xmldsodid.h \ xmldsodid.h \
zmouse.h zmouse.h
MSVCRT_INCLUDES = \
msvcrt/conio.h \
msvcrt/crtdbg.h \
msvcrt/ctype.h \
msvcrt/direct.h \
msvcrt/dirent.h \
msvcrt/dos.h \
msvcrt/eh.h \
msvcrt/errno.h \
msvcrt/fcntl.h \
msvcrt/float.h \
msvcrt/io.h \
msvcrt/limits.h \
msvcrt/locale.h \
msvcrt/malloc.h \
msvcrt/math.h \
msvcrt/mbctype.h \
msvcrt/mbstring.h \
msvcrt/process.h \
msvcrt/search.h \
msvcrt/setjmp.h \
msvcrt/share.h \
msvcrt/signal.h \
msvcrt/stddef.h \
msvcrt/stdio.h \
msvcrt/stdlib.h \
msvcrt/string.h \
msvcrt/sys/locking.h \
msvcrt/sys/stat.h \
msvcrt/sys/timeb.h \
msvcrt/sys/types.h \
msvcrt/sys/unistd.h \
msvcrt/sys/utime.h \
msvcrt/time.h \
msvcrt/unistd.h \
msvcrt/wchar.h \
msvcrt/wctype.h
WINE_IDL_SRCS = \
itss.idl
WINE_INCLUDES = \
$(WINE_IDL_SRCS) \
debug.h \
exception.h \
library.h \
unicode.h
IDL_H_SRCS = $(WINDOWS_IDL_SRCS) $(WINE_IDL_SRCS:%=wine/%)
EXTRASUBDIRS = ddk msvcrt msvcrt/sys wine EXTRASUBDIRS = ddk msvcrt msvcrt/sys wine
INSTALLDIRS = \ INSTALLDIRS = \
...@@ -395,25 +383,30 @@ INSTALLDIRS = \ ...@@ -395,25 +383,30 @@ INSTALLDIRS = \
@MAKE_RULES@ @MAKE_RULES@
WINDOWS_IDL_HEADERS = $(WINDOWS_IDL_SRCS:.idl=.h) OBJDIR_INCLUDES = $(IDL_H_SRCS:.idl=.h) $(IDL_TLB_SRCS:.idl=.tlb)
WINE_IDL_HEADERS = $(WINE_IDL_SRCS:.idl=.h)
IDL_HEADERS = $(IDL_H_SRCS:.idl=.h)
IDL_TLBS = $(IDL_TLB_SRCS:.idl=.tlb)
all: $(IDL_HEADERS) $(IDL_TLBS) all: $(OBJDIR_INCLUDES)
install:: $(IDL_HEADERS) $(IDL_TLBS) $(INSTALLDIRS) install:: $(OBJDIR_INCLUDES) $(INSTALLDIRS)
for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(DESTDIR)$(includedir)/windows/$$f; done for f in $(SRCDIR_INCLUDES); do case $$f in \
for f in $(WINDOWS_IDL_HEADERS) $(IDL_TLBS); do $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/windows/$$f; done wine/*) $(INSTALL_DATA) $(SRCDIR)/$$f $(DESTDIR)$(includedir)/`expr $$f : 'wine/\(.*\)'` ;; \
for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(DESTDIR)$(includedir)/$$f; done msvcrt/*) $(INSTALL_DATA) $(SRCDIR)/$$f $(DESTDIR)$(includedir)/$$f ;; \
for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(DESTDIR)$(includedir)/$$f; done *) $(INSTALL_DATA) $(SRCDIR)/$$f $(DESTDIR)$(includedir)/windows/$$f ;; \
for f in $(WINE_IDL_HEADERS); do $(INSTALL_DATA) wine/$$f $(DESTDIR)$(includedir)/$$f; done esac; done
for f in $(OBJDIR_INCLUDES); do case $$f in \
wine/*) $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/`expr $$f : 'wine/\(.*\)'` ;; \
msvcrt/*) $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/$$f ;; \
*) $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/windows/$$f ;; \
esac; done
# Don't just do a rm -rf on $(includedir) -- don't want to wipe out # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
# anything extra the user may have put there. # anything extra the user may have put there.
uninstall:: uninstall::
-cd $(DESTDIR)$(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) $(WINDOWS_IDL_HEADERS) $(IDL_TLBS) for f in $(SRCDIR_INCLUDES) $(OBJDIR_INCLUDES); do case $$f in \
-cd $(DESTDIR)$(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) $(WINE_IDL_HEADERS) wine/*) $(RM) $(DESTDIR)$(includedir)/`expr $$f : 'wine/\(.*\)'` ;; \
msvcrt/*) $(RM) $(DESTDIR)$(includedir)/$$f ;; \
*) $(RM) $(DESTDIR)$(includedir)/windows/$$f ;; \
esac; done
-rmdir $(INSTALLDIRS) -rmdir $(INSTALLDIRS)
@DEPENDENCIES@ # everything below this line is overwritten by make depend @DEPENDENCIES@ # everything below this line is overwritten by make depend
...@@ -77,7 +77,9 @@ my @ignores = ( ...@@ -77,7 +77,9 @@ my @ignores = (
"/config.status", "/config.status",
"/TAGS", "/TAGS",
"/tags", "/tags",
"Makefile" "Makefile",
"include/config.h",
"include/stamp-h"
); );
# Source files and their resulting target to ignore # Source files and their resulting target to ignore
......
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