| version 1.6, 2002/04/19 16:32:12 |
version 1.7, 2002/04/19 17:44:29 |
| Line 79 POST_UNINSTALL = : |
|
| Line 79 POST_UNINSTALL = : |
|
| CC = @CC@ |
CC = @CC@ |
| CPP = @CPP@ |
CPP = @CPP@ |
| CXX = @CXX@ |
CXX = @CXX@ |
| CFLAGS = -O2 -Wall -pedantic |
CFLAGS = -O2 -Wall -pedantic -I$(srcdir) -I$(top_builddir) |
| LN_S = @LN_S@ |
LN_S = @LN_S@ |
| MAKEINFO = @MAKEINFO@ |
MAKEINFO = @MAKEINFO@ |
| RANLIB = @RANLIB@ |
RANLIB = @RANLIB@ |
| Line 127 DEP_FILES = $(srcdir)/.deps/cfg.P \ |
|
| Line 127 DEP_FILES = $(srcdir)/.deps/cfg.P \ |
|
| $(srcdir)/.deps/shared.P |
$(srcdir)/.deps/shared.P |
| |
|
| |
|
| noinst_HEADERS = cfgfile.h \ |
CONFIG_HEADER = config.h |
| cmdline.h \ |
include_HEADERS = cfg.h |
| props.h \ |
noinst_HEADERS = cfgfile.h \ |
| shared.h \ |
cmdline.h \ |
| str/charsets.h \ |
props.h \ |
| str/dynfgets.h \ |
shared.h \ |
| str/strconv.h \ |
str/charsets.h \ |
| str/strctype.h \ |
str/dynfgets.h \ |
| str/strdyn.h \ |
str/strconv.h \ |
| str/strplus.h |
str/strctype.h \ |
| |
str/strdyn.h \ |
| |
str/strplus.h |
| |
|
| noinst_SCRIPTS = compile_test.sh |
noinst_SCRIPTS = compile_test.sh |
| |
|
| Line 144 LIBSTATIC = lib$(PACKAGE).a |
|
| Line 146 LIBSTATIC = lib$(PACKAGE).a |
|
| LIBDYNAMIC = lib$(PACKAGE).so |
LIBDYNAMIC = lib$(PACKAGE).so |
| LIBDYNAMICV = lib$(PACKAGE)-$(VERSION).so |
LIBDYNAMICV = lib$(PACKAGE)-$(VERSION).so |
| |
|
| include_HEADERS = cfg.h |
|
| install_LIB = $(LIBSTATIC) $(LIBDYNAMICV) |
install_LIB = $(LIBSTATIC) $(LIBDYNAMICV) |
| |
|
| man_MANS = |
man_MANS = |
| man3_MANS = |
man3_MANS = |
| MANS = $(man_MANS) $(man3_MANS) |
MANS = $(man_MANS) $(man3_MANS) |
| |
|
| CONFIG_HEADER = config.h |
|
| CONFIG_CLEAN_FILES = Doxyfile |
CONFIG_CLEAN_FILES = Doxyfile |
| SCRIPTS = $(noinst_SCRIPTS) |
SCRIPTS = $(noinst_SCRIPTS) |
| |
|
| HEADERS = $(include_HEADERS) $(noinst_HEADERS) |
HEADERS = $(include_HEADERS) $(noinst_HEADERS) $(CONFIG_HEADER) |
| |
|
| DISTFILES = AUTHOR COPYING TODO \ |
DISTFILES = AUTHOR COPYING TODO \ |
| Doxyfile.in Makefile.in config.h.in configure.in \ |
Doxyfile.in Makefile.in config.h.in configure.in \ |
| config.guess config.sub configure \ |
config.guess config.sub configure \ |
| install-sh missing mkinstalldirs rebuild \ |
install-sh missing mkinstalldirs rebuild \ |
| cfg.c cfg.h \ |
cfg.c cfgfile.c cmdline.c parse.c props.c shared.c \ |
| cfgfile.c cfgfile.h \ |
|
| cmdline.c cmdline.h \ |
|
| parse.c \ |
|
| props.c props.h \ |
|
| shared.c shared.h \ |
|
| str \ |
str \ |
| str/strplus.c \ |
str/strplus.c \ |
| str/strctype.c \ |
str/strctype.c \ |
| str/strdyn.c \ |
str/strdyn.c \ |
| str/dynfgets.c $(noinst_HEADERS) |
str/dynfgets.c \ |
| |
$(include_HEADERS) $(noinst_HEADERS) |
| |
|
| # }}} Targets |
# }}} Targets |
| |
|
| CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION)) |
CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION)) |
| #ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
|
| |
|
| all: Makefile $(MANS) $(HEADERS) config.h lib Doxyfile |
all: Makefile $(MANS) lib Doxyfile |
| |
|
| DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) |
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) |
| |
|
| Line 202 Makefile: $(srcdir)/Makefile.in $(top_b |
|
| Line 197 Makefile: $(srcdir)/Makefile.in $(top_b |
|
| cd $(top_builddir) \ |
cd $(top_builddir) \ |
| && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status |
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status |
| |
|
| #$(ACLOCAL_M4): configure.in |
|
| # cd $(srcdir) && $(ACLOCAL) |
|
| |
|
| config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES) |
config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES) |
| $(SHELL) ./config.status --recheck |
$(SHELL) ./config.status --recheck |
| |
|
| Line 214 $(srcdir)/configure: $(srcdir)/configure |
|
| Line 206 $(srcdir)/configure: $(srcdir)/configure |
|
| $(srcdir)/config.h: $(srcdir)/config.h.in $(top_builddir)/config.status |
$(srcdir)/config.h: $(srcdir)/config.h.in $(top_builddir)/config.status |
| cd $(top_builddir) \ |
cd $(top_builddir) \ |
| && CONFIG_FILES= CONFIG_HEADERS=config.h \ |
&& CONFIG_FILES= CONFIG_HEADERS=config.h \ |
| $(SHELL) ./config.status |
$(SHELL) ./config.status |
| |
@echo timestamp > stamp-h 2> /dev/null |
| |
|
| $(srcdir)/config.h.in: $(top_srcdir)/configure.in |
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in |
| |
|
| |
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in |
| cd $(top_srcdir) && $(AUTOHEADER) |
cd $(top_srcdir) && $(AUTOHEADER) |
| |
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null |
| |
|
| mostlyclean-hdr: |
mostlyclean-hdr: |
| |
|
| Line 230 maintainer-clean-hdr: |
|
| Line 226 maintainer-clean-hdr: |
|
| Doxyfile: $(top_builddir)/config.status Doxyfile.in |
Doxyfile: $(top_builddir)/config.status Doxyfile.in |
| cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status |
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status |
| |
|
| $(srcdir)/strplus.o: $(srcdir)/str/strplus.c |
$(srcdir)/strplus.o: $(srcdir)/str/strplus.c $(CONFIG_HEADER) |
| echo '$(COMPILE) -c $<'; \ |
@echo '$(COMPILE) -c $<'; \ |
| $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
| @-cp .deps/$(*F).pp .deps/$(*F).P; \ |
@-cp .deps/$(*F).pp .deps/$(*F).P; \ |
| tr ' ' '\012' < .deps/$(*F).pp \ |
tr ' ' '\012' < .deps/$(*F).pp \ |
| Line 239 $(srcdir)/strplus.o: $(srcdir)/str/strpl |
|
| Line 235 $(srcdir)/strplus.o: $(srcdir)/str/strpl |
|
| >> .deps/$(*F).P; \ |
>> .deps/$(*F).P; \ |
| rm .deps/$(*F).pp |
rm .deps/$(*F).pp |
| |
|
| $(srcdir)/strdyn.o: $(srcdir)/str/strdyn.c |
$(srcdir)/strdyn.o: $(srcdir)/str/strdyn.c $(CONFIG_HEADER) |
| echo '$(COMPILE) -c $<'; \ |
@echo '$(COMPILE) -c $<'; \ |
| $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
| @-cp .deps/$(*F).pp .deps/$(*F).P; \ |
@-cp .deps/$(*F).pp .deps/$(*F).P; \ |
| tr ' ' '\012' < .deps/$(*F).pp \ |
tr ' ' '\012' < .deps/$(*F).pp \ |
| Line 248 $(srcdir)/strdyn.o: $(srcdir)/str/strdyn |
|
| Line 244 $(srcdir)/strdyn.o: $(srcdir)/str/strdyn |
|
| >> .deps/$(*F).P; \ |
>> .deps/$(*F).P; \ |
| rm .deps/$(*F).pp |
rm .deps/$(*F).pp |
| |
|
| $(srcdir)/dynfgets.o: $(srcdir)/str/dynfgets.c |
$(srcdir)/dynfgets.o: $(srcdir)/str/dynfgets.c $(CONFIG_HEADER) |
| @echo '$(COMPILE) -c $<'; \ |
@echo '$(COMPILE) -c $<'; \ |
| $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
| @-cp .deps/$(*F).pp .deps/$(*F).P; \ |
@-cp .deps/$(*F).pp .deps/$(*F).P; \ |
| Line 257 $(srcdir)/dynfgets.o: $(srcdir)/str/dynf |
|
| Line 253 $(srcdir)/dynfgets.o: $(srcdir)/str/dynf |
|
| >> .deps/$(*F).P; \ |
>> .deps/$(*F).P; \ |
| rm .deps/$(*F).pp |
rm .deps/$(*F).pp |
| |
|
| $(srcdir)/strctype.o: $(srcdir)/str/strctype.c |
$(srcdir)/strctype.o: $(srcdir)/str/strctype.c $(CONFIG_HEADER) |
| @echo '$(COMPILE) -c $<'; \ |
@echo '$(COMPILE) -c $<'; \ |
| $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
| @-cp .deps/$(*F).pp .deps/$(*F).P; \ |
@-cp .deps/$(*F).pp .deps/$(*F).P; \ |
| Line 266 $(srcdir)/strctype.o: $(srcdir)/str/strc |
|
| Line 262 $(srcdir)/strctype.o: $(srcdir)/str/strc |
|
| >> .deps/$(*F).P; \ |
>> .deps/$(*F).P; \ |
| rm .deps/$(*F).pp |
rm .deps/$(*F).pp |
| |
|
| clean-str: |
%.o: %.c $(CONFIG_HEADER) |
| cd str && $(MAKE) clean |
|
| |
|
| test: |
|
| $(CC) $(CFLAGS) -g -ggdb -DSELF_CFG -DDEBUG=1 -o cfg $(SOURCES) |
|
| |
|
| %.o: %.c |
|
| @echo '$(COMPILE) -c $<'; \ |
@echo '$(COMPILE) -c $<'; \ |
| $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
| @-cp .deps/$(*F).pp .deps/$(*F).P; \ |
@-cp .deps/$(*F).pp .deps/$(*F).P; \ |
|
|
| >> .deps/$(*F).P; \ |
>> .deps/$(*F).P; \ |
| rm .deps/$(*F).pp |
rm .deps/$(*F).pp |
| |
|
| |
clean-str: |
| |
cd str && $(MAKE) clean |
| |
|
| |
test: |
| |
$(CC) $(CFLAGS) -g -ggdb -DSELF_CFG -DDEBUG=1 -o cfg $(SOURCES) |
| |
|
| |
|
| # Section: Install {{{ |
# Section: Install {{{ |
| install: all install-exec install-data |
install: all install-exec install-data |