1 TOPSRCDIR
= @top_srcdir@
58 WINDOWS_IDL_INCLUDES
= \
70 $(WINDOWS_IDL_INCLUDES
) \
360 msvcrt
/sys
/locking.h \
364 msvcrt
/sys
/unistd.h \
381 IDL_H_SRCS
= $(WINDOWS_IDL_SRCS
) $(WINE_IDL_SRCS
:%=wine
/%)
383 EXTRASUBDIRS
= ddk msvcrt msvcrt
/sys wine
386 $(DESTDIR
)$(includedir)/windows
/ddk \
387 $(DESTDIR
)$(includedir)/windows \
388 $(DESTDIR
)$(includedir)/msvcrt
/sys \
389 $(DESTDIR
)$(includedir)/msvcrt \
390 $(DESTDIR
)$(includedir)
394 WINDOWS_IDL_HEADERS
= $(WINDOWS_IDL_SRCS
:.idl
=.h
)
395 WINE_IDL_HEADERS
= $(WINE_IDL_SRCS
:.idl
=.h
)
396 IDL_HEADERS
= $(IDL_H_SRCS
:.idl
=.h
)
397 IDL_TLBS
= $(IDL_TLB_SRCS
:.idl
=.tlb
)
399 all: $(IDL_HEADERS
) $(IDL_TLBS
)
401 install:: $(IDL_HEADERS
) $(IDL_TLBS
) $(INSTALLDIRS
)
402 for f in
$(WINDOWS_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/$$f $(DESTDIR
)$(includedir)/windows
/$$f; done
403 for f in
$(WINDOWS_IDL_HEADERS
) $(IDL_TLBS
); do
$(INSTALL_DATA
) $$f $(DESTDIR
)$(includedir)/windows
/$$f; done
404 for f in
$(MSVCRT_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/$$f $(DESTDIR
)$(includedir)/$$f; done
405 for f in
$(WINE_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/wine
/$$f $(DESTDIR
)$(includedir)/$$f; done
406 for f in
$(WINE_IDL_HEADERS
); do
$(INSTALL_DATA
) wine
/$$f $(DESTDIR
)$(includedir)/$$f; done
408 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
409 # anything extra the user may have put there.
411 -cd
$(DESTDIR
)$(includedir)/windows
&& $(RM
) $(WINDOWS_INCLUDES
) $(WINDOWS_IDL_HEADERS
) $(IDL_TLBS
)
412 -cd
$(DESTDIR
)$(includedir) && $(RM
) $(MSVCRT_INCLUDES
) $(WINE_INCLUDES
) $(WINE_IDL_HEADERS
)
413 -rmdir
$(INSTALLDIRS
)
415 @DEPENDENCIES@
# everything below this line is overwritten by make depend