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
AC_CONFIG_SRCDIR([syngen/main.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([include/config.h])
# Checks for programs.
AC_PROG_CC

View File

@ -5,6 +5,10 @@
#include <setjmp.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/* Define this for CPUs that require n byte data be aligned
* on addresses congruent to zero modulo n. The name "QUADALIGN"
* is another ARDI convention, why rock the boat?

View File

@ -16,7 +16,7 @@ LOCAL_CFLAGS = -DRUNTIME -Iinclude
all: libsyn68k.a
%.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 \
blockinfo.o trap.o destroyblock.o callback.o init.o interrupt.o \