From 04a8c05b90f6c9e3d85448f479e2f8777e63277e Mon Sep 17 00:00:00 2001 From: nishi Date: Fri, 19 Apr 2024 04:34:27 +0000 Subject: [PATCH] template system git-svn-id: file:///raid/svn-main/nishi-mandshurica/trunk@35 f982e544-4a7d-3444-ad1a-fde59a2a69f1 --- Mandshurica/Makefile | 2 +- Mandshurica/ms_template.h | 36 ++++++++++++++++++++++++++++++++++++ Mandshurica/template.c | 5 +++++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 Mandshurica/ms_template.h create mode 100644 Mandshurica/template.c diff --git a/Mandshurica/Makefile b/Mandshurica/Makefile index c3f4ebe..2db8d5d 100644 --- a/Mandshurica/Makefile +++ b/Mandshurica/Makefile @@ -12,7 +12,7 @@ endif all: ./mandshurica -./mandshurica: ./main.o ./log.o ./config.o ./util.o +./mandshurica: ./main.o ./log.o ./config.o ./util.o ./template.o $(CC) $(LDFLAGS) $(EXTRA_LDFLAGS) -o $@ $^ $(LIBS) $(EXTRA_LIBS) ./main.o: ./main.c ./mandshurica.h diff --git a/Mandshurica/ms_template.h b/Mandshurica/ms_template.h new file mode 100644 index 0000000..193fbd4 --- /dev/null +++ b/Mandshurica/ms_template.h @@ -0,0 +1,36 @@ +/* $Id$ */ +/* --- START LICENSE --- */ +/* -------------------------------------------------------------------------- */ +/* Mandshurica - Build Automation */ +/* -------------------------------------------------------------------------- */ +/* Copyright (c) 2024 Nishi. */ +/* Redistribution and use in source and binary forms, with or without modific */ +/* ation, are permitted provided that the following conditions are met: */ +/* 1. Redistributions of source code must retain the above copyright noti */ +/* ce, this list of conditions and the following disclaimer. */ +/* 2. Redistributions in binary form must reproduce the above copyright n */ +/* otice, this list of conditions and the following disclaimer in the documen */ +/* tation and/or other materials provided with the distribution. */ +/* 3. Neither the name of the copyright holder nor the names of its contr */ +/* ibutors may be used to endorse or promote products derived from this softw */ +/* are without specific prior written permission. */ +/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS */ +/* " AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, TH */ +/* E IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPO */ +/* SE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS */ +/* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CON */ +/* SEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITU */ +/* TE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPT */ +/* ION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, S */ +/* TRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN AN */ +/* Y WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY */ +/* OF SUCH DAMAGE. */ +/* -------------------------------------------------------------------------- */ +/* --- END LICENSE --- */ + +#ifndef __MANDSHURICA_MS_TEMPLATE_H__ +#define __MANDSHURICA_MS_TEMPLATE_H__ + + + +#endif diff --git a/Mandshurica/template.c b/Mandshurica/template.c new file mode 100644 index 0000000..3b94306 --- /dev/null +++ b/Mandshurica/template.c @@ -0,0 +1,5 @@ +/* $Id$ */ +/* --- START LICENSE --- */ +/* --- END LICENSE --- */ + +#include "ms_template.h" -- 2.43.0