From dc8eb02d3373778a5744e761f5603a9e173f0568 Mon Sep 17 00:00:00 2001 From: "Clifford T. Matthews" Date: Tue, 2 Jun 2009 01:59:08 -0600 Subject: [PATCH] Made it so that make install installs libsyn68k.a and syn68k_public.h. However, there's a chance that the libsyn68k.a that they install is broken. --- runtime/.gitignore | 1 + runtime/Makefile.am | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/runtime/.gitignore b/runtime/.gitignore index 532ce05..7c7a6c7 100644 --- a/runtime/.gitignore +++ b/runtime/.gitignore @@ -2,3 +2,4 @@ mapindex.c mapinfo.c profileinfo.gz syn68k.c +.deps diff --git a/runtime/Makefile.am b/runtime/Makefile.am index be59c28..73c3980 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -1,10 +1,13 @@ +lib_LIBRARIES = libsyn68k.a +include_HEADERS = ../include/syn68k_public.h + host_native=@HOST_NATIVE@ SYN68K_CFLAGS=@SYN68K_CFLAGS@ CLEANUP=@CLEANUP@ OPTIMIZE=@OPTIMIZE@ -CFLAGS += -DRUNTIME +AM_CFLAGS = -DRUNTIME LOCAL_INCLUDES = @@ -16,7 +19,7 @@ LOCAL_CFLAGS = -DRUNTIME -Iinclude all: libsyn68k.a .c.o: - $(CC) $(CFLAGS) -c $(LOCAL_INCLUDES) $< -o $@ + $(CC) $(AM_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 \