Move config.h to includes/, include it in syn86k_public.h

This commit is contained in:
Ori Avtalion 2009-02-09 22:08:32 +02:00
parent 7a41a745a7
commit d629112ec3
3 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,7 @@ AC_INIT(syn68k, 1.0, ctm@ardi.com)
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([syngen/main.c]) AC_CONFIG_SRCDIR([syngen/main.c])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([include/config.h])
# Checks for programs. # Checks for programs.
AC_PROG_CC AC_PROG_CC

View File

@ -4,6 +4,10 @@
/* $Id: syn68k_public.h 83 2005-05-12 02:33:41Z ctm $ */ /* $Id: syn68k_public.h 83 2005-05-12 02:33:41Z ctm $ */
#include <setjmp.h> #include <setjmp.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/* Define this for CPUs that require n byte data be aligned /* Define this for CPUs that require n byte data be aligned
* on addresses congruent to zero modulo n. The name "QUADALIGN" * on addresses congruent to zero modulo n. The name "QUADALIGN"

View File

@ -16,7 +16,7 @@ LOCAL_CFLAGS = -DRUNTIME -Iinclude
all: libsyn68k.a all: libsyn68k.a
%.o:%.c %.o:%.c
$(CC) $(CFLAGS) -c $(LOCAL_INCLUDES) $< -o $@ $(CC) $(DEFS) $(CFLAGS) -c $(LOCAL_INCLUDES) $< -o $@
OBJS = block.o diagnostics.o hash.o rangetree.o translate.o alloc.o \ OBJS = block.o diagnostics.o hash.o rangetree.o translate.o alloc.o \
blockinfo.o trap.o destroyblock.o callback.o init.o interrupt.o \ blockinfo.o trap.o destroyblock.o callback.o init.o interrupt.o \