nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 1 | include $(top_srcdir)/Makefile.all.am |
| 2 | include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 3 | |
nethercote | 7f39002 | 2004-10-25 17:18:24 +0000 | [diff] [blame] | 4 | ## Test repeated in both arms of the if-then-else because older versions of |
| 5 | ## automake don't seem to like having += within an if-then-else. |
| 6 | if USE_PIE |
| 7 | AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -g -fpie |
| 8 | else |
nethercote | 89dd255 | 2004-10-25 15:32:09 +0000 | [diff] [blame] | 9 | AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -g |
nethercote | 7f39002 | 2004-10-25 17:18:24 +0000 | [diff] [blame] | 10 | endif |
sewardj | 1685184 | 2002-04-24 11:14:22 +0000 | [diff] [blame] | 11 | |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 12 | noinst_HEADERS = \ |
| 13 | ansidecl.h \ |
gobry | 1be1985 | 2002-03-26 20:44:55 +0000 | [diff] [blame] | 14 | dyn-string.h \ |
| 15 | demangle.h \ |
| 16 | safe-ctype.h |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 17 | |
| 18 | noinst_LIBRARIES = libdemangle.a |
| 19 | |
| 20 | libdemangle_a_SOURCES = \ |
| 21 | cp-demangle.c cplus-dem.c dyn-string.c safe-ctype.c |
| 22 | |
nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 23 | ## Ignore harmless warnings for these ones |
njn | a63e2d7 | 2003-06-12 14:13:05 +0000 | [diff] [blame] | 24 | cp-demangle.o: CFLAGS += -Wno-unused -Wno-shadow |
| 25 | cplus-dem.o: CFLAGS += -Wno-unused |
| 26 | |