Makefile.am 785 B

1234567891011121314151617181920212223242526
  1. # language/php/Makefile.am
  2. # copyright (C) 2003 by Frank Mori Hess
  3. # email : fmhess@users.sourceforge.net
  4. #
  5. # This Makefile.am is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9. SUBDIRS = TESTS
  10. EXTRA_DIST = sample-php.ini run
  11. lib_LTLIBRARIES = gpib_php.la
  12. gpib_php_la_SOURCES = gpib.c
  13. EXTENSIONDIR = `$(PHP_CONFIG) --extension-dir`
  14. PHP_INCLUDES = `$(PHP_CONFIG) --includes`
  15. gpib_php_la_CPPFLAGS = $(PHP_INCLUDES) -DUSE_LINUX_GPIB -DCOMPILE_DL=1
  16. gpib_php_la_CFLAGS = $(LIBGPIB_CFLAGS)
  17. gpib_php_la_LDFLAGS = -release $(VERSION) $(LIBGPIB_LDFLAGS) -module -rdynamic
  18. libdir = $(EXTENSIONDIR)