File: Makefile.am

package info (click to toggle)
pev 0.81-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,016 kB
  • sloc: ansic: 20,531; xml: 558; makefile: 450; sh: 397; python: 40
file content (52 lines) | stat: -rwxr-xr-x 944 bytes parent folder | download | duplicates (6)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# -- udis86/libudis86
#

PYTHON  = @PYTHON@
OPTABLE = @top_srcdir@/docs/x86/optable.xml

MAINTAINERCLEANFILES = Makefile.in

lib_LTLIBRARIES	= libudis86.la

libudis86_la_SOURCES =	\
    itab.c \
    decode.c \
    syn.c \
    syn-intel.c \
    syn-att.c \
    udis86.c \
	udint.h \
    syn.h \
    decode.h

include_ladir = ${includedir}/libudis86
include_la_HEADERS = \
    types.h \
    extern.h \
    itab.h


BUILT_SOURCES = \
    itab.c \
    itab.h

#
# DLLs may not contain undefined symbol references.  
# We have the linker check this explicitly.
#
if TARGET_WINDOWS
libudis86_la_LDFLAGS = -no-undefined -version-info 0:0:0
endif

itab.c itab.h: $(OPTABLE) \
			   $(top_srcdir)/scripts/ud_itab.py \
               $(top_srcdir)/scripts/ud_opcode.py \
               $(top_srcdir)/scripts/ud_optable.py
	$(PYTHON) $(top_srcdir)/scripts/ud_itab.py $(OPTABLE) $(srcdir)


clean-local:
	rm -rf $(BUILT_SOURCES)

maintainer-clean-local: