Hello,

I am creating an executable using cabal (the haskell build tool) like this

hkl-test$(EXEEXT): $(test_sources) $(binoculars_ng_SOURCES)
        @rm -f cabal.project.local $@
        touch empty-config-file
        $(CABAL) \
               --config-file=empty-config-file \
               build \
               --enable-tests \
               -fuseHklDev \
               --extra-include-dirs=$(abs_top_srcdir) \
               --extra-include-dirs=$(abs_top_srcdir)/binoculars-ng/binoculars \
               --extra-lib-dirs=$(abs_top_builddir)/hkl/.libs \
               
--extra-lib-dirs=$(abs_top_builddir)/binoculars-ng/binoculars/.libs \
               $@
        $(LN_S) -f $$($(CABAL) \
                       --config-file=empty-config-file \
                       list-bin $@) $@


Now I would like to obtain a libtool wrapper in order to execute this hkl-test 
binary with the right libraries dependencies


LDADD = \
        $(top_builddir)/hkl/libhkl.la \
        $(top_builddir)/hkl/api2/libhkl2.la \
        $(GLIB_LIBS) \
        $(GOBJECT_LIBS) \
        $(GSL_LIBS)

So my question how can I create these libtool wrappers.

thanks for your help

Frederic
        

Reply via email to