Add quick target - full cygwin builds take a long long long time, this shortens the...
[openocd.git] / src / Makefile.am
1 SUBDIRS = helper jtag xsvf svf target server flash pld
2
3 lib_LTLIBRARIES = libopenocd.la
4 bin_PROGRAMS = openocd
5
6 if ECOSBOARD
7 MAINFILE = ecosboard.c
8 else
9 MAINFILE = main.c
10 endif
11
12 openocd_SOURCES = $(MAINFILE)
13 openocd_LDADD = libopenocd.la
14
15 libopenocd_la_SOURCES = openocd.c
16
17 # set the include path found by configure
18 AM_CPPFLAGS = \
19 -I$(top_srcdir)/src \
20 -I$(top_srcdir)/src/helper \
21 -I$(top_srcdir)/src/jtag \
22 -I$(top_srcdir)/src/target \
23 -I$(top_srcdir)/src/xsvf \
24 -I$(top_srcdir)/src/svf \
25 -I$(top_srcdir)/src/server \
26 -I$(top_srcdir)/src/flash \
27 -I$(top_srcdir)/src/pld
28
29 libopenocd_la_CPPFLAGS = -DPKGBLDDATE=\"`date +%F-%R`\"
30
31 if RELEASE
32 libopenocd_la_CPPFLAGS += -DRELSTR=\"Release\" -DPKGBLDREV=\"\"
33 else
34 libopenocd_la_CPPFLAGS += -DRELSTR=\"svn:\" -DPKGBLDREV=\"`$(top_srcdir)/guess-rev.sh $(top_srcdir)`\"
35 endif
36
37 # add default CPPFLAGS
38 libopenocd_la_CPPFLAGS += $(AM_CPPFLAGS) $(CPPFLAGS)
39
40 # the library search path.
41 libopenocd_la_LDFLAGS = $(all_libraries)
42
43 if IS_MINGW
44 MINGWLDADD = -lwsock32
45 else
46 MINGWLDADD =
47 endif
48
49 if FT2232_LIBFTDI
50 FTDI2232LIB = -lftdi -lusb
51 else
52 if PRESTO_LIBFTDI
53 FTDI2232LIB = -lftdi -lusb
54 else
55 FTDI2232LIB =
56 endif
57 endif
58
59 if USBPROG
60 LIBUSB = -lusb
61 else
62 if JLINK
63 LIBUSB = -lusb
64 else
65 if RLINK
66 LIBUSB = -lusb
67 else
68 if VSLLINK
69 LIBUSB = -lusb
70 else
71 LIBUSB =
72 endif
73 endif
74 endif
75 endif
76
77 libopenocd_la_LIBADD = \
78 $(top_builddir)/src/xsvf/libxsvf.la \
79 $(top_builddir)/src/svf/libsvf.la \
80 $(top_builddir)/src/pld/libpld.la \
81 $(top_builddir)/src/jtag/libjtag.la \
82 $(top_builddir)/src/flash/libflash.la \
83 $(top_builddir)/src/target/libtarget.la \
84 $(top_builddir)/src/server/libserver.la \
85 $(top_builddir)/src/helper/libhelper.la \
86 $(FTDI2232LIB) $(MINGWLDADD) $(LIBUSB)
87
88 if HTTPD
89 libopenocd_la_LIBADD += -lmicrohttpd
90 endif
91
92 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
93
94 # The "quick" target builds executables & reinstalls the executables
95 # Primary use: developer types to quicken the edit/compile/debug
96 # cycle. by not requiring a "full build and full install". Note the
97 # assumption is: You are only rebuilding the EXE.... and everything
98 # else is/was previously installed.
99 #
100 # use at your own risk
101 quick: all install-binPROGRAMS
102

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)