Debian Codegraph @

Makefile.in

raw
1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16 top_srcdir = @top_srcdir@
17 pkgdatadir = $(datadir)/@PACKAGE@
18 pkglibdir = $(libdir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 top_builddir = .
21 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
22 INSTALL = @INSTALL@
23 install_sh_DATA = $(install_sh) -c -m 644
24 install_sh_PROGRAM = $(install_sh) -c
25 install_sh_SCRIPT = $(install_sh) -c
26 INSTALL_HEADER = $(INSTALL_DATA)
27 transform = $(program_transform_name)
28 NORMAL_INSTALL = :
29 PRE_INSTALL = :
30 POST_INSTALL = :
31 NORMAL_UNINSTALL = :
32 PRE_UNINSTALL = :
33 POST_UNINSTALL = :
34 build_triplet = @build@
35 host_triplet = @host@
36 target_triplet = @target@
37 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
38 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
39 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL TODO \
40 config.guess config.sub install-sh ltconfig ltmain.sh missing \
41 mkinstalldirs
42 subdir = .
43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
45 $(top_srcdir)/configure.in
46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
47 $(ACLOCAL_M4)
48 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
49 configure.lineno configure.status.lineno
50 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
51 CONFIG_HEADER = config.h
52 CONFIG_CLEAN_FILES =
53 SOURCES =
54 DIST_SOURCES =
55 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
56 distdir = $(PACKAGE)-$(VERSION)
57 top_distdir = $(distdir)
58 am__remove_distdir = \
59 { test ! -d $(distdir) \
60 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
61 && rm -fr $(distdir); }; }
62 DIST_ARCHIVES = $(distdir).tar.gz
63 GZIP_ENV = --best
64 distuninstallcheck_listfiles = find . -type f -print
65 distcleancheck_listfiles = find . -type f -print
66
67 ###########################################################################
68 # RXTX License v 2.1 - LGPL v 2.1 + Linking Over Controlled Interface.
69 # RXTX is a native interface to serial ports in java.
70 # Copyright 1997-2007 by Trent Jarvi [email protected] and others who
71 # actually wrote it. See individual source files for more information.
72 #
73 # A copy of the LGPL v 2.1 may be found at
74 # http://www.gnu.org/licenses/lgpl.txt on March 4th 2007. A copy is
75 # here for your convenience.
76 #
77 # This library is free software; you can redistribute it and/or
78 # modify it under the terms of the GNU Lesser General Public
79 # License as published by the Free Software Foundation; either
80 # version 2.1 of the License, or (at your option) any later version.
81 #
82 # This library is distributed in the hope that it will be useful,
83 # but WITHOUT ANY WARRANTY; without even the implied warranty of
84 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
85 # Lesser General Public License for more details.
86 #
87 # An executable that contains no derivative of any portion of RXTX, but
88 # is designed to work with RXTX by being dynamically linked with it,
89 # is considered a "work that uses the Library" subject to the terms and
90 # conditions of the GNU Lesser General Public License.
91 #
92 # The following has been added to the RXTX License to remove
93 # any confusion about linking to RXTX. We want to allow in part what
94 # section 5, paragraph 2 of the LGPL does not permit in the special
95 # case of linking over a controlled interface. The intent is to add a
96 # Java Specification Request or standards body defined interface in the
97 # future as another exception but one is not currently available.
98 #
99 # http://www.fsf.org/licenses/gpl-faq.html#LinkingOverControlledInterface
100 #
101 # As a special exception, the copyright holders of RXTX give you
102 # permission to link RXTX with independent modules that communicate with
103 # RXTX solely through the Sun Microsytems CommAPI interface version 2,
104 # regardless of the license terms of these independent modules, and to copy
105 # and distribute the resulting combined work under terms of your choice,
106 # provided that every copy of the combined work is accompanied by a complete
107 # copy of the source code of RXTX (the version of RXTX used to produce the
108 # combined work), being distributed under the terms of the GNU Lesser General
109 # Public License plus this exception. An independent module is a
110 # module which is not derived from or based on RXTX.
111 #
112 # Note that people who make modified versions of RXTX are not obligated
113 # to grant this special exception for their modified versions; it is
114 # their choice whether to do so. The GNU Lesser General Public License
115 # gives permission to release a modified version without this exception; this
116 # exception also makes it possible to release a modified version which
117 # carries forward this exception.
118 #
119 # You should have received a copy of the GNU Lesser General Public
120 # License along with this library; if not, write to the Free
121 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
122 # All trademarks belong to their respective owners.
123 ############################################################################
124 srcdir = @srcdir@
125 VPATH = @srcdir@
126 ACLOCAL = @ACLOCAL@
127 AMDEP_FALSE = @AMDEP_FALSE@
128 AMDEP_TRUE = @AMDEP_TRUE@
129 AMTAR = @AMTAR@
130 AR = @AR@
131 AUTOCONF = @AUTOCONF@
132 AUTOHEADER = @AUTOHEADER@
133 AUTOMAKE = @AUTOMAKE@
134 AWK = @AWK@
135 CC = @CC@
136 CCDEPMODE = @CCDEPMODE@
137 CFLAGS = @CFLAGS@
138 CLASSPATH = @CLASSPATH@
139 COMPILE = @COMPILE@
140 CPP = @CPP@
141 CPPFLAGS = @CPPFLAGS@
142 CXX = @CXX@
143 CXXCPP = @CXXCPP@
144 CXXDEPMODE = @CXXDEPMODE@
145 CXXFLAGS = @CXXFLAGS@
146 CYGPATH_W = @CYGPATH_W@
147 DEFS = @DEFS@
148 DEPDIR = @DEPDIR@
149 ECHO = @ECHO@
150 ECHO_C = @ECHO_C@
151 ECHO_N = @ECHO_N@
152 ECHO_T = @ECHO_T@
153 EGREP = @EGREP@
154 EXEEXT = @EXEEXT@
155 EXTENSION = @EXTENSION@
156 F77 = @F77@
157 FFLAGS = @FFLAGS@
158 GLIBTOOL = @GLIBTOOL@
159 INSTALL_DATA = @INSTALL_DATA@
160 INSTALL_PROGRAM = @INSTALL_PROGRAM@
161 INSTALL_SCRIPT = @INSTALL_SCRIPT@
162 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
163 JAR = @JAR@
164 JAVAC = @JAVAC@
165 JAVADOC = @JAVADOC@
166 JAVAH = @JAVAH@
167 JAVAH_FIX = @JAVAH_FIX@
168 JAVAINCLUDE = @JAVAINCLUDE@
169 JAVAINCLUDEDIR = @JAVAINCLUDEDIR@
170 JAVANATINC = @JAVANATINC@
171 JAVA_CLASS_PATH = @JAVA_CLASS_PATH@
172 JAVA_CLASS_VERSION = @JAVA_CLASS_VERSION@
173 JAVA_HOME = @JAVA_HOME@
174 JAVA_LIBRARY_PATH = @JAVA_LIBRARY_PATH@
175 JAVA_VENDOR = @JAVA_VENDOR@
176 JAVA_VERSION = @JAVA_VERSION@
177 JHOME = @JHOME@
178 JPATH = @JPATH@
179 LDFLAG = @LDFLAG@
180 LDFLAGS = @LDFLAGS@
181 LIBOBJS = @LIBOBJS@
182 LIBS = @LIBS@
183 LIBTOOL = @LIBTOOL@
184 LIBTOOL_FIX = @LIBTOOL_FIX@
185 LIB_EXTENSION = @LIB_EXTENSION@
186 LINK = @LINK@
187 LN_S = @LN_S@
188 LTLIBOBJS = @LTLIBOBJS@
189 MAINT = @MAINT@
190 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
191 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
192 MAKEINFO = @MAKEINFO@
193 OBJECT_EXTENSION = @OBJECT_EXTENSION@
194 OBJEXT = @OBJEXT@
195 OS_ARCH = @OS_ARCH@
196 OS_NAME = @OS_NAME@
197 OS_VERSION = @OS_VERSION@
198 PACKAGE = @PACKAGE@
199 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
200 PACKAGE_NAME = @PACKAGE_NAME@
201 PACKAGE_STRING = @PACKAGE_STRING@
202 PACKAGE_TARNAME = @PACKAGE_TARNAME@
203 PACKAGE_VERSION = @PACKAGE_VERSION@
204 PATH_SEPARATOR = @PATH_SEPARATOR@
205 RANLIB = @RANLIB@
206 RXTX_PATH = @RXTX_PATH@
207 SET_MAKE = @SET_MAKE@
208 SHELL = @SHELL@
209 STRIP = @STRIP@
210 TARGETLIB = @TARGETLIB@
211 THREAD_FLAG = @THREAD_FLAG@
212 TOP = @TOP@
213 VERSION = @VERSION@
214 WINDOWS_JAVA_INCLUDE = @WINDOWS_JAVA_INCLUDE@
215 XCODE_SELECT = @XCODE_SELECT@
216 ac_ct_AR = @ac_ct_AR@
217 ac_ct_CC = @ac_ct_CC@
218 ac_ct_CXX = @ac_ct_CXX@
219 ac_ct_F77 = @ac_ct_F77@
220 ac_ct_RANLIB = @ac_ct_RANLIB@
221 ac_ct_STRIP = @ac_ct_STRIP@
222 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
223 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
224 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
225 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
226 am__include = @am__include@
227 am__leading_dot = @am__leading_dot@
228 am__quote = @am__quote@
229 am__tar = @am__tar@
230 am__untar = @am__untar@
231 bindir = @bindir@
232 build = @build@
233 build_alias = @build_alias@
234 build_cpu = @build_cpu@
235 build_os = @build_os@
236 build_vendor = @build_vendor@
237 datadir = @datadir@
238 exec_prefix = @exec_prefix@
239 host = @host@
240 host_alias = @host_alias@
241 host_cpu = @host_cpu@
242 host_os = @host_os@
243 host_vendor = @host_vendor@
244 includedir = @includedir@
245 infodir = @infodir@
246 install_sh = @install_sh@
247 libdir = @libdir@
248 libexecdir = @libexecdir@
249 localstatedir = @localstatedir@
250 mandir = @mandir@
251 mkdir_p = @mkdir_p@
252 oldincludedir = @oldincludedir@
253 prefix = @prefix@
254 program_transform_name = @program_transform_name@
255 sbindir = @sbindir@
256 sharedstatedir = @sharedstatedir@
257 sysconfdir = @sysconfdir@
258 target = @target@
259 target_alias = @target_alias@
260 target_cpu = @target_cpu@
261 target_os = @target_os@
262 target_vendor = @target_vendor@
263 abs_srcdir = $(TOP)/@srcdir@
264 AUTOMAKE_OPTIONS = foreign
265 INCLUDES = -I$(TOP) -I$(DEST) -I. $(JAVAINCLUDE) $(JAVANATINC)
266 ####################### vars for rxtx-1.4->1.5 transition
267 JARTARGET = RXTXcomm.jar
268 CLASSDIR = gnu.io
269 CLASSTOP = gnu
270 CLASSDEST = gnu/io
271 ####################### tools
272 LIBTOOLC = $(GLIBTOOL) --mode=compile $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(VERBOSE_IOEXCEPTIONS) -c
273 LIBTOOL_INST = $(GLIBTOOL) --mode=install $(INSTALL_PROGRAM)
274 ####################### dirs
275 SPATH = $(abs_srcdir)/src
276 DEST = $(target_triplet)
277 ####################### rules
278 CLASSES = $(patsubst $(SPATH)/gnu/io/%.java,$(TOP)/$(CLASSDEST)/%.class,$(wildcard $(SPATH)/gnu/io/*.java))
279 javafiles = $(wildcard $(SPATH)/gnu/io/*.java)
280 javahfiles = $(patsubst $(SPATH)/gnu/io/%.java,%,$(wildcard $(SPATH)/gnu/io/*.java))
281
282 #######################
283 CLEANFILES = $(TOP)/*.class $(TOP)/$(CLASSDEST)/*.class $(TOP)/$(JARTARGET)
284 all: config.h
285 $(MAKE) $(AM_MAKEFLAGS) all-am
286
287 .SUFFIXES:
288 am--refresh:
289 @:
290 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
291 @for dep in $?; do \
292 case '$(am__configure_deps)' in \
293 *$$dep*) \
294 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
295 cd $(srcdir) && $(AUTOMAKE) --foreign \
296 && exit 0; \
297 exit 1;; \
298 esac; \
299 done; \
300 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
301 cd $(top_srcdir) && \
302 $(AUTOMAKE) --foreign Makefile
303 .PRECIOUS: Makefile
304 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
305 @case '$?' in \
306 *config.status*) \
307 echo ' $(SHELL) ./config.status'; \
308 $(SHELL) ./config.status;; \
309 *) \
310 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
311 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
312 esac;
313
314 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
315 $(SHELL) ./config.status --recheck
316
317 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
318 cd $(srcdir) && $(AUTOCONF)
319 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
320 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
321
322 config.h: stamp-h1
323 @if test ! -f $@; then \
324 rm -f stamp-h1; \
325 $(MAKE) stamp-h1; \
326 else :; fi
327
328 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
329 @rm -f stamp-h1
330 cd $(top_builddir) && $(SHELL) ./config.status config.h
331 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
332 cd $(top_srcdir) && $(AUTOHEADER)
333 rm -f stamp-h1
334 touch $@
335
336 distclean-hdr:
337 -rm -f config.h stamp-h1
338
339 mostlyclean-libtool:
340 -rm -f *.lo
341
342 clean-libtool:
343 -rm -rf .libs _libs
344
345 distclean-libtool:
346 -rm -f libtool
347 uninstall-info-am:
348 tags: TAGS
349 TAGS:
350
351 ctags: CTAGS
352 CTAGS:
353
354
355 distdir: $(DISTFILES)
356 $(am__remove_distdir)
357 mkdir $(distdir)
358 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
359 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
360 list='$(DISTFILES)'; for file in $$list; do \
361 case $$file in \
362 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
363 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
364 esac; \
365 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
366 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
367 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
368 dir="/$$dir"; \
369 $(mkdir_p) "$(distdir)$$dir"; \
370 else \
371 dir=''; \
372 fi; \
373 if test -d $$d/$$file; then \
374 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
375 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
376 fi; \
377 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
378 else \
379 test -f $(distdir)/$$file \
380 || cp -p $$d/$$file $(distdir)/$$file \
381 || exit 1; \
382 fi; \
383 done
384 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
385 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
386 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
387 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
388 || chmod -R a+r $(distdir)
389 dist-gzip: distdir
390 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
391 $(am__remove_distdir)
392
393 dist-bzip2: distdir
394 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
395 $(am__remove_distdir)
396
397 dist-tarZ: distdir
398 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
399 $(am__remove_distdir)
400
401 dist-shar: distdir
402 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
403 $(am__remove_distdir)
404
405 dist-zip: distdir
406 -rm -f $(distdir).zip
407 zip -rq $(distdir).zip $(distdir)
408 $(am__remove_distdir)
409
410 dist dist-all: distdir
411 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
412 $(am__remove_distdir)
413
414 # This target untars the dist file and tries a VPATH configuration. Then
415 # it guarantees that the distribution is self-contained by making another
416 # tarfile.
417 distcheck: dist
418 case '$(DIST_ARCHIVES)' in \
419 *.tar.gz*) \
420 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
421 *.tar.bz2*) \
422 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
423 *.tar.Z*) \
424 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
425 *.shar.gz*) \
426 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
427 *.zip*) \
428 unzip $(distdir).zip ;;\
429 esac
430 chmod -R a-w $(distdir); chmod a+w $(distdir)
431 mkdir $(distdir)/_build
432 mkdir $(distdir)/_inst
433 chmod a-w $(distdir)
434 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
435 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
436 && cd $(distdir)/_build \
437 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
438 $(DISTCHECK_CONFIGURE_FLAGS) \
439 && $(MAKE) $(AM_MAKEFLAGS) \
440 && $(MAKE) $(AM_MAKEFLAGS) dvi \
441 && $(MAKE) $(AM_MAKEFLAGS) check \
442 && $(MAKE) $(AM_MAKEFLAGS) install \
443 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
444 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
445 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
446 distuninstallcheck \
447 && chmod -R a-w "$$dc_install_base" \
448 && ({ \
449 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
450 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
451 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
452 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
453 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
454 } || { rm -rf "$$dc_destdir"; exit 1; }) \
455 && rm -rf "$$dc_destdir" \
456 && $(MAKE) $(AM_MAKEFLAGS) dist \
457 && rm -rf $(DIST_ARCHIVES) \
458 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
459 $(am__remove_distdir)
460 @(echo "$(distdir) archives ready for distribution: "; \
461 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
462 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
463 distuninstallcheck:
464 @cd $(distuninstallcheck_dir) \
465 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
466 || { echo "ERROR: files left after uninstall:" ; \
467 if test -n "$(DESTDIR)"; then \
468 echo " (check DESTDIR support)"; \
469 fi ; \
470 $(distuninstallcheck_listfiles) ; \
471 exit 1; } >&2
472 distcleancheck: distclean
473 @if test '$(srcdir)' = . ; then \
474 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
475 exit 1 ; \
476 fi
477 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
478 || { echo "ERROR: files left in build directory after distclean:" ; \
479 $(distcleancheck_listfiles) ; \
480 exit 1; } >&2
481 check-am: all-am
482 check: check-am
483 all-am: Makefile config.h
484 installdirs:
485 install-exec: install-exec-am
486 install-data: install-data-am
487 uninstall: uninstall-am
488
489 install-am: all-am
490 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
491
492 installcheck: installcheck-am
493 install-strip:
494 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
495 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
496 `test -z '$(STRIP)' || \
497 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
498 mostlyclean-generic:
499
500 distclean-generic:
501 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
502
503 maintainer-clean-generic:
504 @echo "This command is intended for maintainers to use"
505 @echo "it deletes files that may require special tools to rebuild."
506 clean: clean-am
507
508 clean-am: clean-generic clean-libtool mostlyclean-am
509
510 distclean: distclean-am
511 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
512 -rm -f Makefile
513 distclean-am: clean-am distclean-generic distclean-hdr \
514 distclean-libtool
515
516 dvi: dvi-am
517
518 dvi-am:
519
520 html: html-am
521
522 info: info-am
523
524 info-am:
525
526 install-data-am:
527
528 install-exec-am:
529
530 install-info: install-info-am
531
532 install-man:
533
534 installcheck-am:
535
536 maintainer-clean: maintainer-clean-am
537 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
538 -rm -rf $(top_srcdir)/autom4te.cache
539 -rm -f Makefile
540 maintainer-clean-am: distclean-am maintainer-clean-generic
541
542 mostlyclean: mostlyclean-am
543
544 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
545
546 pdf: pdf-am
547
548 pdf-am:
549
550 ps: ps-am
551
552 ps-am:
553
554 uninstall-am: uninstall-info-am
555
556 .PHONY: all all-am am--refresh check check-am clean clean-generic \
557 clean-libtool dist dist-all dist-bzip2 dist-gzip dist-shar \
558 dist-tarZ dist-zip distcheck distclean distclean-generic \
559 distclean-hdr distclean-libtool distcleancheck distdir \
560 distuninstallcheck dvi dvi-am html html-am info info-am \
561 install install-am install-data install-data-am install-exec \
562 install-exec-am install-info install-info-am install-man \
563 install-strip installcheck installcheck-am installdirs \
564 maintainer-clean maintainer-clean-generic mostlyclean \
565 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
566 uninstall uninstall-am uninstall-info-am
567
568
569 # for SCO builds everything else is currently using lib%.la below
570 # I'm thinking about taking libtool out completely. See also Mac OS X builds.
571 $(target_triplet)/lib%.so: $(SPATH)/%Imp.@EXTENSION@ $(CLASSES)
572 $(COMPILE) $(SPATH)/$*Imp.@EXTENSION@ -o $(TOP)/$(DEST)/$*Imp.o
573 $(LINK) -G -o lib$*.so $(TOP)/$(DEST)/$*Imp.o
574
575 # compile src/SerialImp.c and similar files into libraries.
576 # LIBTOOL_FIX handles problems encountered on some OS's. See configure.in
577 # If a LIBTOOL_FIX is added be sure to provide a trailing ';' in configure.in
578
579 $(target_triplet)/librxtx%.@LIB_EXTENSION@: $(SPATH)/%Imp.c $(CLASSES) $(SPATH)/%Imp.h
580 ( \
581 $(LIBTOOL_FIX) \
582 cd $(DEST); \
583 $(LIBTOOLC) $(SPATH)/$*Imp.@EXTENSION@ -o \
584 $(TOP)/$(DEST)/$*Imp.@OBJECT_EXTENSION@; \
585 if [ "$*" = "Serial" ]; then \
586 $(LIBTOOLC) $(SPATH)/fuserImp.@EXTENSION@ -o \
587 $(TOP)/$(DEST)/fuserImp.@OBJECT_EXTENSION@; \
588 @LINK@ $(TOP)/$(DEST)/$*Imp.@OBJECT_EXTENSION@ \
589 $(TOP)/$(DEST)/fuserImp.@OBJECT_EXTENSION@; \
590 else \
591 @LINK@ $(TOP)/$(DEST)/$*Imp.@OBJECT_EXTENSION@; \
592 fi; \
593 )
594
595 # compile src/RXTXPort.java and similar files into classes
596 # then create the .jar file
597 $(CLASSES): $(javafiles) $(TOP)/Makefile
598 $(JAVAH_FIX)
599 $(JAVAC) $(javafiles)
600 $(JAVAH) `(for i in $(javahfiles);do \
601 if grep > /dev/null native.*\( $(SPATH)/gnu/io/$$i.java; then \
602 echo $(CLASSDIR).$$i; \
603 fi; \
604 done)`
605 $(JAR) cf $(JARTARGET) $(CLASSTOP)/*
606
607 # install librxtxSerial.so into the proper directory and copy $(JARTARGET) to its
608 # proper location
609 install: all
610 @$(LIBTOOL_INST) \
611 `for i in $(TARGETLIB);do \
612 if [ -f $$i ];then \
613 echo $$i; \
614 fi; \
615 done` $(RXTX_PATH)
616 $(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/
617
618 clean-generic:
619 rm -rf $(DEST) $(TOP)/$(CLASSTOP)
620 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
621
622 all: $(TARGETLIB)
623
624 # create the javadoc files.
625 docs: $(CLASSES)
626 $(JAVADOC) $(javafiles)
627
628 ################ WIN32 CrossCompiling from here down #######################
629
630 $(DEST)/rxtxSerial.dll: $(CLASSES) $(TOP)/Makefile
631 gcc -DWIN32 -D __int64="long long" -mno-fp-ret-in-387 -b$(target_alias) -I $(TOP) -I $(DEST) -I . $(WINDOWS_JAVA_INCLUDE) -I $(SPATH) -Wall -c $(SPATH)/SerialImp.c -o $(DEST)/SerialImp.o
632 gcc -DWIN32 -D __int64="long long" -mno-fp-ret-in-387 -b$(target_alias) -I $(TOP) -I $(DEST) -I . $(WINDOWS_JAVA_INCLUDE) -I $(SPATH) -Wall -c $(SPATH)/termios.c -o $(DEST)/termios.o
633 gcc -DWIN32 -D __int64="long long" -mno-fp-ret-in-387 -b$(target_alias) -I $(TOP) -I $(DEST) -I . $(WINDOWS_JAVA_INCLUDE) -I $(SPATH) -Wall -c $(SPATH)/fixup.c -o $(DEST)/fixup.o
634 gcc -DWIN32 -D __int64="long long" -mno-fp-ret-in-387 -b$(target_alias) -I $(TOP) -I $(DEST) -I . $(WINDOWS_JAVA_INCLUDE) -I $(SPATH) -Wall -c $(SPATH)/init.cc -o $(DEST)/init.o
635 ld --base-file $(DEST)/Serial.base --dll -o $(DEST)/rxtxSerial.dll $(DEST)/termios.o $(DEST)/SerialImp.o $(DEST)/fixup.o $(DEST)/init.o -luser32 -lgdi32 -lcomdlg32 -lkernel32 -ladvapi32 -lmingw32 -lmoldname -lcrtdll -e _dll_entry@12 --base-file $(DEST)/Serial.base
636 echo EXPORTS >$(DEST)/Serial.def;for i in `nm $(DEST)/rxtxSerial.dll | grep "T _Java"|cut -b 13-`;do echo -n $$i|sed s#@.*##;echo "="$$i;done >> $(DEST)/Serial.def
637 dlltool -b$(DEST) --as=as --dllname $(DEST)/rxtxSerial.dll --def $(DEST)/Serial.def --base-file $(DEST)/Serial.base --output-exp $(DEST)/Serial.exp
638 ld --base-file $(DEST)/Serial.base $(DEST)/Serial.exp -dll -o $(DEST)/rxtxSerial.dll $(DEST)/termios.o $(DEST)/SerialImp.o $(DEST)/fixup.o $(DEST)/init.o -luser32 -lgdi32 -lcomdlg32 -lkernel32 -ladvapi32 -lmingw32 -lmoldname -lcrtdll -e _dll_entry@12 --base-file $(DEST)/Serial.base
639 dlltool -b$(DEST) --as=as --dllname $(DEST)/rxtxSerial.dll --def $(DEST)/Serial.def --base-file $(DEST)/Serial.base --output-exp $(DEST)/Serial.exp
640 ld $(DEST)/Serial.exp -dll -o $(DEST)/rxtxSerial.dll $(DEST)/termios.o $(DEST)/SerialImp.o $(DEST)/fixup.o $(DEST)/init.o -luser32 -lgdi32 -lcomdlg32 -lkernel32 -ladvapi32 -lmingw32 -lmoldname -lcrtdll -e _dll_entry@12 --base-file $(DEST)/Serial.base
641
642 $(DEST)/rxtxParallel.dll: $(CLASSES) $(TOP)/Makefile
643 gcc -DWIN32 -D __int64="long long" -mno-fp-ret-in-387 -b$(target_alias) -I $(TOP) -I $(DEST) -I . $(WINDOWS_JAVA_INCLUDE) -I $(SPATH) -Wall -c $(SPATH)/ParallelImp.c -o $(DEST)/ParallelImp.o
644 gcc -DWIN32 -D __int64="long long" -mno-fp-ret-in-387 -b$(target_alias) -I $(TOP) -I $(DEST) -I . $(WINDOWS_JAVA_INCLUDE) -I $(SPATH) -Wall -c $(SPATH)/termios.c -o $(DEST)/termios.o
645 gcc -DWIN32 -D __int64="long long" -mno-fp-ret-in-387 -b$(target_alias) -I $(TOP) -I $(DEST) -I . $(WINDOWS_JAVA_INCLUDE) -I $(SPATH) -Wall -c $(SPATH)/fixup.c -o $(DEST)/fixup.o
646 gcc -DWIN32 -D __int64="long long" -mno-fp-ret-in-387 -b$(target_alias) -I $(TOP) -I $(DEST) -I . $(WINDOWS_JAVA_INCLUDE) -I $(SPATH) -Wall -c $(SPATH)/init.cc -o $(DEST)/init.o
647 ld --base-file $(DEST)/Parallel.base --dll -o $(DEST)/rxtxParallel.dll $(DEST)/termios.o $(DEST)/ParallelImp.o $(DEST)/fixup.o $(DEST)/init.o -luser32 -lgdi32 -lcomdlg32 -lkernel32 -ladvapi32 -lmingw32 -lmoldname -lcrtdll -e _dll_entry@12 --base-file $(DEST)/Parallel.base
648 echo EXPORTS >$(DEST)/Parallel.def;for i in `nm $(DEST)/rxtxParallel.dll | grep "T _Java"|cut -b 13-`;do echo -n $$i|sed s#@.*##;echo "="$$i;done >> $(DEST)/Parallel.def
649 dlltool -b$(DEST) --as=as --dllname $(DEST)/rxtxParallel.dll --def $(DEST)/Parallel.def --base-file $(DEST)/Parallel.base --output-exp $(DEST)/Parallel.exp
650 ld --base-file $(DEST)/Parallel.base $(DEST)/Parallel.exp -dll -o $(DEST)/rxtxParallel.dll $(DEST)/termios.o $(DEST)/ParallelImp.o $(DEST)/fixup.o $(DEST)/init.o -luser32 -lgdi32 -lcomdlg32 -lkernel32 -ladvapi32 -lmingw32 -lmoldname -lcrtdll -e _dll_entry@12 --base-file $(DEST)/Parallel.base
651 dlltool -b$(DEST) --as=as --dllname $(DEST)/rxtxParallel.dll --def $(DEST)/Parallel.def --base-file $(DEST)/Parallel.base --output-exp $(DEST)/Parallel.exp
652 ld $(DEST)/Parallel.exp -dll -o $(DEST)/rxtxParallel.dll $(DEST)/termios.o $(DEST)/ParallelImp.o $(DEST)/fixup.o $(DEST)/init.o -luser32 -lgdi32 -lcomdlg32 -lkernel32 -ladvapi32 -lmingw32 -lmoldname -lcrtdll -e _dll_entry@12 --base-file $(DEST)/Parallel.base
653 # Tell versions [3.59,3.63) of GNU make to not export all variables.
654 # Otherwise a system limit (for SysV at least) may be exceeded.
655 .NOEXPORT: