simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] why I hate autotools


From: address@hidden
Subject: Re: [Simulavr-devel] why I hate autotools
Date: Tue, 07 Jul 2009 16:24:23 -0700

On Tue Jul  7  9:10 , 'address@hidden' <address@hidden> sent:

>On Tue Jul  7  8:51 , ThomasK  sent:

>>You have appended Makefile.am from root directory. But to compile your 
>
>Arrrg. I grabbed the wrong Makefile.am .
>I'll have to get home to find the right one.

I'm home.
I've attached src/Makefile.am and the result of
cvs diff -c in the root.

./bootstrap -c didn't help.
I've also attached the result of ./bootstrap .

--
Michael Hennebry
address@hidden
"War is only a hobby."


---- Msg sent via CableONE.net MyMail - http://www.cableone.net
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
/usr/share/aclocal/libtool.m4:633: AC_LIBTOOL_COMPILER_OPTION is expanded 
from...
/usr/share/aclocal/libtool.m4:4935: AC_LIBTOOL_PROG_COMPILER_PIC is expanded 
from...
/usr/share/aclocal/libtool.m4:2703: _LT_AC_LANG_C_CONFIG is expanded from...
/usr/share/aclocal/libtool.m4:2702: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
/usr/share/aclocal/libtool.m4:80: AC_LIBTOOL_SETUP is expanded from...
/usr/share/aclocal/libtool.m4:60: _AC_PROG_LIBTOOL is expanded from...
/usr/share/aclocal/libtool.m4:25: AC_PROG_LIBTOOL is expanded from...
configure.ac:10: the top level
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:678: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): 
suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:2784: _LT_AC_LANG_CXX_CONFIG is expanded from...
/usr/share/aclocal/libtool.m4:2783: AC_LIBTOOL_LANG_CXX_CONFIG is expanded 
from...
/usr/share/aclocal/libtool.m4:1828: _LT_AC_TAGCONFIG is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): 
suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:4010: _LT_AC_LANG_F77_CONFIG is expanded from...
/usr/share/aclocal/libtool.m4:4009: AC_LIBTOOL_LANG_F77_CONFIG is expanded 
from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): 
suspicious cache-id, must contain _cv_ to be cached
/usr/share/aclocal/libtool.m4:4119: _LT_AC_LANG_GCJ_CONFIG is expanded from...
/usr/share/aclocal/libtool.m4:4118: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded 
from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:647: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:4937: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:2717: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2716: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:94: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:74: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:10: the top level
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:692: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:2794: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:2793: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:1842: _LT_AC_TAGCONFIG is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4016: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:4015: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4125: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4124: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:647: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:4937: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:2717: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2716: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:94: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:74: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:10: the top level
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:692: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:2794: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:2793: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:1842: _LT_AC_TAGCONFIG is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4016: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:4015: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4125: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4124: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
src/Makefile.am: installing `./depcomp'
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:647: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:4937: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:2717: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2716: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:94: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:74: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:10: the top level
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:692: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:2794: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:2793: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:1842: _LT_AC_TAGCONFIG is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4016: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:4015: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): 
suspicious cache-id, must contain _cv_ to be cached
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): 
suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4125: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4124: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:10: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): 
suspicious cache-id, must contain _cv_ to be cached

Now run configure from your build directory.
'..../configure --help' will list most of the available options,
but not '--enable-python' or '--enable-tcl' .
? autom4te.cache-old
? buildsystem-three-in-one.patch
? examples/anacomp/.checkdebug.py.swp
? regress/modules/avr_target.pyc
? regress/modules/base_test.pyc
? regress/modules/gdb_rsp.pyc
? regress/modules/registers.pyc
? regress/test_opcodes/test_ADC.pyc
? regress/test_opcodes/test_ADD.pyc
? regress/test_opcodes/test_ADIW.pyc
? regress/test_opcodes/test_AND.pyc
? regress/test_opcodes/test_ANDI.pyc
? regress/test_opcodes/test_ASR.pyc
? regress/test_opcodes/test_BCLR.pyc
? regress/test_opcodes/test_BLD.pyc
? regress/test_opcodes/test_BRBC.pyc
? regress/test_opcodes/test_BRBS.pyc
? regress/test_opcodes/test_BSET.pyc
? regress/test_opcodes/test_BST.pyc
? regress/test_opcodes/test_CALL.pyc
? regress/test_opcodes/test_COM.pyc
? regress/test_opcodes/test_CP.pyc
? regress/test_opcodes/test_CPC.pyc
? regress/test_opcodes/test_CPI.pyc
? regress/test_opcodes/test_CPSE.pyc
? regress/test_opcodes/test_DEC.pyc
? regress/test_opcodes/test_EOR.pyc
? regress/test_opcodes/test_ICALL.pyc
? regress/test_opcodes/test_IJMP.pyc
? regress/test_opcodes/test_INC.pyc
? regress/test_opcodes/test_JMP.pyc
? regress/test_opcodes/test_LDD_Y.pyc
? regress/test_opcodes/test_LDD_Z.pyc
? regress/test_opcodes/test_LDI.pyc
? regress/test_opcodes/test_LDS.pyc
? regress/test_opcodes/test_LD_X.pyc
? regress/test_opcodes/test_LD_X_decr.pyc
? regress/test_opcodes/test_LD_X_incr.pyc
? regress/test_opcodes/test_LD_Y_decr.pyc
? regress/test_opcodes/test_LD_Y_incr.pyc
? regress/test_opcodes/test_LD_Z_decr.pyc
? regress/test_opcodes/test_LD_Z_incr.pyc
? regress/test_opcodes/test_LPM.pyc
? regress/test_opcodes/test_LPM_Z.pyc
? regress/test_opcodes/test_LPM_Z_incr.pyc
? regress/test_opcodes/test_LSR.pyc
? regress/test_opcodes/test_MOV.pyc
? regress/test_opcodes/test_MOVW.pyc
? regress/test_opcodes/test_MUL.pyc
? regress/test_opcodes/test_MULS.pyc
? regress/test_opcodes/test_MULSU.pyc
? regress/test_opcodes/test_NEG.pyc
? regress/test_opcodes/test_NOP.pyc
? regress/test_opcodes/test_OR.pyc
? regress/test_opcodes/test_ORI.pyc
? regress/test_opcodes/test_POP.pyc
? regress/test_opcodes/test_PUSH.pyc
? regress/test_opcodes/test_RCALL.pyc
? regress/test_opcodes/test_RET.pyc
? regress/test_opcodes/test_RETI.pyc
? regress/test_opcodes/test_RJMP.pyc
? regress/test_opcodes/test_ROR.pyc
? regress/test_opcodes/test_SBC.pyc
? regress/test_opcodes/test_SBCI.pyc
? regress/test_opcodes/test_SBIW.pyc
? regress/test_opcodes/test_SBRC.pyc
? regress/test_opcodes/test_SBRS.pyc
? regress/test_opcodes/test_STD_Y.pyc
? regress/test_opcodes/test_STD_Z.pyc
? regress/test_opcodes/test_STS.pyc
? regress/test_opcodes/test_ST_X.pyc
? regress/test_opcodes/test_ST_X_decr.pyc
? regress/test_opcodes/test_ST_X_incr.pyc
? regress/test_opcodes/test_ST_Y_decr.pyc
? regress/test_opcodes/test_ST_Y_incr.pyc
? regress/test_opcodes/test_ST_Z_decr.pyc
? regress/test_opcodes/test_ST_Z_incr.pyc
? regress/test_opcodes/test_SUB.pyc
? regress/test_opcodes/test_SUBI.pyc
? regress/test_opcodes/test_SWAP.pyc
? src/.atmega168.h.swp
? src/.atmega48.cpp.swp
? src/.atmega48.h.swp
? src/.atmega668base.cpp.swp
? src/.atmega668base.h.swp
? src/.atmega88.h.swp
? src/.hweeprom.h.swp
? src/.hwextirq.cpp.swp
? src/.irqsystem.h.swp
? src/.pysimulavr.i.swp
? src/Makefile.am-orig
? src/atmega168.h
? src/atmega668.cpp
? src/atmega668.h
? src/atmega668base.cpp
? src/atmega668base.h
? src/atmega88.h
Index: bootstrap
===================================================================
RCS file: /sources/simulavr/simulavrxx/bootstrap,v
retrieving revision 1.8
diff -c -r1.8 bootstrap
*** bootstrap   10 Mar 2009 13:32:57 -0000      1.8
--- bootstrap   7 Jul 2009 23:11:20 -0000
***************
*** 85,91 ****
      automake ${verbose} --add-missing --copy
      autoconf ${verbose}
      echo
!     echo "Now type './configure' to configure $PROJECT."
      ;;
    clean)
      test "$quiet" = "true" || echo "removing automake generated Makefile.in 
files"
--- 85,93 ----
      automake ${verbose} --add-missing --copy
      autoconf ${verbose}
      echo
!     echo "Now run configure from your build directory."
!     echo "'..../configure --help' will list most of the available options,"
!     echo "but not '--enable-python' or '--enable-tcl' ."
      ;;
    clean)
      test "$quiet" = "true" || echo "removing automake generated Makefile.in 
files"
Index: examples/Makefile.am
===================================================================
RCS file: /sources/simulavr/simulavrxx/examples/Makefile.am,v
retrieving revision 1.14
diff -c -r1.14 Makefile.am
*** examples/Makefile.am        8 May 2009 20:30:02 -0000       1.14
--- examples/Makefile.am        7 Jul 2009 23:11:20 -0000
***************
*** 10,20 ****
  
  noinst_DATA = kbd.xbm
  
! CLEANFILES = $(builddir)/kbd.xbm
  
  all-local: $(builddir)/kbd.xbm
  
  $(builddir)/kbd.xbm: $(srcdir)/kbd.xbm
!       test -r $(builddir)/kbd.xbm || cp $(srcdir)/kbd.xbm $(builddir)/kbd.xbm
  
  EXTRA_DIST = kbd.xbm
--- 10,20 ----
  
  noinst_DATA = kbd.xbm
  
! #CLEANFILES = $(builddir)/kbd.xbm
  
  all-local: $(builddir)/kbd.xbm
  
  $(builddir)/kbd.xbm: $(srcdir)/kbd.xbm
!       -test -r $(builddir)/kbd.xbm || cp $(srcdir)/kbd.xbm $(builddir)/kbd.xbm
  
  EXTRA_DIST = kbd.xbm
Index: m4/AX_AVR_ENVIRON.m4
===================================================================
RCS file: /sources/simulavr/simulavrxx/m4/AX_AVR_ENVIRON.m4,v
retrieving revision 1.11
diff -c -r1.11 AX_AVR_ENVIRON.m4
*** m4/AX_AVR_ENVIRON.m4        14 Mar 2009 20:01:38 -0000      1.11
--- m4/AX_AVR_ENVIRON.m4        7 Jul 2009 23:11:20 -0000
***************
*** 43,54 ****
  
  if test -z "${bfd_a_location}"; then
    AC_MSG_ERROR([
!     Could not locate libbfd.a or bfd.h.
      Please use the --with-bfd=<path to your libbfd library>
   ])
  fi
  
! AVR_LIBBFD_LIB=${bfd_a_location}/libbfd.a
  AVR_LIBBFD_INC=${bfd_h_location}
  
  ######### LIBIBERTY
--- 43,54 ----
  
  if test -z "${bfd_a_location}"; then
    AC_MSG_ERROR([
!     Could not locate libbfd.so or bfd.h.
      Please use the --with-bfd=<path to your libbfd library>
   ])
  fi
  
! AVR_LIBBFD_LIB=${bfd_a_location}/libbfd.so
  AVR_LIBBFD_INC=${bfd_h_location}
  
  ######### LIBIBERTY
Index: src/Makefile.am
===================================================================
RCS file: /sources/simulavr/simulavrxx/src/Makefile.am,v
retrieving revision 1.38
diff -c -r1.38 Makefile.am
*** src/Makefile.am     22 May 2009 20:24:16 -0000      1.38
--- src/Makefile.am     7 Jul 2009 23:11:21 -0000
***************
*** 29,34 ****
--- 29,35 ----
  
  libsim_la_SOURCES = \
    adcpin.cpp application.cpp at4433.cpp at8515.cpp atmega48.cpp atmega128.cpp 
\
+   atmega668.cpp \
    avrdevice.cpp avrerror.cpp avrfactory.cpp avrmalloc.cpp decoder.cpp \
    decoder_trace.cpp flash.cpp gdbserver.cpp hardware.cpp helper.cpp \
    hwacomp.cpp hwad.cpp hweeprom.cpp hwextirq.cpp hwmega48extirq.cpp \
***************
*** 41,52 ****
    string2.cpp systemclock.cpp trace.cpp ui.cpp 
  
  nodist_libsimulavr_la_SOURCES = $(TCL_WRAP_SRC)
! libsimulavr_la_LDFLAGS = -version-info 0:0:0 
! libsimulavr_la_LIBADD = $(libsim_la_OBJECTS) -lz \
!   $(AVR_LIBBFD_LIB) $(AVR_LIBIBERTY_LIB) 
  
  pkginclude_HEADERS = \
    adcpin.h application.h at4433.h at8515.h atmega48.h atmega128.h avrdevice.h 
\
    avrdevice_impl.h avrerror.h avrfactory.h avrmalloc.h breakpoint.h \
    config_deprecated.h decoder.h externaltype.h flash.h \
    funktor.h hwacomp.h hwad.h hweeprom.h hwextirq.h hwmega48extirq.h \
--- 42,54 ----
    string2.cpp systemclock.cpp trace.cpp ui.cpp 
  
  nodist_libsimulavr_la_SOURCES = $(TCL_WRAP_SRC)
! 
! libsimulavr_la_LDFLAGS = -version-info 0:0:0 -rpath ${prefix}/lib
! libsimulavr_la_LIBADD = $(libsim_la_OBJECTS) -lz -lbfd $(AVR_LIBIBERTY_LIB)
  
  pkginclude_HEADERS = \
    adcpin.h application.h at4433.h at8515.h atmega48.h atmega128.h avrdevice.h 
\
+   atmega668.h atmega88.h atmega168.h \
    avrdevice_impl.h avrerror.h avrfactory.h avrmalloc.h breakpoint.h \
    config_deprecated.h decoder.h externaltype.h flash.h \
    funktor.h hwacomp.h hwad.h hweeprom.h hwextirq.h hwmega48extirq.h \
***************
*** 61,67 ****
  
  simulavr_SOURCES = main.cpp $(COMMON_SRC)
  
! simulavr_LDADD = $(libsim_la_OBJECTS) $(AVR_LIBBFD_LIB) -lz 
$(AVR_LIBIBERTY_LIB)
  
  TCLHEADER = avrdevice.h at8515.h atmega128.h at4433.h gdb.h hardware.h \
      keyboard.h lcd.h net.h pin.h keyboard.h rwmem.h scope.h serialrx.h \
--- 63,70 ----
  
  simulavr_SOURCES = main.cpp $(COMMON_SRC)
  
! simulavr_LDADD = libsimulavr.la -lbfd \
!    -lz $(TCL_LIB) $(AVR_LIBIBERTY_LIB)
  
  TCLHEADER = avrdevice.h at8515.h atmega128.h at4433.h gdb.h hardware.h \
      keyboard.h lcd.h net.h pin.h keyboard.h rwmem.h scope.h serialrx.h \
***************
*** 86,97 ****
  @MAINT@               $(builddir)/kbdgentables $(srcdir)
  
  # Python bindings
! _pysimulavr.so: pysimulavr_wrap.cpp simulavr
!       $(CXX) -I$(srcdir) $(PYTHON_CPPFLAGS) $< \
!           $(patsubst %.lo,%.o,$(libsimulavr_la_OBJECTS)) \
!           $(AVR_LIBBFD_LIB) $(LIBIBERTY) -lc -lm -lncurses -shared \
            -o $@ $(NonPortableDarwin_GXX_Flags)
! 
  pysimulavr_wrap.cpp: $(srcdir)/pysimulavr.i
        $(SWIG) $(SWIG_PYTHON_OPT) $(PYTHON_CPPFLAGS) -o $@ $?
  
--- 89,100 ----
  @MAINT@               $(builddir)/kbdgentables $(srcdir)
  
  # Python bindings
! _pysimulavr.so: pysimulavr_wrap.cpp simulavr $(libsim_la_OBJECTS) 
$(libsim_la_DEPENDENCIES)
!       $(CXXLINK) -I$(srcdir) $(PYTHON_CPPFLAGS) -fPIC -shared $< \
!           $(libsim_la_OBJECTS) $(libsim_la_LIBADD) $(LIBS) \
!           -lbfd $(LIBIBERTY) -lc -lm -lncurses \
            -o $@ $(NonPortableDarwin_GXX_Flags)
!           
  pysimulavr_wrap.cpp: $(srcdir)/pysimulavr.i
        $(SWIG) $(SWIG_PYTHON_OPT) $(PYTHON_CPPFLAGS) -o $@ $?
  

Attachment: Makefile.am
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]