view src/sap/Makefile @ 142:c0b31cf2c7cd trunk

[svn] Atari XL SAP. This compiles anything but cleanly, but somehow still works. No one will notice anyway, though. What percentage of the population listens to Atari XL music? I don't have an answer to that, but I'd guess that Audacious' SAP plugin will be used by approximately 2 people.
author asheldon
date Sun, 29 Oct 2006 01:08:30 -0700
parents
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