Improved support for Makefiles that need to recurse in subdirectories.
[wine] / include / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 MODULE    = none
6
7 INSTALLED_INCLUDES = \
8         windef.h \
9         windows.h \
10         wingdi.h \
11         winuser.h
12
13 EXTRASUBDIRS = bitmaps wine
14
15 @MAKE_RULES@
16
17 install::
18         [ -d $(includedir) ] || $(MKDIR) $(includedir)
19         for f in $(INSTALLED_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir); done
20
21 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out 
22 # anything extra the user may have put there.
23 uninstall::
24         cd $(includedir) && $(RM) $(INSTALLED_INCLUDES)
25         -rmdir $(includedir)
26
27 ### Dependencies: