# Copyright (C) 2013 The Meme Factory, Inc. http://www.meme.com>/ # # This file is part of GombeMI. # # GombeMI 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; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GombeMI. If not, see . # # Makefile for conversion from acess. # # Karl O. Pinc DBPATH := ../../db # Have make look for files in the include directory VPATH = $(DBPATH)/include:$(DBPATH) # Defaults for variable values # Have a look as you'll probably want to set some of them. include $(DBPATH)/defaults.mk # The stuff in the include directory (pass to sub-makes too) export INCLUDES = constants.m4 copyright.m4 types.m4 globalmacros.m4 TARGETS = makeschema prepared_data all: $(INCLUDES) $(TARGETS) .PHONY: vacuum_sys vacuum_sys: [ -x vacuum_sys ] || chmod a+x vacuum_sys makeschema: include/grants.m4 include/copyright.m4 include/constants.m4 \ Makefile makeschema.m4 m4 -I $(DBPATH)/include makeschema.m4 > makeschema prepared_data: include/grants.m4 include/copyright.m4 \ include/constants.m4 Makefile prepared_data.m4 m4 -I $(DBPATH)/include prepared_data.m4 > prepared_data .PHONY: clean clean: rm -rf $(TARGETS)