To build the Perl bindings, do:
$ cd bindings; make perl install
* Object oriented interface.
+Perl bindings
+-------------
+
+ Included in the source package of liboping are bindings for Perl. The code
+ resides in the bindings/ subdirectory but is not compiled and installed by
+ default. The problem is that before linking with the library, the library
+ must be installed.
+
+ If you want to build the Perl bindings compile and install liboping first.
+ Then go into the bindings/ directory and type
+ $ make perl install
Author
------
perl/Oping.xs perl/README perl/lib/Net/Oping.pm perl/t/Oping.t \
perl/typemap
-all-local: @BINDINGS@
+all-local:
+ [ ! -f perl/Makefile ] || ( cd perl && $(MAKE) all )
install-exec-local:
[ ! -f perl/Makefile ] || ( cd perl && $(MAKE) install )
test:
[ ! -f perl/Makefile ] || ( cd perl && $(MAKE) test )
+perl: perl-bindings
+
perl-bindings: perl/Makefile
cd perl && $(MAKE)
cd perl && @PERL@ Makefile.PL PREFIX=$(prefix) @PERL_BINDINGS_OPTIONS@
-.PHONY: perl-bindings
+.PHONY: perl perl-bindings