| 1 |
|
| 2 |
# We are having problems with GNU tools generating good Makefiles. Here |
| 3 |
# Is a Makefile that works for Joseph. |
| 4 |
|
| 5 |
# Generated automatically from Makefile.in by configure. |
| 6 |
# Makefile.in generated automatically by automake 1.4 from Makefile.am |
| 7 |
|
| 8 |
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. |
| 9 |
# This Makefile.in is free software; the Free Software Foundation |
| 10 |
# gives unlimited permission to copy and/or distribute it, |
| 11 |
# with or without modifications, as long as this notice is preserved. |
| 12 |
|
| 13 |
# This program is distributed in the hope that it will be useful, |
| 14 |
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 15 |
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 16 |
# PARTICULAR PURPOSE. |
| 17 |
|
| 18 |
########################################################################### |
| 19 |
# RXTX License v 2.1 - LGPL v 2.1 + Linking Over Controlled Interface. |
| 20 |
# RXTX is a native interface to serial ports in java. |
| 21 |
# Copyright 1997-2007 by Trent Jarvi [email protected] and others who |
| 22 |
# actually wrote it. See individual source files for more information. |
| 23 |
# |
| 24 |
# A copy of the LGPL v 2.1 may be found at |
| 25 |
# http://www.gnu.org/licenses/lgpl.txt on March 4th 2007. A copy is |
| 26 |
# here for your convenience. |
| 27 |
# |
| 28 |
# This library is free software; you can redistribute it and/or |
| 29 |
# modify it under the terms of the GNU Lesser General Public |
| 30 |
# License as published by the Free Software Foundation; either |
| 31 |
# version 2.1 of the License, or (at your option) any later version. |
| 32 |
# |
| 33 |
# This library is distributed in the hope that it will be useful, |
| 34 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 35 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 36 |
# Lesser General Public License for more details. |
| 37 |
# |
| 38 |
# An executable that contains no derivative of any portion of RXTX, but |
| 39 |
# is designed to work with RXTX by being dynamically linked with it, |
| 40 |
# is considered a "work that uses the Library" subject to the terms and |
| 41 |
# conditions of the GNU Lesser General Public License. |
| 42 |
# |
| 43 |
# The following has been added to the RXTX License to remove |
| 44 |
# any confusion about linking to RXTX. We want to allow in part what |
| 45 |
# section 5, paragraph 2 of the LGPL does not permit in the special |
| 46 |
# case of linking over a controlled interface. The intent is to add a |
| 47 |
# Java Specification Request or standards body defined interface in the |
| 48 |
# future as another exception but one is not currently available. |
| 49 |
# |
| 50 |
# http://www.fsf.org/licenses/gpl-faq.html#LinkingOverControlledInterface |
| 51 |
# |
| 52 |
# As a special exception, the copyright holders of RXTX give you |
| 53 |
# permission to link RXTX with independent modules that communicate with |
| 54 |
# RXTX solely through the Sun Microsytems CommAPI interface version 2, |
| 55 |
# regardless of the license terms of these independent modules, and to copy |
| 56 |
# and distribute the resulting combined work under terms of your choice, |
| 57 |
# provided that every copy of the combined work is accompanied by a complete |
| 58 |
# copy of the source code of RXTX (the version of RXTX used to produce the |
| 59 |
# combined work), being distributed under the terms of the GNU Lesser General |
| 60 |
# Public License plus this exception. An independent module is a |
| 61 |
# module which is not derived from or based on RXTX. |
| 62 |
# |
| 63 |
# Note that people who make modified versions of RXTX are not obligated |
| 64 |
# to grant this special exception for their modified versions; it is |
| 65 |
# their choice whether to do so. The GNU Lesser General Public License |
| 66 |
# gives permission to release a modified version without this exception; this |
| 67 |
# exception also makes it possible to release a modified version which |
| 68 |
# carries forward this exception. |
| 69 |
# |
| 70 |
# You should have received a copy of the GNU Lesser General Public |
| 71 |
# License along with this library; if not, write to the Free |
| 72 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 73 |
# All trademarks belong to their respective owners. |
| 74 |
############################################################################ |
| 75 |
|
| 76 |
|
| 77 |
SHELL = /bin/sh |
| 78 |
top_srcdir = . |
| 79 |
prefix = /usr/local |
| 80 |
exec_prefix = ${prefix} |
| 81 |
|
| 82 |
bindir = ${exec_prefix}/bin |
| 83 |
sbindir = ${exec_prefix}/sbin |
| 84 |
libexecdir = ${exec_prefix}/libexec |
| 85 |
datadir = ${prefix}/share |
| 86 |
sysconfdir = ${prefix}/etc |
| 87 |
sharedstatedir = ${prefix}/com |
| 88 |
localstatedir = ${prefix}/var |
| 89 |
libdir = ${exec_prefix}/lib |
| 90 |
infodir = ${prefix}/info |
| 91 |
mandir = ${prefix}/man |
| 92 |
includedir = ${prefix}/include |
| 93 |
oldincludedir = /usr/include |
| 94 |
|
| 95 |
DESTDIR = |
| 96 |
|
| 97 |
pkgdatadir = $(datadir)/Serial |
| 98 |
pkglibdir = $(libdir)/Serial |
| 99 |
pkgincludedir = $(includedir)/Serial |
| 100 |
|
| 101 |
top_builddir = . |
| 102 |
|
| 103 |
ACLOCAL = aclocal |
| 104 |
AUTOCONF = autoconf |
| 105 |
AUTOMAKE = automake |
| 106 |
AUTOHEADER = autoheader |
| 107 |
|
| 108 |
INSTALL = /usr/bin/install -c |
| 109 |
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) |
| 110 |
INSTALL_DATA = ${INSTALL} -m 644 |
| 111 |
INSTALL_SCRIPT = ${INSTALL_PROGRAM} |
| 112 |
transform = s,x,x, |
| 113 |
|
| 114 |
NORMAL_INSTALL = : |
| 115 |
PRE_INSTALL = : |
| 116 |
POST_INSTALL = : |
| 117 |
NORMAL_UNINSTALL = : |
| 118 |
PRE_UNINSTALL = : |
| 119 |
POST_UNINSTALL = : |
| 120 |
build_alias = powerpc-apple-darwin1.3.7 |
| 121 |
build_triplet = powerpc-apple-darwin1.3.7 |
| 122 |
host_alias = powerpc-apple-darwin1.3.7 |
| 123 |
host_triplet = powerpc-apple-darwin1.3.7 |
| 124 |
target_alias = powerpc-apple-darwin1.3.7 |
| 125 |
target_triplet = powerpc-apple-darwin1.3.7 |
| 126 |
AS = @AS@ |
| 127 |
CATALOGS = @CATALOGS@ |
| 128 |
CATOBJEXT = @CATOBJEXT@ |
| 129 |
CC = cc |
| 130 |
CFLAGS = -g -O2 -D_BSD_SOURCE -bundle |
| 131 |
CLASSPATH = -classpath .:$(TOP):$(TOP)/src:$(JPATH)/lib/ext/RXTXcomm.jar:.: |
| 132 |
DATADIRNAME = @DATADIRNAME@ |
| 133 |
DLLTOOL = @DLLTOOL@ |
| 134 |
EXTENSION = c |
| 135 |
GENCAT = @GENCAT@ |
| 136 |
GMOFILES = @GMOFILES@ |
| 137 |
GMSGFMT = @GMSGFMT@ |
| 138 |
GT_NO = @GT_NO@ |
| 139 |
GT_YES = @GT_YES@ |
| 140 |
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@ |
| 141 |
INSTOBJEXT = @INSTOBJEXT@ |
| 142 |
INTLDEPS = @INTLDEPS@ |
| 143 |
INTLLIBS = @INTLLIBS@ |
| 144 |
INTLOBJS = @INTLOBJS@ |
| 145 |
JAR = $(JPATH)/bin/jar |
| 146 |
JAVAC = $(JPATH)/bin/javac $(CLASSPATH) -d $(TOP)/ -O |
| 147 |
JAVADOC = $(JPATH)/bin/javadoc |
| 148 |
JAVAH = $(JPATH)/bin/javah $(CLASSPATH) -d $(DEST) -jni |
| 149 |
JAVAH_FIX = |
| 150 |
JAVAINCLUDE = -I $(JAVAINCLUDEDIR) |
| 151 |
JAVAINCLUDEDIR = /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../../../Headers |
| 152 |
JAVANATINC = -I $(JAVAINCLUDEDIR)/./ |
| 153 |
JAVA_CLASS_PATH = |
| 154 |
JAVA_CLASS_VERSION = |
| 155 |
JAVA_HOME = |
| 156 |
JAVA_LIBRARY_PATH = |
| 157 |
JAVA_VENDOR = Apple Computer, Inc. |
| 158 |
JAVA_VERSION = 1.3.1 |
| 159 |
JHOME = /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext |
| 160 |
JPATH = /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home |
| 161 |
LDFLAG = |
| 162 |
LDFLAGS = -module -framework JavaVM -framework IOKit -framework CoreFoundation |
| 163 |
LIBTOOL = $(SHELL) $(top_builddir)/libtool |
| 164 |
LIBTOOL_FIX = sed s/echo\ so/echo\ jnilib/g libtool > tmp; mv tmp libtool; chmod +x libtool; |
| 165 |
LN_S = ln -s |
| 166 |
MAKEINFO = /Volumes/Medon/Personal/joseph/Developer/RXTX/rxtx-1.5/merged/missing makeinfo |
| 167 |
MKINSTALLDIRS = @MKINSTALLDIRS@ |
| 168 |
MSGFMT = @MSGFMT@ |
| 169 |
OBJDUMP = @OBJDUMP@ |
| 170 |
OS_ARCH = ppc |
| 171 |
OS_NAME = Mac OS X |
| 172 |
OS_VERSION = 1.3.7 |
| 173 |
PACKAGE = Serial |
| 174 |
POFILES = @POFILES@ |
| 175 |
POSUB = @POSUB@ |
| 176 |
RANLIB = ranlib |
| 177 |
RXTX_PATH = /usr/lib/java |
| 178 |
TARGETLIB = $(target_alias)/librxtxSerial.la |
| 179 |
THREAD_FLAG = |
| 180 |
TOP = /Volumes/Medon/Personal/joseph/Developer/RXTX/rxtx-1.5/merged |
| 181 |
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ |
| 182 |
USE_NLS = @USE_NLS@ |
| 183 |
VERSION = 1.2.10 |
| 184 |
WINDOWS_JAVA_INCLUDE = |
| 185 |
l = @l@ |
| 186 |
|
| 187 |
srcdir = . |
| 188 |
|
| 189 |
AUTOMAKE_OPTIONS = foreign |
| 190 |
INCLUDES = -I $(TOP) -I $(DEST) -I . $(JAVAINCLUDE) $(JAVANATINC) |
| 191 |
####################### vars for rxtx-1.4->1.5 transition |
| 192 |
JARTARGET = RXTXcomm.jar |
| 193 |
CLASSDIR = gnu.io |
| 194 |
CLASSTOP = gnu |
| 195 |
CLASSDEST = gnu/io |
| 196 |
####################### tools |
| 197 |
LIBTOOLC = $(TOP)/libtool --mode=compile $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(VERBOSE_IOEXCEPTIONS) -c |
| 198 |
LIBTOOL_INST = $(TOP)/libtool --mode=install $(INSTALL_PROGRAM) |
| 199 |
LINK = $(TOP)/libtool --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -version-info 1:0:1 |
| 200 |
####################### dirs |
| 201 |
SPATH = $(srcdir)/src |
| 202 |
DEST = $(target_alias) |
| 203 |
####################### rules |
| 204 |
CLASSES = $(patsubst $(SPATH)/%.java,$(TOP)/$(CLASSDEST)/%.class,$(wildcard $(SPATH)/*.java)) |
| 205 |
javafiles = $(wildcard $(SPATH)/*.java) |
| 206 |
javahfiles = $(patsubst $(SPATH)/%.java,%,$(wildcard $(SPATH)/*.java)) |
| 207 |
####################### |
| 208 |
CLEANFILES = $(TOP)/*.class $(TOP)/$(CLASSDEST)/*.class $(TOP)/$(JARTARGET) |
| 209 |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 210 |
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
| 211 |
CONFIG_HEADER = config.h |
| 212 |
CONFIG_CLEAN_FILES = |
| 213 |
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ |
| 214 |
Makefile.am Makefile.in TODO acconfig.h acinclude.m4 aclocal.m4 \ |
| 215 |
config.guess config.h.in config.sub configure configure.in install-sh \ |
| 216 |
ltconfig ltmain.sh missing mkinstalldirs |
| 217 |
|
| 218 |
|
| 219 |
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
| 220 |
|
| 221 |
TAR = gnutar |
| 222 |
GZIP_ENV = --best |
| 223 |
all: all-redirect |
| 224 |
.SUFFIXES: |
| 225 |
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
| 226 |
cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile |
| 227 |
|
| 228 |
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
| 229 |
cd $(top_builddir) \ |
| 230 |
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status |
| 231 |
|
| 232 |
$(ACLOCAL_M4): configure.in acinclude.m4 |
| 233 |
cd $(srcdir) && $(ACLOCAL) |
| 234 |
|
| 235 |
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
| 236 |
$(SHELL) ./config.status --recheck |
| 237 |
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
| 238 |
cd $(srcdir) && $(AUTOCONF) |
| 239 |
|
| 240 |
config.h: stamp-h |
| 241 |
@if test ! -f $@; then \ |
| 242 |
rm -f stamp-h; \ |
| 243 |
$(MAKE) stamp-h; \ |
| 244 |
else :; fi |
| 245 |
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status |
| 246 |
cd $(top_builddir) \ |
| 247 |
&& CONFIG_FILES= CONFIG_HEADERS=config.h \ |
| 248 |
$(SHELL) ./config.status |
| 249 |
@echo timestamp > stamp-h 2> /dev/null |
| 250 |
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in |
| 251 |
@if test ! -f $@; then \ |
| 252 |
rm -f $(srcdir)/stamp-h.in; \ |
| 253 |
$(MAKE) $(srcdir)/stamp-h.in; \ |
| 254 |
else :; fi |
| 255 |
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h |
| 256 |
cd $(top_srcdir) && $(AUTOHEADER) |
| 257 |
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null |
| 258 |
|
| 259 |
mostlyclean-hdr: |
| 260 |
|
| 261 |
clean-hdr: |
| 262 |
|
| 263 |
distclean-hdr: |
| 264 |
-rm -f config.h |
| 265 |
|
| 266 |
maintainer-clean-hdr: |
| 267 |
tags: TAGS |
| 268 |
TAGS: |
| 269 |
|
| 270 |
|
| 271 |
distdir = $(PACKAGE)-$(VERSION) |
| 272 |
top_distdir = $(distdir) |
| 273 |
|
| 274 |
# This target untars the dist file and tries a VPATH configuration. Then |
| 275 |
# it guarantees that the distribution is self-contained by making another |
| 276 |
# tarfile. |
| 277 |
distcheck: dist |
| 278 |
-rm -rf $(distdir) |
| 279 |
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz |
| 280 |
mkdir $(distdir)/=build |
| 281 |
mkdir $(distdir)/=inst |
| 282 |
dc_install_base=`cd $(distdir)/=inst && pwd`; \ |
| 283 |
cd $(distdir)/=build \ |
| 284 |
&& ../configure --srcdir=.. --prefix=$$dc_install_base \ |
| 285 |
&& $(MAKE) $(AM_MAKEFLAGS) \ |
| 286 |
&& $(MAKE) $(AM_MAKEFLAGS) dvi \ |
| 287 |
&& $(MAKE) $(AM_MAKEFLAGS) check \ |
| 288 |
&& $(MAKE) $(AM_MAKEFLAGS) install \ |
| 289 |
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
| 290 |
&& $(MAKE) $(AM_MAKEFLAGS) dist |
| 291 |
-rm -rf $(distdir) |
| 292 |
@banner="$(distdir).tar.gz is ready for distribution"; \ |
| 293 |
dashes=`echo "$$banner" | sed s/./=/g`; \ |
| 294 |
echo "$$dashes"; \ |
| 295 |
echo "$$banner"; \ |
| 296 |
echo "$$dashes" |
| 297 |
dist: distdir |
| 298 |
-chmod -R a+r $(distdir) |
| 299 |
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) |
| 300 |
-rm -rf $(distdir) |
| 301 |
dist-all: distdir |
| 302 |
-chmod -R a+r $(distdir) |
| 303 |
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) |
| 304 |
-rm -rf $(distdir) |
| 305 |
distdir: $(DISTFILES) |
| 306 |
-rm -rf $(distdir) |
| 307 |
mkdir $(distdir) |
| 308 |
-chmod 777 $(distdir) |
| 309 |
here=`cd $(top_builddir) && pwd`; \ |
| 310 |
top_distdir=`cd $(distdir) && pwd`; \ |
| 311 |
distdir=`cd $(distdir) && pwd`; \ |
| 312 |
cd $(top_srcdir) \ |
| 313 |
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile |
| 314 |
@for file in $(DISTFILES); do \ |
| 315 |
d=$(srcdir); \ |
| 316 |
if test -d $$d/$$file; then \ |
| 317 |
cp -pr $$/$$file $(distdir)/$$file; \ |
| 318 |
else \ |
| 319 |
test -f $(distdir)/$$file \ |
| 320 |
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
| 321 |
|| cp -p $$d/$$file $(distdir)/$$file || :; \ |
| 322 |
fi; \ |
| 323 |
done |
| 324 |
info-am: |
| 325 |
info: info-am |
| 326 |
dvi-am: |
| 327 |
dvi: dvi-am |
| 328 |
check-am: all-am |
| 329 |
check: check-am |
| 330 |
installcheck-am: |
| 331 |
installcheck: installcheck-am |
| 332 |
all-recursive-am: config.h |
| 333 |
$(MAKE) $(AM_MAKEFLAGS) all-recursive |
| 334 |
|
| 335 |
install-exec-am: |
| 336 |
install-exec: install-exec-am |
| 337 |
|
| 338 |
install-data-am: |
| 339 |
install-data: install-data-am |
| 340 |
|
| 341 |
install-am: all-am |
| 342 |
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
| 343 |
install: install-am |
| 344 |
uninstall-am: |
| 345 |
uninstall: uninstall-am |
| 346 |
all-am: Makefile config.h |
| 347 |
all-redirect: all-am |
| 348 |
install-strip: |
| 349 |
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
| 350 |
installdirs: |
| 351 |
|
| 352 |
|
| 353 |
mostlyclean-generic: |
| 354 |
|
| 355 |
distclean-generic: |
| 356 |
-rm -f Makefile $(CONFIG_CLEAN_FILES) |
| 357 |
-rm -f config.cache config.log stamp-h stamp-h[0-9]* |
| 358 |
|
| 359 |
maintainer-clean-generic: |
| 360 |
mostlyclean-am: mostlyclean-hdr mostlyclean-generic |
| 361 |
|
| 362 |
mostlyclean: mostlyclean-am |
| 363 |
|
| 364 |
clean-am: clean-hdr clean-generic mostlyclean-am |
| 365 |
|
| 366 |
clean: clean-am |
| 367 |
|
| 368 |
distclean-am: distclean-hdr distclean-generic clean-am |
| 369 |
-rm -f libtool |
| 370 |
|
| 371 |
distclean: distclean-am |
| 372 |
-rm -f config.status |
| 373 |
|
| 374 |
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-generic \ |
| 375 |
distclean-am |
| 376 |
@echo "This command is intended for maintainers to use;" |
| 377 |
@echo "it deletes files that may require special tools to rebuild." |
| 378 |
|
| 379 |
maintainer-clean: maintainer-clean-am |
| 380 |
-rm -f config.status |
| 381 |
|
| 382 |
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ |
| 383 |
tags distdir info-am info dvi-am dvi check check-am installcheck-am \ |
| 384 |
installcheck all-recursive-am install-exec-am install-exec \ |
| 385 |
install-data-am install-data install-am install uninstall-am uninstall \ |
| 386 |
all-redirect all-am all installdirs mostlyclean-generic \ |
| 387 |
distclean-generic clean-generic maintainer-clean-generic clean \ |
| 388 |
mostlyclean distclean maintainer-clean |
| 389 |
|
| 390 |
|
| 391 |
# compile src/SerialImp.c and similar files into libraries. |
| 392 |
# LIBTOOL_FIX handles problems encountered on some OS's. See configure.in |
| 393 |
# If a LIBTOOL_FIX is added be sure to provide a trailing ';' in configure.in |
| 394 |
|
| 395 |
# The stuff below tries to do this without running into the link problems |
| 396 |
# $(LINK) -o lib$*.la -rpath $(RXTX_PATH) \ |
| 397 |
# $(TOP)/$(DEST)/$*Imp.lo $(TOP)/$(DEST)/fuserImp.lo; \ |
| 398 |
|
| 399 |
$(target_alias)/lib%.la: $(SPATH)/%Imp.c $(CLASSES) $(SPATH)/%Imp.h |
| 400 |
@( \ |
| 401 |
$(LIBTOOL_FIX) \ |
| 402 |
cd $(DEST); \ |
| 403 |
touch it1; \ |
| 404 |
$(LIBTOOLC) ../$(SPATH)/$*Imp.c -o $(TOP)/$(DEST)/$*Imp.lo; \ |
| 405 |
touch it2; \ |
| 406 |
if [ "$*" = "rxtxSerial" ]; then \ |
| 407 |
$(LIBTOOLC) ../$(SPATH)/fuserImp.c \ |
| 408 |
-o $(TOP)/$(DEST)/fuserImp.lo; \ |
| 409 |
mkdir -p $(TOP)/$(DEST)/.libs; \ |
| 410 |
cc -bundle -undefined warning \ |
| 411 |
-o .libs/librxtxSerial.jnilib \ |
| 412 |
$(TOP)/$(DEST)/SerialImp.lo \ |
| 413 |
$(TOP)/$(DEST)/fuserImp.lo \ |
| 414 |
-framework JavaVM -framework IOKit; \ |
| 415 |
echo "# librxtxSerial.la - a libtool library file" > $(TOP)/$(DEST)/librxtxSerial.la; \ |
| 416 |
echo "# librxtxSerial.la - a libtool library file" > $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \ |
| 417 |
echo "# Generated by ltmain.sh - GNU libtool 1.3.5 (1.3 2000/11/22 00:47:10)" >> $(TOP)/$(DEST)/librxtxSerial.la; \ |
| 418 |
echo "# Generated by ltmain.sh - GNU libtool 1.3.5 (1.3 2000/11/22 00:47:10)" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \ |
| 419 |
echo "dlname='librxtxSerial.jnilib'" >> $(TOP)/$(DEST)/librxtxSerial.la; \ |
| 420 |
echo "dlname='librxtxSerial.jnilib'" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \ |
| 421 |
echo "library_names='librxtxSerial.jnilib'" >> $(TOP)/$(DEST)/librxtxSerial.la; \ |
| 422 |
echo "library_names='librxtxSerial.jnilib'" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \ |
| 423 |
echo "old_library=''" >> $(TOP)/$(DEST)/librxtxSerial.la; \ |
| 424 |
echo "old_library=''" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \ |
| 425 |
echo "dependency_libs=''" >> $(TOP)/$(DEST)/librxtxSerial.la; \ |
| 426 |
echo "dependency_libs=''" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \ |
| 427 |
echo "current=1" >> $(TOP)/$(DEST)/librxtxSerial.la; \ |
| 428 |
echo "current=1" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \ |
| 429 |
echo "age=1" >> $(TOP)/$(DEST)/librxtxSerial.la; \ |
| 430 |
echo "age=1" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \ |
| 431 |
echo "revision=0" >> $(TOP)/$(DEST)/librxtxSerial.la; \ |
| 432 |
echo "revision=0" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \ |
| 433 |
echo "installed=yes" >> $(TOP)/$(DEST)/librxtxSerial.la; \ |
| 434 |
echo "installed=yes" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \ |
| 435 |
echo "libdir='/usr/lib/java'" >> $(TOP)/$(DEST)/librxtxSerial.la; \ |
| 436 |
echo "libdir='/usr/lib/java'" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \ |
| 437 |
(cd .libs && rm -f librxtxSerial.la && ln -s ../librxtxSerial.la librxtxSerial.la); \ |
| 438 |
else \ |
| 439 |
$(LINK) -o lib$*.la -rpath $(RXTX_PATH) \ |
| 440 |
$(TOP)/$(DEST)/$*Imp.lo $(FUSER); \ |
| 441 |
fi; \ |
| 442 |
) |
| 443 |
|
| 444 |
# compile src/RXTXPort.java and similar files into classes |
| 445 |
# then create the .jar file |
| 446 |
$(CLASSES): $(javafiles) $(TOP)/Makefile |
| 447 |
$(JAVAH_FIX) |
| 448 |
$(JAVAC) $(javafiles) |
| 449 |
@$(JAVAH) `(for i in $(javahfiles);do \ |
| 450 |
if grep -q native.*\( $(SPATH)/$$i.java; then \ |
| 451 |
echo $(CLASSDIR).$$i; \ |
| 452 |
fi; \ |
| 453 |
done)` |
| 454 |
$(JAR) cf $(JARTARGET) $(CLASSTOP)/* |
| 455 |
|
| 456 |
# install libSerial.so into the proper directory and copy $(JARTARGET) to its |
| 457 |
# proper location |
| 458 |
install: all |
| 459 |
@$(LIBTOOL_INST) \ |
| 460 |
`for i in $(TARGETLIB);do \ |
| 461 |
if [ -f $$i ];then \ |
| 462 |
echo $$i; \ |
| 463 |
fi; \ |
| 464 |
done` $(RXTX_PATH) |
| 465 |
$(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/ |
| 466 |
|
| 467 |
clean-generic: |
| 468 |
rm -rf $(DEST) $(TOP)/$(CLASSTOP) |
| 469 |
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
| 470 |
|
| 471 |
all: $(TARGETLIB) |
| 472 |
|
| 473 |
# create the javadoc files. |
| 474 |
docs: $(CLASSES) |
| 475 |
$(JAVADOC) $(javafiles) |
| 476 |
|