| 1 | ## Process this file with automake to produce Makefile.in.
|
|---|
| 2 |
|
|---|
| 3 | AUTOMAKE_OPTIONS = foreign
|
|---|
| 4 |
|
|---|
| 5 | if TESTSUBDIR
|
|---|
| 6 | SUBDIRS = $(DIRLTDL) testsuite gcj include
|
|---|
| 7 | else
|
|---|
| 8 | SUBDIRS = $(DIRLTDL) gcj include
|
|---|
| 9 | endif
|
|---|
| 10 |
|
|---|
| 11 | ## ################################################################
|
|---|
| 12 |
|
|---|
| 13 | ##
|
|---|
| 14 | ## What gets installed, and where.
|
|---|
| 15 | ##
|
|---|
| 16 |
|
|---|
| 17 | if XLIB_AWT
|
|---|
| 18 | cond_x_ltlibrary = lib-gnu-awt-xlib.la
|
|---|
| 19 | ## We require libstdc++-v3 to be in the same build tree.
|
|---|
| 20 | xlib_includes = -I../libstdc++-v3/include -I../libstdc++-v3/include/$(target_alias) -I$(srcdir)/../libstdc++-v3/libsupc++
|
|---|
| 21 | else
|
|---|
| 22 | cond_x_ltlibrary =
|
|---|
| 23 | xlib_includes =
|
|---|
| 24 | endif
|
|---|
| 25 |
|
|---|
| 26 | toolexeclib_LTLIBRARIES = libgcj.la lib-org-xml-sax.la lib-org-w3c-dom.la $(cond_x_ltlibrary)
|
|---|
| 27 | toolexecmainlib_DATA = libgcj.spec
|
|---|
| 28 |
|
|---|
| 29 | jardir = $(datadir)/java
|
|---|
| 30 | jar_DATA = libgcj-@[email protected]
|
|---|
| 31 |
|
|---|
| 32 | ## FIXME: Using libdir violates GNU coding standards.
|
|---|
| 33 | secdir = $(libdir)/security
|
|---|
| 34 |
|
|---|
| 35 | ## For now, only on native systems. FIXME.
|
|---|
| 36 | if NATIVE
|
|---|
| 37 | bin_PROGRAMS = jv-convert gij rmic rmiregistry
|
|---|
| 38 | endif
|
|---|
| 39 |
|
|---|
| 40 | bin_SCRIPTS = addr2name.awk
|
|---|
| 41 |
|
|---|
| 42 | ## ################################################################
|
|---|
| 43 |
|
|---|
| 44 | ##
|
|---|
| 45 | ## Compilers and compilation flags.
|
|---|
| 46 | ##
|
|---|
| 47 |
|
|---|
| 48 | ## CANADIAN is a misnomer. Really we check to see if we must pick up
|
|---|
| 49 | ## the tools from the path.
|
|---|
| 50 | if CANADIAN
|
|---|
| 51 | if NULL_TARGET
|
|---|
| 52 | ## In this case, gcj is found outside the build tree. However, zip is
|
|---|
| 53 | ## found in the build tree.
|
|---|
| 54 | ZIP = $(MULTIBUILDTOP)../$(COMPPATH)/fastjar/jar
|
|---|
| 55 | else
|
|---|
| 56 | ZIP = jar
|
|---|
|
|---|