Blame jemalloc/include/jemalloc/jemalloc.sh

Packit 345191
#!/bin/sh
Packit 345191
Packit 345191
objroot=$1
Packit 345191
Packit 345191
cat <
Packit 345191
#ifndef JEMALLOC_H_
Packit 345191
#define JEMALLOC_H_
Packit 345191
#ifdef __cplusplus
Packit 345191
extern "C" {
Packit 345191
#endif
Packit 345191
Packit 345191
EOF
Packit 345191
Packit 345191
for hdr in jemalloc_defs.h jemalloc_rename.h jemalloc_macros.h \
Packit 345191
           jemalloc_protos.h jemalloc_typedefs.h jemalloc_mangle.h ; do
Packit 345191
  cat "${objroot}include/jemalloc/${hdr}" \
Packit 345191
      | grep -v 'Generated from .* by configure\.' \
Packit 345191
      | sed -e 's/ $//g'
Packit 345191
  echo
Packit 345191
done
Packit 345191
Packit 345191
cat <
Packit 345191
#ifdef __cplusplus
Packit 345191
}
Packit 345191
#endif
Packit 345191
#endif /* JEMALLOC_H_ */
Packit 345191
EOF