1 TOPSRCDIR = @top_srcdir@
313 msvcrt/sys/locking.h \
317 msvcrt/sys/unistd.h \
330 EXTRASUBDIRS = msvcrt msvcrt/sys wine
334 IDL_HEADERS = $(IDL_SRCS:.idl=.h)
338 install:: $(IDL_HEADERS)
339 $(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/msvcrt $(includedir)/msvcrt/sys
340 for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/windows/$$f; done
341 for f in $(IDL_HEADERS); do $(INSTALL_DATA) $$f $(includedir)/windows/$$f; done
342 for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/$$f; done
343 for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(includedir)/$$f; done
345 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
346 # anything extra the user may have put there.
348 [ -d $(includedir)/windows ] && cd $(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) $(IDL_HEADERS) || true
349 [ -d $(includedir) ] && cd $(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) || true
350 -rmdir $(includedir)/msvcrt/sys $(includedir)/msvcrt $(includedir)/windows $(includedir)