# # (C) Copyright 1992, ..., 2014 the "DOSEMU-Development-Team". # # for details see file COPYING in the DOSEMU distribution # top_builddir=../../.. include ../plugins_simp.mak ALL_CFLAGS += $(DL_CFLAGS) LADSPA_LDFLAGS += -lm -ldl CFILES = load.c ladspa.c OBJS=$(CFILES:.c=.o) DEPENDS=$(CFILES:.c=.d) ifdef USE_DL_PLUGINS all: $(BINPATH)/bin/libplugin_ladspa.so ALL_CFLAGS += -fPIC endif include $(REALTOPDIR)/src/Makefile.common.post ifdef USE_DL_PLUGINS $(BINPATH)/bin/libplugin_ladspa.so: $(OBJS) | $(BINPATH)/bin $(CC) $(ALL_LDFLAGS) -shared -o $@ $^ $(LADSPA_LDFLAGS) endif