--- np2/x11/Makefile.am 2011/12/22 15:06:58 1.6 +++ np2/x11/Makefile.am 2011/12/29 13:35:32 1.10 @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.6 2011/12/22 15:06:58 monaka Exp $ +# $Id: Makefile.am,v 1.10 2011/12/29 13:35:32 monaka Exp $ real_topsrcdir= $(top_srcdir)/.. @@ -242,9 +242,10 @@ AM_CPPFLAGS= -I$(real_topsrcdir) \ $(GTK_CFLAGS) $(SDL_CFLAGS) AM_CFLAGS= -fsigned-char +CFLAGS+= -fno-strict-aliasing xnp2_LDADD= $(GTK_LIBS) $(SDL_LIBS) \ - $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) + $(X_LIBS) $(X_PRE_LIBS) $(XLIB) $(X_EXTRA_LIBS) DEFS= @DEFS@ -DSYSRESPATH=\""$(pkgdatadir)"\" @@ -285,8 +286,6 @@ AM_CPPFLAGS+= -I$(real_topsrcdir)/i386c -I$(real_topsrcdir)/i386c/ia32 \ -I$(real_topsrcdir)/i386c/ia32/instructions \ -I$(real_topsrcdir)/i386c/ia32/instructions/fpu - -DEFS+= -DCPUCORE_IA32 else xnp2_SOURCES+= $(real_topsrcdir)/i286c/i286c.c \ $(real_topsrcdir)/i286c/i286c_mn.c \ @@ -307,4 +306,4 @@ endif cleandir:: distclean .man1.1 .jman1.1j: - sed -e 's;@PKGDATADIR@;${DESTDIR}${pkgdatadir};' < $> > $@ + @sed -e 's;@PKGDATADIR@;${DESTDIR}${pkgdatadir};' < $< > $@