--- tme/machine/sun/Makefile.am 2018/04/24 16:37:52 1.1 +++ tme/machine/sun/Makefile.am 2018/04/24 16:43:35 1.1.1.4 @@ -6,15 +6,29 @@ AUTOMAKE_OPTIONS = 1.4 gnu INCLUDES = -I$(top_srcdir) -I$(srcdir) -I. -D_TME_IMPL pkglib_LTLIBRARIES = libtme-machine-sun.la -libtme_machine_sun_la_SOURCES = sun-mmu.c +libtme_machine_sun_la_SOURCES = sun-mmu.c \ + sun-bwtwo.c \ + sun-cgtwo.c \ + sun-cgsix.c \ + sun-fb.c sun-fb.h \ + sun-si.c \ + sun-obie.c libtme_machine_sun_la_LDFLAGS = -version-info 0:0:0 libtme_machine_sun_la_LIBADD = $(top_builddir)/libtme/libtme.la \ $(top_builddir)/generic/libtme-generic.la -bin_SCRIPTS = tme-sun-idprom +bin_SCRIPTS = tme-sun-idprom tme-sun-eeprom -EXTRA_DIST = tme-sun-idprom.pl +examplesdir = $(datadir)/examples/tme +examples_DATA = sun-keyboards.txt my-sun-macros.txt + +EXTRA_DIST = tme-sun-idprom.pl tme-sun-eeprom.pl $(examples_DATA) # target to make tme-sun-idprom: tme-sun-idprom: tme-sun-idprom.pl sed -e s%/usr/pkg/bin/perl%$(PERL)% < $(srcdir)/tme-sun-idprom.pl > $@ + +# target to make tme-sun-eeprom: +tme-sun-eeprom: tme-sun-eeprom.pl $(top_srcdir)/tools/tme-binary-struct.pl.in + cat $(top_srcdir)/tools/tme-binary-struct.pl.in $(srcdir)/tme-sun-eeprom.pl | \ + sed -e s%/usr/pkg/bin/perl%$(PERL)% > $@