Sha256: d73e543fd31246c1c3cdc752964a662c68e5d268c292dd18c5b26af5d69c1059

Contents?: true

Size: 721 Bytes

Versions: 4

Compression:

Stored size: 721 Bytes

Contents

require "mkmf"

# $VPATH is used as the Makefile's $(VPATH) variable
# see https://www.gnu.org/software/make/manual/html_node/General-Search.html
$VPATH << "$(srcdir)/yaml"

# $srcs is normally set to the list of C files in the extension directory,
# but we need to append the libyaml files to it.
$srcs = Dir.glob("#{$srcdir}/{,yaml/}*.c").map { |n| File.basename(n) }.sort

# and make sure that the C preprocessor includes the yaml directory in its search path
append_cppflags("-I$(srcdir)/yaml")

# assert that we can find the yaml.h header file
abort("could not find yaml.h") unless find_header("yaml.h")

# defines HAVE_CONFIG_H macro
have_header("config.h")

create_makefile("rcee/packaged_source/packaged_source")

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rcee_packaged_source-0.6.0 ext/packaged_source/extconf.rb
rcee_packaged_source-0.5.0.1 ext/packaged_source/extconf.rb
rcee_packaged_source-0.5.1 ext/packaged_source/extconf.rb
rcee_packaged_source-0.5.0 ext/packaged_source/extconf.rb