Testing out the PPD42 Air Quality Sensor, with an MSP430 Launchpad and graphing the data with GNUplot.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

437 lines
15 KiB

5 years ago
  1. # We are having problems with GNU tools generating good Makefiles. Here
  2. # Is a Makefile that works for Joseph.
  3. # Generated automatically from Makefile.in by configure.
  4. # Makefile.in generated automatically by automake 1.4 from Makefile.am
  5. # Copyright (C) 1994, 1995-8, 1999 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. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  11. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  12. # PARTICULAR PURPOSE.
  13. #-------------------------------------------------------------------------
  14. # rxtx is a native interface to serial ports in java.
  15. # Copyright 1997-2004 by Trent Jarvi taj@www.linux.org.uk.
  16. #
  17. # This library is free software; you can redistribute it and/or
  18. # modify it under the terms of the GNU Library General Public
  19. # License as published by the Free Software Foundation; either
  20. # version 2 of the License, or (at your option) any later version.
  21. #
  22. # This library is distributed in the hope that it will be useful,
  23. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  24. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  25. # Library General Public License for more details.
  26. #
  27. # You should have received a copy of the GNU Library General Public
  28. # License along with this library; if not, write to the Free
  29. # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  30. #-------------------------------------------------------------------------
  31. SHELL = /bin/sh
  32. top_srcdir = .
  33. prefix = /usr/local
  34. exec_prefix = ${prefix}
  35. bindir = ${exec_prefix}/bin
  36. sbindir = ${exec_prefix}/sbin
  37. libexecdir = ${exec_prefix}/libexec
  38. datadir = ${prefix}/share
  39. sysconfdir = ${prefix}/etc
  40. sharedstatedir = ${prefix}/com
  41. localstatedir = ${prefix}/var
  42. libdir = ${exec_prefix}/lib
  43. infodir = ${prefix}/info
  44. mandir = ${prefix}/man
  45. includedir = ${prefix}/include
  46. oldincludedir = /usr/include
  47. DESTDIR =
  48. pkgdatadir = $(datadir)/Serial
  49. pkglibdir = $(libdir)/Serial
  50. pkgincludedir = $(includedir)/Serial
  51. top_builddir = .
  52. ACLOCAL = aclocal
  53. AUTOCONF = autoconf
  54. AUTOMAKE = automake
  55. AUTOHEADER = autoheader
  56. INSTALL = /usr/bin/install -c
  57. INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
  58. INSTALL_DATA = ${INSTALL} -m 644
  59. INSTALL_SCRIPT = ${INSTALL_PROGRAM}
  60. transform = s,x,x,
  61. NORMAL_INSTALL = :
  62. PRE_INSTALL = :
  63. POST_INSTALL = :
  64. NORMAL_UNINSTALL = :
  65. PRE_UNINSTALL = :
  66. POST_UNINSTALL = :
  67. build_alias = powerpc-apple-darwin1.3.7
  68. build_triplet = powerpc-apple-darwin1.3.7
  69. host_alias = powerpc-apple-darwin1.3.7
  70. host_triplet = powerpc-apple-darwin1.3.7
  71. target_alias = powerpc-apple-darwin1.3.7
  72. target_triplet = powerpc-apple-darwin1.3.7
  73. AS = @AS@
  74. CATALOGS = @CATALOGS@
  75. CATOBJEXT = @CATOBJEXT@
  76. CC = cc
  77. CFLAGS = -g -O2 -D_BSD_SOURCE -bundle
  78. CLASSPATH = -classpath .:$(TOP):$(TOP)/src:$(JPATH)/lib/ext/RXTXcomm.jar:.:
  79. DATADIRNAME = @DATADIRNAME@
  80. DLLTOOL = @DLLTOOL@
  81. EXTENSION = c
  82. GENCAT = @GENCAT@
  83. GMOFILES = @GMOFILES@
  84. GMSGFMT = @GMSGFMT@
  85. GT_NO = @GT_NO@
  86. GT_YES = @GT_YES@
  87. INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
  88. INSTOBJEXT = @INSTOBJEXT@
  89. INTLDEPS = @INTLDEPS@
  90. INTLLIBS = @INTLLIBS@
  91. INTLOBJS = @INTLOBJS@
  92. JAR = $(JPATH)/bin/jar
  93. JAVAC = $(JPATH)/bin/javac $(CLASSPATH) -d $(TOP)/ -O
  94. JAVADOC = $(JPATH)/bin/javadoc
  95. JAVAH = $(JPATH)/bin/javah $(CLASSPATH) -d $(DEST) -jni
  96. JAVAH_FIX =
  97. JAVAINCLUDE = -I $(JAVAINCLUDEDIR)
  98. JAVAINCLUDEDIR = /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../../../Headers
  99. JAVANATINC = -I $(JAVAINCLUDEDIR)/./
  100. JAVA_CLASS_PATH =
  101. JAVA_CLASS_VERSION =
  102. JAVA_HOME =
  103. JAVA_LIBRARY_PATH =
  104. JAVA_VENDOR = Apple Computer, Inc.
  105. JAVA_VERSION = 1.3.1
  106. JHOME = /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/lib/ext
  107. JPATH = /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home
  108. LDFLAG =
  109. LDFLAGS = -module -framework JavaVM -framework IOKit -framework CoreFoundation
  110. LIBTOOL = $(SHELL) $(top_builddir)/libtool
  111. LIBTOOL_FIX = sed s/echo\ so/echo\ jnilib/g libtool > tmp; mv tmp libtool; chmod +x libtool;
  112. LN_S = ln -s
  113. MAKEINFO = /Volumes/Medon/Personal/joseph/Developer/RXTX/rxtx-1.5/merged/missing makeinfo
  114. MKINSTALLDIRS = @MKINSTALLDIRS@
  115. MSGFMT = @MSGFMT@
  116. OBJDUMP = @OBJDUMP@
  117. OS_ARCH = ppc
  118. OS_NAME = Mac OS X
  119. OS_VERSION = 1.3.7
  120. PACKAGE = Serial
  121. POFILES = @POFILES@
  122. POSUB = @POSUB@
  123. RANLIB = ranlib
  124. RXTX_PATH = /usr/lib/java
  125. TARGETLIB = $(target_alias)/librxtxSerial.la
  126. THREAD_FLAG =
  127. TOP = /Volumes/Medon/Personal/joseph/Developer/RXTX/rxtx-1.5/merged
  128. USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
  129. USE_NLS = @USE_NLS@
  130. VERSION = 1.2.10
  131. WINDOWS_JAVA_INCLUDE =
  132. l = @l@
  133. srcdir = .
  134. AUTOMAKE_OPTIONS = foreign
  135. INCLUDES = -I $(TOP) -I $(DEST) -I . $(JAVAINCLUDE) $(JAVANATINC)
  136. ####################### vars for rxtx-1.4->1.5 transition
  137. JARTARGET = RXTXcomm.jar
  138. CLASSDIR = gnu.io
  139. CLASSTOP = gnu
  140. CLASSDEST = gnu/io
  141. ####################### tools
  142. LIBTOOLC = $(TOP)/libtool --mode=compile $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(VERBOSE_IOEXCEPTIONS) -c
  143. LIBTOOL_INST = $(TOP)/libtool --mode=install $(INSTALL_PROGRAM)
  144. LINK = $(TOP)/libtool --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -version-info 1:0:1
  145. ####################### dirs
  146. SPATH = $(srcdir)/src
  147. DEST = $(target_alias)
  148. ####################### rules
  149. CLASSES = $(patsubst $(SPATH)/%.java,$(TOP)/$(CLASSDEST)/%.class,$(wildcard $(SPATH)/*.java))
  150. javafiles = $(wildcard $(SPATH)/*.java)
  151. javahfiles = $(patsubst $(SPATH)/%.java,%,$(wildcard $(SPATH)/*.java))
  152. #######################
  153. CLEANFILES = $(TOP)/*.class $(TOP)/$(CLASSDEST)/*.class $(TOP)/$(JARTARGET)
  154. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  155. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  156. CONFIG_HEADER = config.h
  157. CONFIG_CLEAN_FILES =
  158. DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
  159. Makefile.am Makefile.in TODO acconfig.h acinclude.m4 aclocal.m4 \
  160. config.guess config.h.in config.sub configure configure.in install-sh \
  161. ltconfig ltmain.sh missing mkinstalldirs
  162. DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
  163. TAR = gnutar
  164. GZIP_ENV = --best
  165. all: all-redirect
  166. .SUFFIXES:
  167. $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
  168. cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
  169. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
  170. cd $(top_builddir) \
  171. && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
  172. $(ACLOCAL_M4): configure.in acinclude.m4
  173. cd $(srcdir) && $(ACLOCAL)
  174. config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  175. $(SHELL) ./config.status --recheck
  176. $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
  177. cd $(srcdir) && $(AUTOCONF)
  178. config.h: stamp-h
  179. @if test ! -f $@; then \
  180. rm -f stamp-h; \
  181. $(MAKE) stamp-h; \
  182. else :; fi
  183. stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
  184. cd $(top_builddir) \
  185. && CONFIG_FILES= CONFIG_HEADERS=config.h \
  186. $(SHELL) ./config.status
  187. @echo timestamp > stamp-h 2> /dev/null
  188. $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
  189. @if test ! -f $@; then \
  190. rm -f $(srcdir)/stamp-h.in; \
  191. $(MAKE) $(srcdir)/stamp-h.in; \
  192. else :; fi
  193. $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
  194. cd $(top_srcdir) && $(AUTOHEADER)
  195. @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
  196. mostlyclean-hdr:
  197. clean-hdr:
  198. distclean-hdr:
  199. -rm -f config.h
  200. maintainer-clean-hdr:
  201. tags: TAGS
  202. TAGS:
  203. distdir = $(PACKAGE)-$(VERSION)
  204. top_distdir = $(distdir)
  205. # This target untars the dist file and tries a VPATH configuration. Then
  206. # it guarantees that the distribution is self-contained by making another
  207. # tarfile.
  208. distcheck: dist
  209. -rm -rf $(distdir)
  210. GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
  211. mkdir $(distdir)/=build
  212. mkdir $(distdir)/=inst
  213. dc_install_base=`cd $(distdir)/=inst && pwd`; \
  214. cd $(distdir)/=build \
  215. && ../configure --srcdir=.. --prefix=$$dc_install_base \
  216. && $(MAKE) $(AM_MAKEFLAGS) \
  217. && $(MAKE) $(AM_MAKEFLAGS) dvi \
  218. && $(MAKE) $(AM_MAKEFLAGS) check \
  219. && $(MAKE) $(AM_MAKEFLAGS) install \
  220. && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  221. && $(MAKE) $(AM_MAKEFLAGS) dist
  222. -rm -rf $(distdir)
  223. @banner="$(distdir).tar.gz is ready for distribution"; \
  224. dashes=`echo "$$banner" | sed s/./=/g`; \
  225. echo "$$dashes"; \
  226. echo "$$banner"; \
  227. echo "$$dashes"
  228. dist: distdir
  229. -chmod -R a+r $(distdir)
  230. GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
  231. -rm -rf $(distdir)
  232. dist-all: distdir
  233. -chmod -R a+r $(distdir)
  234. GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
  235. -rm -rf $(distdir)
  236. distdir: $(DISTFILES)
  237. -rm -rf $(distdir)
  238. mkdir $(distdir)
  239. -chmod 777 $(distdir)
  240. here=`cd $(top_builddir) && pwd`; \
  241. top_distdir=`cd $(distdir) && pwd`; \
  242. distdir=`cd $(distdir) && pwd`; \
  243. cd $(top_srcdir) \
  244. && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
  245. @for file in $(DISTFILES); do \
  246. d=$(srcdir); \
  247. if test -d $$d/$$file; then \
  248. cp -pr $$/$$file $(distdir)/$$file; \
  249. else \
  250. test -f $(distdir)/$$file \
  251. || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
  252. || cp -p $$d/$$file $(distdir)/$$file || :; \
  253. fi; \
  254. done
  255. info-am:
  256. info: info-am
  257. dvi-am:
  258. dvi: dvi-am
  259. check-am: all-am
  260. check: check-am
  261. installcheck-am:
  262. installcheck: installcheck-am
  263. all-recursive-am: config.h
  264. $(MAKE) $(AM_MAKEFLAGS) all-recursive
  265. install-exec-am:
  266. install-exec: install-exec-am
  267. install-data-am:
  268. install-data: install-data-am
  269. install-am: all-am
  270. @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  271. install: install-am
  272. uninstall-am:
  273. uninstall: uninstall-am
  274. all-am: Makefile config.h
  275. all-redirect: all-am
  276. install-strip:
  277. $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
  278. installdirs:
  279. mostlyclean-generic:
  280. distclean-generic:
  281. -rm -f Makefile $(CONFIG_CLEAN_FILES)
  282. -rm -f config.cache config.log stamp-h stamp-h[0-9]*
  283. maintainer-clean-generic:
  284. mostlyclean-am: mostlyclean-hdr mostlyclean-generic
  285. mostlyclean: mostlyclean-am
  286. clean-am: clean-hdr clean-generic mostlyclean-am
  287. clean: clean-am
  288. distclean-am: distclean-hdr distclean-generic clean-am
  289. -rm -f libtool
  290. distclean: distclean-am
  291. -rm -f config.status
  292. maintainer-clean-am: maintainer-clean-hdr maintainer-clean-generic \
  293. distclean-am
  294. @echo "This command is intended for maintainers to use;"
  295. @echo "it deletes files that may require special tools to rebuild."
  296. maintainer-clean: maintainer-clean-am
  297. -rm -f config.status
  298. .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
  299. tags distdir info-am info dvi-am dvi check check-am installcheck-am \
  300. installcheck all-recursive-am install-exec-am install-exec \
  301. install-data-am install-data install-am install uninstall-am uninstall \
  302. all-redirect all-am all installdirs mostlyclean-generic \
  303. distclean-generic clean-generic maintainer-clean-generic clean \
  304. mostlyclean distclean maintainer-clean
  305. # compile src/SerialImp.c and similar files into libraries.
  306. # LIBTOOL_FIX handles problems encountered on some OS's. See configure.in
  307. # If a LIBTOOL_FIX is added be sure to provide a trailing ';' in configure.in
  308. # The stuff below tries to do this without running into the link problems
  309. # $(LINK) -o lib$*.la -rpath $(RXTX_PATH) \
  310. # $(TOP)/$(DEST)/$*Imp.lo $(TOP)/$(DEST)/fuserImp.lo; \
  311. $(target_alias)/lib%.la: $(SPATH)/%Imp.c $(CLASSES) $(SPATH)/%Imp.h
  312. @( \
  313. $(LIBTOOL_FIX) \
  314. cd $(DEST); \
  315. touch it1; \
  316. $(LIBTOOLC) ../$(SPATH)/$*Imp.c -o $(TOP)/$(DEST)/$*Imp.lo; \
  317. touch it2; \
  318. if [ "$*" = "rxtxSerial" ]; then \
  319. $(LIBTOOLC) ../$(SPATH)/fuserImp.c \
  320. -o $(TOP)/$(DEST)/fuserImp.lo; \
  321. mkdir -p $(TOP)/$(DEST)/.libs; \
  322. cc -bundle -undefined warning \
  323. -o .libs/librxtxSerial.jnilib \
  324. $(TOP)/$(DEST)/SerialImp.lo \
  325. $(TOP)/$(DEST)/fuserImp.lo \
  326. -framework JavaVM -framework IOKit; \
  327. echo "# librxtxSerial.la - a libtool library file" > $(TOP)/$(DEST)/librxtxSerial.la; \
  328. echo "# librxtxSerial.la - a libtool library file" > $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \
  329. echo "# Generated by ltmain.sh - GNU libtool 1.3.5 (1.3 2000/11/22 00:47:10)" >> $(TOP)/$(DEST)/librxtxSerial.la; \
  330. echo "# Generated by ltmain.sh - GNU libtool 1.3.5 (1.3 2000/11/22 00:47:10)" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \
  331. echo "dlname='librxtxSerial.jnilib'" >> $(TOP)/$(DEST)/librxtxSerial.la; \
  332. echo "dlname='librxtxSerial.jnilib'" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \
  333. echo "library_names='librxtxSerial.jnilib'" >> $(TOP)/$(DEST)/librxtxSerial.la; \
  334. echo "library_names='librxtxSerial.jnilib'" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \
  335. echo "old_library=''" >> $(TOP)/$(DEST)/librxtxSerial.la; \
  336. echo "old_library=''" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \
  337. echo "dependency_libs=''" >> $(TOP)/$(DEST)/librxtxSerial.la; \
  338. echo "dependency_libs=''" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \
  339. echo "current=1" >> $(TOP)/$(DEST)/librxtxSerial.la; \
  340. echo "current=1" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \
  341. echo "age=1" >> $(TOP)/$(DEST)/librxtxSerial.la; \
  342. echo "age=1" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \
  343. echo "revision=0" >> $(TOP)/$(DEST)/librxtxSerial.la; \
  344. echo "revision=0" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \
  345. echo "installed=yes" >> $(TOP)/$(DEST)/librxtxSerial.la; \
  346. echo "installed=yes" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \
  347. echo "libdir='/usr/lib/java'" >> $(TOP)/$(DEST)/librxtxSerial.la; \
  348. echo "libdir='/usr/lib/java'" >> $(TOP)/$(DEST)/.libs/librxtxSerial.lai; \
  349. (cd .libs && rm -f librxtxSerial.la && ln -s ../librxtxSerial.la librxtxSerial.la); \
  350. else \
  351. $(LINK) -o lib$*.la -rpath $(RXTX_PATH) \
  352. $(TOP)/$(DEST)/$*Imp.lo $(FUSER); \
  353. fi; \
  354. )
  355. # compile src/RXTXPort.java and similar files into classes
  356. # then create the .jar file
  357. $(CLASSES): $(javafiles) $(TOP)/Makefile
  358. $(JAVAH_FIX)
  359. $(JAVAC) $(javafiles)
  360. @$(JAVAH) `(for i in $(javahfiles);do \
  361. if grep -q native.*\( $(SPATH)/$$i.java; then \
  362. echo $(CLASSDIR).$$i; \
  363. fi; \
  364. done)`
  365. $(JAR) cf $(JARTARGET) $(CLASSTOP)/*
  366. # install libSerial.so into the proper directory and copy $(JARTARGET) to its
  367. # proper location
  368. install: all
  369. @$(LIBTOOL_INST) \
  370. `for i in $(TARGETLIB);do \
  371. if [ -f $$i ];then \
  372. echo $$i; \
  373. fi; \
  374. done` $(RXTX_PATH)
  375. $(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/
  376. clean-generic:
  377. rm -rf $(DEST) $(TOP)/$(CLASSTOP)
  378. -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  379. all: $(TARGETLIB)
  380. # create the javadoc files.
  381. docs: $(CLASSES)
  382. $(JAVADOC) $(javafiles)