File: Makefile.am

package info (click to toggle)
mig-m68k-gnu 1.0-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 680 kB
  • ctags: 998
  • sloc: ansic: 6,776; sh: 1,937; yacc: 560; lex: 269; makefile: 62; awk: 45
file content (27 lines) | stat: -rw-r--r-- 787 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## Process this file with automake to produce Makefile.in.

AUTOMAKE_OPTIONS = gnu
libexec_PROGRAMS = migcom
bin_SCRIPTS = mig

EXTRA_DIST = gensym.awk cpu.sym
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@

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