# # DUMM for Ruby # require 'mkmf' $defs << " @DEFS@" $CFLAGS << " -Wno-format -include \"@top_builddir@/config.h\"" dir_config('dumm', '@top_srcdir@/src/dumm', '../.libs') dir_config('strongswan', '@top_srcdir@/src/libstrongswan', '../../libstrongswan/.libs') unless find_library('dumm', 'dumm_create') puts "... failed: 'libdumm' not found!" exit end create_makefile('dumm', '@top_srcdir@/src/dumm/ext')