Fix template-based headers regeneration order in src/Makefile
authorIvan Maidanski <ivmai@mail.ru>
Fri, 4 Jan 2013 19:28:42 +0000 (23:28 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 5 Jan 2013 06:17:06 +0000 (10:17 +0400)
* src/atomic_ops/Makefile.am (BUILT_SOURCES): Define to force
regeneration of generalize-small.h (if the corresponding
source template is changed) before compilation of .c files (that use
atomic_ops.h).

Conflicts:

    src/Makefile.am

src/atomic_ops/Makefile.am

index 8000273..63bb336 100644 (file)
@@ -2,6 +2,8 @@ SUBDIRS=sysdeps
 
 EXTRA_DIST=generalize-small.template
 
+BUILT_SOURCES = generalize-small.h
+
 #Private Headers
 private_HEADERS=generalize.h generalize-small.h
 privatedir=${includedir}/atomic_ops/