2 A <net/if.h> for systems lacking it.
17 BUILT_SOURCES += $(NET_IF_H)
19 # We need the following in order to create <net/if.h> when the system
21 if GL_GENERATE_NET_IF_H
22 net/if.h: net_if.in.h $(top_builddir)/config.status
23 $(AM_V_at)$(MKDIR_P) net
24 $(AM_V_GEN)rm -f $@-t $@ && \
25 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
26 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
27 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
28 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
29 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
30 -e 's|@''NEXT_NET_IF_H''@|$(NEXT_NET_IF_H)|g' \
31 -e 's|@''HAVE_NET_IF_H''@|$(HAVE_NET_IF_H)|g' \
32 < $(srcdir)/net_if.in.h; \
36 net/if.h: $(top_builddir)/config.status
39 MOSTLYCLEANFILES += net/if.h net/if.h-t
40 MOSTLYCLEANDIRS += net