mirror of
https://github.com/dyne/FreeJ.git
synced 2026-02-08 13:59:54 +01:00
23 lines
689 B
Makefile
23 lines
689 B
Makefile
swig_source = freej_ruby.cpp
|
|
swig_header = freej_ruby.h
|
|
|
|
BUILT_SOURCES = $(swig_source) $(swig_header)
|
|
|
|
EXTRA_DIST = list_classes.rb list_classes.sh
|
|
|
|
$(swig_source): $(SWIG_IFACE) $(top_srcdir)/bindings/rbpre.i $(top_srcdir)/bindings/rbpost.i
|
|
$(SWIG_COMMAND) -ruby -initname Freej -o $(swig_source) $(SWIG_IFACE)
|
|
|
|
pkgrubydir = $(RUBY_SITE_LIB)
|
|
dist_pkgruby_DATA = freej_extensions.rb
|
|
|
|
pkgrubyarchdir = $(RUBY_SITE_PKG)
|
|
pkgrubyarch_LTLIBRARIES = Freej.la
|
|
|
|
nodist_Freej_la_SOURCES = $(swig_source)
|
|
Freej_la_CXXFLAGS = $(FREEJ_CFLAGS) $(RUBY_CPPFLAGS)
|
|
Freej_la_LDFLAGS = $(RUBY_LDFLAGS) -module -avoid-version
|
|
Freej_la_LIBADD = $(top_builddir)/src/libfreej.la
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|