1 TOPSRCDIR
= @top_srcdir@
49 WINDOWS_IDL_INCLUDES
= \
57 $(WINDOWS_IDL_INCLUDES
) \
334 msvcrt
/sys
/locking.h \
338 msvcrt
/sys
/unistd.h \
355 IDL_SRCS
= $(WINDOWS_IDL_SRCS
) $(WINE_IDL_SRCS
:%=wine
/%)
357 EXTRASUBDIRS
= ddk msvcrt msvcrt
/sys wine
361 WINDOWS_IDL_HEADERS
= $(WINDOWS_IDL_SRCS
:.idl
=.h
)
362 WINE_IDL_HEADERS
= $(WINE_IDL_SRCS
:.idl
=.h
)
363 IDL_HEADERS
= $(IDL_SRCS
:.idl
=.h
)
367 install:: $(IDL_HEADERS
)
368 $(MKINSTALLDIRS
) $(DESTDIR
)$(includedir) $(DESTDIR
)$(includedir)/windows
$(DESTDIR
)$(includedir)/windows
/ddk
$(DESTDIR
)$(includedir)/msvcrt
$(DESTDIR
)$(includedir)/msvcrt
/sys
369 for f in
$(WINDOWS_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/$$f $(DESTDIR
)$(includedir)/windows
/$$f; done
370 for f in
$(WINDOWS_IDL_HEADERS
); do
$(INSTALL_DATA
) $$f $(DESTDIR
)$(includedir)/windows
/$$f; done
371 for f in
$(MSVCRT_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/$$f $(DESTDIR
)$(includedir)/$$f; done
372 for f in
$(WINE_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/wine
/$$f $(DESTDIR
)$(includedir)/$$f; done
373 for f in
$(WINE_IDL_HEADERS
); do
$(INSTALL_DATA
) wine
/$$f $(DESTDIR
)$(includedir)/$$f; done
375 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
376 # anything extra the user may have put there.
378 -cd
$(DESTDIR
)$(includedir)/windows
&& $(RM
) $(WINDOWS_INCLUDES
) $(WINDOWS_IDL_HEADERS
)
379 -cd
$(DESTDIR
)$(includedir) && $(RM
) $(MSVCRT_INCLUDES
) $(WINE_INCLUDES
) $(WINE_IDL_HEADERS
)
380 -rmdir
$(DESTDIR
)$(includedir)/msvcrt
/sys
$(DESTDIR
)$(includedir)/msvcrt
$(DESTDIR
)$(includedir)/windows
/ddk
$(DESTDIR
)$(includedir)/windows
$(DESTDIR
)$(includedir)