libtool wrapper and haskell executable
PICCA Frederic-Emmanuel <[email protected]> Wed, 16 Oct 2024 10:01:55 +0200 (CEST)
| Newsgroups | gmane.comp.sysutils.automake.general |
|---|---|
| Message-ID | <1275244091.43615575.1729065715676.JavaMail.zimbra@synchrotron-soleil.fr> |
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