view src/sap/Makefile @ 144:5dfc0e491ad3 trunk

[svn] Null output plugin added; original code by Christian Birchinger <joker -at- gentoo.org>
author kiyoshi
date Mon, 30 Oct 2006 17:40:00 -0800
parents c0b31cf2c7cd
children 7804476ba85a
line wrap: on
line source

include ../../mk/rules.mk
include ../../mk/init.mk

OBJECTIVE_LIBS = libsapplug$(SHARED_SUFFIX)

SAPLIB = saplib/pokey0.o saplib/pokey1.o saplib/sapCpu.o saplib/sapEngine.o saplib/sapPokey.o

LINKER_FLAGS = -shared -Wl,-soname -Wl,$(TARGET) \
	-Wl,-retain-symbols-file -Wl,syms

TARGET = libsapplug.so

LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) $(SAPLIB)

LIBADD += $(GTK_LIBS)

SOURCES = fileinfo.c sapfile.c sap_plug.c

CFLAGS   += $(GTK_CFLAGS) $(LINKER_FLAGS) -I../../intl -I../..
CXXFLAGS += $(GTK_CFLAGS) $(LINKER_FLAGS) -I../../intl -I../..

OBJECTS = ${SOURCES:.c=.o} $(SAPLIB)

all: library 

library: 
	cd saplib && make 

include ../../mk/objective.mk