Files
Amberelle Mason ac30ff9032 Initial import
Initial import of SunOS 4.1.1 and TME 0.8
2023-05-01 12:16:40 -04:00

35 lines
1.1 KiB
Makefile

## Process this file with automake to produce Makefile.in
# Makefile.am for The Machine Emulator machine/sun:
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 \
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 tme-sun-eeprom
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)% > $@