1 TOPSRCDIR = @top_srcdir@
277 msvcrt/sys/locking.h \
281 msvcrt/sys/unistd.h \
294 EXTRASUBDIRS = msvcrt msvcrt/sys wine
301 $(WIDL) $(IDLFLAGS) -b -h -H $@ $<
303 idl: $(IDL_SRCS:.idl=.h)
306 $(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/msvcrt $(includedir)/msvcrt/sys
307 for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/windows/$$f; done
308 for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/$$f; done
309 for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(includedir)/$$f; done
311 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
312 # anything extra the user may have put there.
314 [ -d $(includedir)/windows ] && cd $(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) || true
315 [ -d $(includedir) ] && cd $(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) || true
316 -rmdir $(includedir)/msvcrt/sys $(includedir)/msvcrt $(includedir)/windows $(includedir)