1 TOPSRCDIR
= @top_srcdir@
49 WINDOWS_IDL_INCLUDES
= \
57 $(WINDOWS_IDL_INCLUDES
) \
326 msvcrt
/sys
/locking.h \
330 msvcrt
/sys
/unistd.h \
347 IDL_SRCS
= $(WINDOWS_IDL_SRCS
) $(WINE_IDL_SRCS
:%=wine
/%)
349 EXTRASUBDIRS
= msvcrt msvcrt
/sys wine
353 WINDOWS_IDL_HEADERS
= $(WINDOWS_IDL_SRCS
:.idl
=.h
)
354 WINE_IDL_HEADERS
= $(WINE_IDL_SRCS
:.idl
=.h
)
355 IDL_HEADERS
= $(IDL_SRCS
:.idl
=.h
)
359 install:: $(IDL_HEADERS
)
360 $(MKINSTALLDIRS
) $(includedir) $(includedir)/windows
$(includedir)/windows
/ddk
$(includedir)/msvcrt
$(includedir)/msvcrt
/sys
361 for f in
$(WINDOWS_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/$$f $(includedir)/windows
/$$f; done
362 for f in
$(WINDOWS_IDL_HEADERS
); do
$(INSTALL_DATA
) $$f $(includedir)/windows
/$$f; done
363 for f in
$(MSVCRT_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/$$f $(includedir)/$$f; done
364 for f in
$(WINE_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/wine
/$$f $(includedir)/$$f; done
365 for f in
$(WINE_IDL_HEADERS
); do
$(INSTALL_DATA
) wine
/$$f $(includedir)/$$f; done
367 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
368 # anything extra the user may have put there.
370 [ -d
$(includedir)/windows
] && cd
$(includedir)/windows
&& $(RM
) $(WINDOWS_INCLUDES
) $(WINDOWS_IDL_HEADERS
) || true
371 [ -d
$(includedir) ] && cd
$(includedir) && $(RM
) $(MSVCRT_INCLUDES
) $(WINE_INCLUDES
) $(WINE_IDL_HEADERS
) || true
372 -rmdir
$(includedir)/msvcrt
/sys
$(includedir)/msvcrt
$(includedir)/windows
/ddk
$(includedir)/windows
$(includedir)