# DAM : Dynamic Application Model # # --- GSMP-COPYRIGHT-NOTE-BEGIN --- # # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # Please add additional copyright information _after_ the line containing # the GSMP-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by # the ./scripts/Create-CopyPatch script. Do not edit this copyright text! # # GSMP: dam/src/Makefile # General Sound Manipulation Program is Copyright (C) 2000 - 2004 # Valentin Ziegler and René Rebe # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2. A copy of the GNU General # Public License can be found in the file LICENSE. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANT- # ABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # --- GSMP-COPYRIGHT-NOTE-END --- TOPDIR = ../.. #GENERATOR_ARGS := -d NOT_INCS := ../include/Definition.hh ../include/PluginHandle.hh ../include/Resource.hh ../include/ResourceWatcher.hh ../include/ResourceFactory.hh ../include/Binding.hh ../include/PluginManager.hh ../include/Plugin.hh ../include/PluginSpecs.hh ../include/WrapPointer.hh ../include/State.hh ../include/Watcher.hh NOT_SRCS := Definition.cc PluginHandle.cc Resource.cc ResourceWatcher.cc ResourceFactory.cc Binding.cc PluginManager.cc GENERATE_MODULES := CC_GENS HH_GENS TCC_GENS SPEC_GENS FLEX_GENS GENERATE_CC_GENS_SRC_EXT := .cc_in GENERATE_SPEC_GENS_SRC_EXT := .spec GENERATE_FLEX_GENS_SRC_EXT := .lex GENERATE_HH_GENS_PATH := ../include GENERATE_HH_GENS_SRC_EXT := .hh_in GENERATE_HH_GENS_DST_EXT := .hh GENERATE_HH_GENS_LIST := ADD_GENERATED GENERATE_TCC_GENS_PATH := ../include/template GENERATE_TCC_GENS_SRC_EXT := .tcc_in GENERATE_TCC_GENS_DST_EXT := .tcc GENERATE_TCC_GENS_LIST := ADD_GENERATED include $(TOPDIR)/Rules.pre BUILD_LIBS := libgsmdam.so all: generated $(BUILD_LIBS) generated: $(ADD_GENERATED) include $(TOPDIR)/Rules INCDIRS := . ../include ../../utility/include INCLUDES := $(SIGC2INCS) \ $(filter-out $(NOT_INCS), \ $(foreach dir, $(INCDIRS), -I$(dir))) LIBS := $(SIGC2LIBS) -ldl %.hh: %.spec ../utility/spec2cc/spec2cc < $< > $@ %.cc: %.cc_in ../script/generate_tmpl.pl $(GENERATOR_ARGS) $< > $@ %.hh: %.hh_in ../script/generate_tmpl.pl $(GENERATOR_ARGS) $< > $@ %.tcc: %.tcc_in ../script/generate_tmpl.pl $(GENERATOR_ARGS) $< > $@ %.cc: %.lex flex -PSaveData -t -+ $< > $@ #### include $(TOPDIR)/Rules.post