1 TOPSRCDIR
= @top_srcdir@
59 WINDOWS_IDL_INCLUDES
= \
71 $(WINDOWS_IDL_INCLUDES
) \
364 msvcrt
/sys
/locking.h \
368 msvcrt
/sys
/unistd.h \
385 IDL_H_SRCS
= $(WINDOWS_IDL_SRCS
) $(WINE_IDL_SRCS
:%=wine
/%)
387 EXTRASUBDIRS
= ddk msvcrt msvcrt
/sys wine
390 $(DESTDIR
)$(includedir)/windows
/ddk \
391 $(DESTDIR
)$(includedir)/windows \
392 $(DESTDIR
)$(includedir)/msvcrt
/sys \
393 $(DESTDIR
)$(includedir)/msvcrt \
394 $(DESTDIR
)$(includedir)
398 WINDOWS_IDL_HEADERS
= $(WINDOWS_IDL_SRCS
:.idl
=.h
)
399 WINE_IDL_HEADERS
= $(WINE_IDL_SRCS
:.idl
=.h
)
400 IDL_HEADERS
= $(IDL_H_SRCS
:.idl
=.h
)
401 IDL_TLBS
= $(IDL_TLB_SRCS
:.idl
=.tlb
)
403 all: $(IDL_HEADERS
) $(IDL_TLBS
)
405 install:: $(IDL_HEADERS
) $(IDL_TLBS
) $(INSTALLDIRS
)
406 for f in
$(WINDOWS_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/$$f $(DESTDIR
)$(includedir)/windows
/$$f; done
407 for f in
$(WINDOWS_IDL_HEADERS
) $(IDL_TLBS
); do
$(INSTALL_DATA
) $$f $(DESTDIR
)$(includedir)/windows
/$$f; done
408 for f in
$(MSVCRT_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/$$f $(DESTDIR
)$(includedir)/$$f; done
409 for f in
$(WINE_INCLUDES
); do
$(INSTALL_DATA
) $(SRCDIR
)/wine
/$$f $(DESTDIR
)$(includedir)/$$f; done
410 for f in
$(WINE_IDL_HEADERS
); do
$(INSTALL_DATA
) wine
/$$f $(DESTDIR
)$(includedir)/$$f; done
412 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
413 # anything extra the user may have put there.
415 -cd
$(DESTDIR
)$(includedir)/windows
&& $(RM
) $(WINDOWS_INCLUDES
) $(WINDOWS_IDL_HEADERS
) $(IDL_TLBS
)
416 -cd
$(DESTDIR
)$(includedir) && $(RM
) $(MSVCRT_INCLUDES
) $(WINE_INCLUDES
) $(WINE_IDL_HEADERS
)
417 -rmdir
$(INSTALLDIRS
)
419 @DEPENDENCIES@
# everything below this line is overwritten by make depend