$(UNLINKD)
cf_gen_SOURCES = cf_gen.cc
-nodist_cf_gen_HEADER = cf_gen_defines.h
+nodist_cf_gen_HEADER = cf_gen_defines.cci
cf_gen_LDADD= \
$(COMPAT_LIB) \
$(EPOLL_LIBS) \
$(MINGW_LIBS) \
$(XTRA_LIBS)
-cf_gen.$(OBJEXT): cf_gen_defines.h
+cf_gen.$(OBJEXT): cf_gen_defines.cci
-## cf_gen.cc needs src/cf_gen_defines.h
+## cf_gen.cc needs src/cf_gen_defines.cci
INCLUDES += -I$(top_builddir)/src
SquidTime.h
BUILT_SOURCES = \
- cf_gen_defines.h \
- cf_parser.h \
+ cf_gen_defines.cci \
+ cf_parser.cci \
err_type.cc \
globals.cc \
hier_code.cc \
$(CC) -o $@ $(LDFLAGS) $@.o CacheDigest.o debug.o globals.o store_key_md5.o $(STD_APP_LIBS)
## If autodependency works well this is not needed anymore
-cache_cf.o: cf_parser.h
+cache_cf.o: cf_parser.cci
-# squid.conf.default is built by cf_gen when making cf_parser.h
-squid.conf.default squid.conf.documented: cf_parser.h
+# squid.conf.default is built by cf_gen when making cf_parser.cci
+squid.conf.default squid.conf.documented: cf_parser.cci
true
-cf_parser.h: cf.data cf_gen$(EXEEXT)
+cf_parser.cci: cf.data cf_gen$(EXEEXT)
./cf_gen cf.data $(srcdir)/cf.data.depend
-cf_gen_defines.h: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre
+cf_gen_defines.cci: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre
$(AWK) -f $(srcdir)/cf_gen_defines <$(srcdir)/cf.data.pre >$@ || ($(RM) -f $@ && exit 1)
storeAppendPrintf(entry, "\n");
}
-#include "cf_parser.h"
+#include "cf_parser.cci"
peer_t
parseNeighborType(const char *s)
/*
- * DEBUG: none Generate squid.conf.default and cf_parser.h
+ * DEBUG: none Generate squid.conf.default and cf_parser.cci
* AUTHOR: Max Okumoto
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* (ie it creates the squid.conf.default file from the cf.data file)
*
* The output files are as follows:
- * cf_parser.h - this file contains, default_all() which
+ * cf_parser.cci - this file contains, default_all() which
* initializes variables with the default
* values, parse_line() that parses line from
* squid.conf.default, dump_config that dumps the
//#include "squid.h"
#include "config.h"
//#include "SquidTime.h"
-#include "cf_gen_defines.h"
#include "util.h"
#if HAVE_STRING_H
#include <ctype.h>
#endif
+#include "cf_gen_defines.cci"
+
#define MAX_LINE 1024 /* longest configuration line */
-#define _PATH_PARSER "cf_parser.h"
+#define _PATH_PARSER "cf_parser.cci"
#define _PATH_SQUID_CONF "squid.conf.documented"
#define _PATH_SQUID_CONF_SHORT "squid.conf.default"
#define _PATH_CF_DEPEND "cf.data.depend"