diff options
author | Joe Thornber <ejt@redhat.com> | 2018-05-01 20:03:51 +0100 |
---|---|---|
committer | Joe Thornber <ejt@redhat.com> | 2018-05-01 20:03:51 +0100 |
commit | 1553993ea1e28222704ac90e1765eef86ea9eff1 (patch) | |
tree | eaa7346e0926623c8a35380cf9b90d136c68556f /make.tmpl.in | |
parent | 3ea862bdfc036f6e5ce08ba01eb706d1d10638cd (diff) | |
download | lvm2-1553993ea1e28222704ac90e1765eef86ea9eff1.tar.gz |
Revert "build: Stop creating the symlinks in include/ on the fly."
This reverts commit cdcea0bf55c170f538c3ffc114792eb3c993f4ac.
Diffstat (limited to 'make.tmpl.in')
-rw-r--r-- | make.tmpl.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/make.tmpl.in b/make.tmpl.in index 5c124b442..3a9f45059 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -306,10 +306,12 @@ LIB_VERSION_DM := $(shell $(AWK) -F '.' '{printf "%s.%s",$$1,$$2}' $(top_srcdir) LIB_VERSION_APP := $(shell $(AWK) -F '[(). ]' '{printf "%s.%s",$$1,$$4}' $(top_srcdir)/VERSION) -INCLUDES += -I$(srcdir) -I$(top_srcdir)/include -I$(top_builddir)/include +INCLUDES += -I$(srcdir) -I$(top_builddir)/include + +INC_LNS = $(top_builddir)/include/.symlinks_created DEPS = $(top_builddir)/make.tmpl $(top_srcdir)/VERSION \ - $(top_builddir)/Makefile + $(top_builddir)/Makefile $(INC_LNS) OBJECTS = $(SOURCES:%.c=%.o) $(CXXSOURCES:%.cpp=%.o) POTFILES = $(SOURCES:%.c=%.pot) @@ -504,9 +506,9 @@ $(LIB_STATIC): $(OBJECTS) $(Q) $(RM) $@ $(Q) $(AR) rsv $@ $(OBJECTS) > /dev/null -%.d: ; +%.d: $(INC_LNS) .PRECIOUS: %.d - + %.mo: %.po @echo " [MSGFMT] $<" $(Q) $(MSGFMT) -o $@ $< |