Mercurial > audlegacy-plugins
view src/modplug/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 | 499656950801 |
line wrap: on
line source
include ../../mk/rules.mk include ../../mk/init.mk OBJECTIVE_LIBS = libmodplug$(SHARED_SUFFIX) SUBDIRS = archive gui LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR) CXXFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I.. -I../.. -I../../intl CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I.. -I../.. -I../../intl LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) -lstdc++ ./archive/libarchive.a ./gui/libgui.a SOURCES.plugin = plugin.cxx modplugbmp.cxx SOURCES.core = tables.cxx \ sndmix.cxx \ sndfile.cxx \ snd_fx.cxx \ snd_flt.cxx \ snd_dsp.cxx \ fastmix.cxx \ mmcmp.cxx \ load_xm.cxx \ load_wav.cxx \ load_umx.cxx \ load_ult.cxx \ load_stm.cxx \ load_s3m.cxx \ load_ptm.cxx \ load_okt.cxx \ load_mtm.cxx \ load_mod.cxx \ load_med.cxx \ load_mdl.cxx \ load_it.cxx \ load_far.cxx \ load_dsm.cxx \ load_dmf.cxx \ load_dbm.cxx \ load_ams.cxx \ load_amf.cxx \ load_669.cxx \ load_j2b.cxx \ load_mt2.cxx \ load_psm.cxx \ modplug.cxx SOURCES = ${SOURCES.core} ${SOURCES.plugin} OBJECTS = ${SOURCES:.cxx=.o} LIBDEP = gui/libgui.a archive/libarchive.a include ../../mk/objective.mk