SHARE
TWEET

automake changes to Gordon wiringPi

a guest Oct 2nd, 2012 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. === configure.ac ===
  2. AC_PREREQ([2.68])
  3. AC_INIT(wiringPi, 1.0, root@localhost)
  4. AC_CONFIG_SRCDIR(gpio/gpio.c)
  5. AC_CONFIG_HEADERS(config.h)
  6.  
  7. AM_INIT_AUTOMAKE
  8.  
  9. # Checks for programs.
  10. AC_PROG_CC
  11. AC_PROG_LIBTOOL
  12.  
  13. # Checks for header files.
  14. AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h unistd.h])
  15.  
  16. # Checks for typedefs, structures, and compiler characteristics.
  17.  
  18. # Checks for library functions.
  19. AC_CHECK_LIB(pthread, pthread_create)
  20.  
  21. AC_CONFIG_FILES([Makefile gpio/Makefile wiringPi/Makefile])
  22. AC_OUTPUT
  23. === Makefile.am ===
  24. SUBDIRS=wiringPi gpio
  25. === gpio/Makefile.am ===
  26. noinst_LTLIBRARIES=libwiringPi.la
  27. libwiringPi_la_SOURCES=gertboard.c lcd.c piHiPri.c piNes.c piThread.c softPwm.c wiringPi.c wiringPiFace.c wiringPiSPI.c wiringSerial.c wiringShift.c
  28. === wiringPi/Makefile.am ===
  29. bin_PROGRAMS=gpio
  30. gpio_SOURCES=gpio.c
  31. gpio_CFLAGS=-I$(top_srcdir)/wiringPi/
  32. gpio_LDFLAGS=-L$(top_srcdir)/wiringPi/ -lwiringPi
  33. === EOF ===
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top