mirror of
https://github.com/ctm/syn68k.git
synced 2024-06-07 00:29:33 +00:00
got --disable-native working on i386
This commit is contained in:
parent
25eaed6e60
commit
f508f8c67c
|
@ -68,13 +68,13 @@ AC_ARG_ENABLE([native],
|
||||||
[var_native=$enable_native], [var_native=yes] )
|
[var_native=$enable_native], [var_native=yes] )
|
||||||
if test "$var_native" = "yes"; then
|
if test "$var_native" = "yes"; then
|
||||||
HOST_NATIVE="native/i386"
|
HOST_NATIVE="native/i386"
|
||||||
NO_NATIVE=FALSE
|
NONNATIVE=""
|
||||||
else
|
else
|
||||||
HOST_NATIVE="native/null"
|
HOST_NATIVE="native/null"
|
||||||
NO_NATIVE=TRUE
|
NONNATIVE="#define NONNATIVE"
|
||||||
fi
|
fi
|
||||||
|
AC_SUBST(NONNATIVE)
|
||||||
AC_SUBST(HOST_NATIVE)
|
AC_SUBST(HOST_NATIVE)
|
||||||
AC_SUBST(NO_NATIVE)
|
|
||||||
|
|
||||||
AC_ARG_ENABLE([debug],
|
AC_ARG_ENABLE([debug],
|
||||||
AC_HELP_STRING([--enable-debug],
|
AC_HELP_STRING([--enable-debug],
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
#ifndef _syn68k_private_h_
|
#ifndef _syn68k_private_h_
|
||||||
#define _syn68k_private_h_
|
#define _syn68k_private_h_
|
||||||
|
|
||||||
|
@NONNATIVE@
|
||||||
|
|
||||||
/* $Id: syn68k_private.h.in 72 2004-12-28 15:57:12Z ctm $ */
|
/* $Id: syn68k_private.h.in 72 2004-12-28 15:57:12Z ctm $ */
|
||||||
|
|
||||||
#include "syn68k_public.h"
|
#include "syn68k_public.h"
|
||||||
|
|
|
@ -38,14 +38,9 @@ xlate.o: xlate.c
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -c $(LOCAL_INCLUDES) -o $(@F) $<
|
$(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -c $(LOCAL_INCLUDES) -o $(@F) $<
|
||||||
|
|
||||||
## ifneq ($(NO_NATIVE), TRUE)
|
|
||||||
subdir-stmp: $(MISC_OBJS) src-stmp obj-stmp
|
subdir-stmp: $(MISC_OBJS) src-stmp obj-stmp
|
||||||
echo $(MISC_OBJS) \
|
echo $(MISC_OBJS) \
|
||||||
`ls _*.o` > subdir-stmp
|
`ls _*.o` > subdir-stmp
|
||||||
## else
|
|
||||||
## subdir-stmp:
|
|
||||||
## > subdir-stmp
|
|
||||||
## endif
|
|
||||||
|
|
||||||
obj-stmp:
|
obj-stmp:
|
||||||
k=1; \
|
k=1; \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user