Mercurial > audlegacy-plugins
view src/amidi-plug/Makefile @ 894:f19e6748d8eb trunk
[svn] maintenance of build system:
- link for OBJECTIVE_LIBS had not occurred even if OBJECTIVE_LIBS_NOINST was re-linked. LIBDEP macro is introduced to indicate dependency.
- make rules such as $(AR) cq $@ $(OBJECTS) in individual Makefile have been removed. these linkage will be done through objective.mk.
- *.h has been removed from SOURCES. these files had been passed to linker as object files.
author | yaz |
---|---|
date | Sat, 24 Mar 2007 09:08:58 -0700 |
parents | 550c9e382cf8 |
children | 5af55c925d6e |
line wrap: on
line source
include ../../mk/rules.mk include ../../mk/init.mk OBJECTIVE_LIBS = libamidi-plug$(SHARED_SUFFIX) SUBDIRS = pcfg $(AMIDIPLUG_BACKENDS) noinst_HEADERS = amidi-plug.h i_backend.h i_midi.h i_midievent.h \ i_vfslayer.h i_configure.h i_configure_private.h \ i_configure_file.h i_configure-ap.h i_configure-alsa.h \ i_configure-fluidsynth.h i_configure-dummy.h \ i_fileinfo.h i_utils.h i_common.h \ amidi-plug-icon.xpm amidi-plug.logo.xpm \ amidi-plug.midiicon.xpm LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) LIBADD = $(GTK_LIBS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(GMODULE_LIBS) -lpthread ./pcfg/libpcfg.a SOURCES = amidi-plug.c i_vfslayer.c i_midi.c i_backend.c \ i_configure.c i_configure-ap.c i_configure-alsa.c \ i_configure-fluidsynth.c i_configure-dummy.c \ i_utils.c i_fileinfo.c OBJECTS = ${SOURCES:.c=.o} LIBDEP = ./pcfg/libpcfg.a CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(GMODULE_CFLAGS) -DAMIDIPLUGBACKENDDIR=\"$(AMIDIPLUGBACKENDDIR)\" \ -I../../intl -I../.. include ../../mk/objective.mk