52 |
rm -f $(distdir)/system.h |
rm -f $(distdir)/system.h |
53 |
|
|
54 |
|
|
55 |
# ------------------------------------------------------------ # |
gnulib_srcdir = $(top_srcdir)/gnulib/lib |
56 |
# Taken from gnulib/modules/stdbool:Makefile.am. Do not edit. # |
|
57 |
# ------------------------------------------------------------ # |
|
58 |
|
# ------------------------------------------------ # |
59 |
|
# Adapted from gnulib/modules/stdbool:Makefile.am. # |
60 |
|
# ------------------------------------------------ # |
61 |
|
|
62 |
BUILT_SOURCES += $(STDBOOL_H) |
BUILT_SOURCES += $(STDBOOL_H) |
63 |
EXTRA_DIST += stdbool_.h |
MOSTLYCLEANFILES += stdbool.h stdbool.h-t |
64 |
|
|
65 |
|
pkginc_HEADERS += $(STDBOOL_H) |
66 |
|
|
67 |
# We need the following in order to create an <stdbool.h> when the system |
# We need the following in order to create an <stdbool.h> when the system |
68 |
# doesn't have one that works. |
# doesn't have one that works. |
69 |
all-local $(lib_OBJECTS): $(STDBOOL_H) |
all-local $(lib_OBJECTS): $(STDBOOL_H) |
70 |
stdbool.h: stdbool_.h |
stdbool.h: $(gnulib_srcdir)/stdbool_.h |
71 |
sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t |
sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(gnulib_srcdir)/stdbool_.h > $@-t |
72 |
mv $@-t $@ |
mv $@-t $@ |
|
MOSTLYCLEANFILES += stdbool.h stdbool.h-t |
|