From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Anthony Green" To: , Subject: Re: Jython dependencies... Date: Wed, 17 Oct 2001 21:03:00 -0000 Message-id: <000201c1578a$997e9e40$5be6b4cd@cygnus.com> References: <200110180039.RAA06254@fencer.cygnus.com> X-SW-Source: 2001-10/msg00026.html Alex wrote: > TEST_DEPS = ../jakarta-servletapi/lib-javax-servlet.la \ > ../jakarta-oro/lib-org-apache-oro.la \ > ../gnu.readline/lib-org-gnu-readline.la > > test_SimpleEmbedded_DEPENDENCIES = $(TEST_DEP) > test_SimpleEmbedded_SOURCES = upstream/src/Demo/embed/SimpleEmbedded.java > test_SimpleEmbedded_LDFLAGS = --main=SimpleEmbedded > test_SimpleEmbedded_LDADD = -L. -l-org-jython $(TEST_DEPS) $(TEST_LDADD_LIBS) > Second, is this the right way to express libraries dependencies on the > two jython test examples? Hmm... if you link lib-org-jython.la with -l-javax-servlet and -l-org-apache-oro and -l-org-gnu-readline, then there should be no need to put these in your dependencies list. Does lib-org-jython.la really refer to classes in these libraries? If so you'll need to modify lib_org_jython_la_LIBADD and then have lib-org-jython.la in your dependencies for the test programs. Things break pretty badly otherwise. AG