diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..b682e30 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,26 @@ +## Process this file with automake to produce Makefile.in. + +AUTOMAKE_OPTIONS = gnu +libexec_PROGRAMS = migcom +bin_SCRIPTS = mig +CLEANFILES = cpu.h *.sym[co] + +migcom_SOURCES = alloc.h boolean.h error.c error.h global.c global.h \ + header.c lexxer.h lexxer.l message.h mig_string.h \ + migcom.c parser.h parser.y routine.c routine.h \ + server.c statement.c statement.h string.c \ + type.c type.h user.c utils.c utils.h vprint.c write.h +migcom_LDADD = @ALLOCA@ @LEXLIB@ +EXTRADIST = gensym.awk + +SUFFIXES = .h .symo .symc .sym + +.sym.symc: + $(AWK) -f $(srcdir)/gensym.awk $< > $@ +.symc.symo: + $(TARGET_CC) -S $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -x c -o $@ $< +.symo.h: + sed -e '/^[^*].*$$/d' -e 's/^[*]/#define/' -e 's/mAgIc[^-0-9]*//' \ + $< > $@ + +$(migcom_OBJECTS): cpu.h |