| version 1.22, 2002/06/14 14:02:40 |
version 1.23, 2002/06/14 19:00:42 |
|
|
| |
|
| PACKAGE = @PACKAGE@ |
PACKAGE = @PACKAGE@ |
| VERSION = @VERSION@ |
VERSION = @VERSION@ |
| |
CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION)) |
| |
|
| |
|
| SHELL = @SHELL@ |
SHELL = @SHELL@ |
| Line 111 SOURCES = $(srcdir)/cfg+.c \ |
|
| Line 112 SOURCES = $(srcdir)/cfg+.c \ |
|
| $(srcdir)/str/strdyn.c \ |
$(srcdir)/str/strdyn.c \ |
| $(srcdir)/str/dynfgets.c |
$(srcdir)/str/dynfgets.c |
| |
|
| OBJECTS = $(srcdir)/cfg+.o \ |
OBJECTS = $(top_builddir)/src/cfg+.o \ |
| $(srcdir)/parse.o \ |
$(top_builddir)/src/parse.o \ |
| $(srcdir)/props.o \ |
$(top_builddir)/src/props.o \ |
| $(srcdir)/cmdline.o \ |
$(top_builddir)/src/cmdline.o \ |
| $(srcdir)/cfgfile.o \ |
$(top_builddir)/src/cfgfile.o \ |
| $(srcdir)/shared.o \ |
$(top_builddir)/src/shared.o \ |
| $(srcdir)/str/strplus.o \ |
$(top_builddir)/src/str/strplus.o \ |
| $(srcdir)/str/strctype.o \ |
$(top_builddir)/src/str/strctype.o \ |
| $(srcdir)/str/strdyn.o \ |
$(top_builddir)/src/str/strdyn.o \ |
| $(srcdir)/str/dynfgets.o |
$(top_builddir)/src/str/dynfgets.o |
| |
|
| DEP_FILES = $(srcdir)/.deps/cfg+.P \ |
DEP_FILES = $(top_builddir)/src/.deps/cfg+.P \ |
| $(srcdir)/.deps/parse.P \ |
$(top_builddir)/src/.deps/parse.P \ |
| $(srcdir)/.deps/props.P \ |
$(top_builddir)/src/.deps/props.P \ |
| $(srcdir)/.deps/cmdline.P \ |
$(top_builddir)/src/.deps/cmdline.P \ |
| $(srcdir)/.deps/cfgfile.P \ |
$(top_builddir)/src/.deps/cfgfile.P \ |
| $(srcdir)/.deps/shared.P |
$(top_builddir)/src/.deps/shared.P \ |
| |
$(top_builddir)/src/str/strplus.P \ |
| |
$(top_builddir)/src/str/strctype.P \ |
| |
$(top_builddir)/src/str/strdyn.P \ |
| |
$(top_builddir)/src/str/dynfgets.P |
| |
|
| |
|
| CONFIG_HEADER = $(top_srcdir)/config.h |
CONFIG_HEADER = $(top_builddir)/config.h |
| include_HEADERS = cfg+.h |
include_HEADERS = cfg+.h |
| include_SYMLINK = cfg.h |
include_SYMLINK = cfg.h |
| noinst_HEADERS = cfgfile.h \ |
noinst_HEADERS = cfgfile.h \ |
| Line 159 HEADERS = $(include_HEADERS) $(noinst_H |
|
| Line 164 HEADERS = $(include_HEADERS) $(noinst_H |
|
| |
|
| # }}} Targets |
# }}} Targets |
| |
|
| CVSTAG = $(PACKAGE)-$(subst .,_,$(VERSION)) |
|
| |
|
| all: makefiles configure-scripts $(MANS) lib |
all: makefiles configure-scripts $(MANS) lib |
| |
|
| |
# create str/ subdir if doesn't exists |
| |
SUBDIR_STR_MAGIC := $(shell mkdir str > /dev/null 2>&1 || :) |
| |
|
| # Makefiles, configure scripts dependencies {{{ |
# Makefiles, configure scripts dependencies {{{ |
| makefiles: $(top_builddir)/Makefile \ |
makefiles: $(top_builddir)/Makefile \ |
| $(top_builddir)/src/Makefile \ |
$(top_builddir)/src/Makefile \ |
| Line 266 maintainer-clean-hdr: |
|
| Line 272 maintainer-clean-hdr: |
|
| rm .deps/$(*F).pp |
rm .deps/$(*F).pp |
| |
|
| clean-str: |
clean-str: |
| cd str && rm -f *.o |
-cd $(top_builddir)/src/str && rm -f *.o |
| |
|
| test: |
test: |
| $(CC) $(INCLUDES) -Wall -g -ggdb -DSELF_CFG -DDEBUG=1 -o test-libcfg+ $(SOURCES) |
$(CC) $(INCLUDES) -Wall -g -ggdb -DSELF_CFG -DDEBUG=1 -o test-libcfg+ $(SOURCES) |
| Line 468 maintainer-clean-generic: |
|
| Line 474 maintainer-clean-generic: |
|
| mostlyclean: mostlyclean-hdr mostlyclean-tags mostlyclean-generic |
mostlyclean: mostlyclean-hdr mostlyclean-tags mostlyclean-generic |
| |
|
| clean: clean-str clean-hdr clean-tags clean-generic mostlyclean clean-lib |
clean: clean-str clean-hdr clean-tags clean-generic mostlyclean clean-lib |
| -rm -f *.o core *.core |
-cd $(top_builddir)/src/ && \ |
| -rm -rf .deps |
rm -f *.o core *.core ; \ |
| |
rm -rf .deps |
| |
|
| clean-lib: |
clean-lib: |
| -rm -f lib* |
-rm -f lib* |