diff options
| author | Keith Packard <keithp@keithp.com> | 2010-09-09 17:52:46 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-09-09 17:57:13 -0700 |
| commit | 4224a7526e51eb8fbf1f0a31bae7ee68c6385095 (patch) | |
| tree | 33d1d6b7e04eb4f081ba39518da69c0ac194bf40 /ao-tools/altosui | |
| parent | 1e4c18777d982061f5e507a4d4f4f1cd4d685268 (diff) | |
altosui: Store libaltos.so in $(libdir)/altos
It's not a public library, so hide it away in a subdirectory.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui')
| -rw-r--r-- | ao-tools/altosui/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ao-tools/altosui/Makefile.am b/ao-tools/altosui/Makefile.am index 760e662d..804e0c74 100644 --- a/ao-tools/altosui/Makefile.am +++ b/ao-tools/altosui/Makefile.am @@ -1,6 +1,8 @@ JAVAROOT=classes AM_JAVACFLAGS=-encoding UTF-8 +altoslibdir=$(libdir)/altos + CLASSPATH_ENV=mkdir -p $(JAVAROOT); CLASSPATH=".:classes:../libaltos:$(FREETTS)/*:/usr/share/java/*" bin_SCRIPTS=altosui @@ -131,12 +133,12 @@ Manifest-fat.txt: altosui: Makefile echo "#!/bin/sh" > $@ - echo 'exec java -cp "$(FREETTS)/*" -Djava.library.path="$(libdir)" -jar "$(altosuidir)/altosui.jar" "$$@"' >> $@ + echo 'exec java -cp "$(FREETTS)/*" -Djava.library.path="$(altoslibdir)" -jar "$(altosuidir)/altosui.jar" "$$@"' >> $@ chmod +x $@ altosui-test: Makefile echo "#!/bin/sh" > $@ - echo 'exec java -cp "$(FREETTS)/*" -Djava.library.path="../libaltos" -jar altosui.jar "$$*"' >> $@ + echo 'exec java -cp "$(FREETTS)/*" -Djava.library.path="../libaltos/.libs" -jar altosui.jar "$$@"' >> $@ chmod +x $@ $(LIBALTOS): |
