diff options
author | asami <asami@FreeBSD.org> | 1995-10-03 17:24:26 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1995-10-03 17:24:26 +0800 |
commit | 98821256ad6b2c8ea5e022f3af3b134c4a64a047 (patch) | |
tree | 3b70b587b2614bb18915a464e0094d6530957815 /devel/cflow/files | |
parent | b8173f8bc30dc73ebddb7f46a06c768b7637937e (diff) | |
download | freebsd-ports-gnome-98821256ad6b2c8ea5e022f3af3b134c4a64a047.tar.gz freebsd-ports-gnome-98821256ad6b2c8ea5e022f3af3b134c4a64a047.tar.zst freebsd-ports-gnome-98821256ad6b2c8ea5e022f3af3b134c4a64a047.zip |
A call-graph generator for C.
Submitted by: Dave Chapeskie <dchapes@zeus.leitch.com>
Diffstat (limited to 'devel/cflow/files')
-rw-r--r-- | devel/cflow/files/patch-aa | 115 | ||||
-rw-r--r-- | devel/cflow/files/patch-ab | 20 |
2 files changed, 135 insertions, 0 deletions
diff --git a/devel/cflow/files/patch-aa b/devel/cflow/files/patch-aa new file mode 100644 index 000000000000..f86901ec3f5c --- /dev/null +++ b/devel/cflow/files/patch-aa @@ -0,0 +1,115 @@ +*** Makefile.orig Mon Mar 6 09:00:20 1995 +--- Makefile Fri Sep 29 04:08:35 1995 +*************** +*** 5,23 **** + endif + + # use cp backup option if you have gnu cp +! CP=cp +! CP=cp -b + + # where you want to install + ifndef PREFIX +! PREFIX=$(HOME) + endif + + # which shell do we use for the cflow to script? + # I know it works on bash on unix, it also should work with + # msh on ms-dog + ifndef CFLOW_SHELL +! CFLOW_SHELL=/bin/bash + endif + + # actual location of prcc +--- 5,24 ---- + endif + + # use cp backup option if you have gnu cp +! #CP=cp +! #CP=cp -b +! INSTALL_CMD= install -c -o bin -g bin + + # where you want to install + ifndef PREFIX +! PREFIX=/usr/local + endif + + # which shell do we use for the cflow to script? + # I know it works on bash on unix, it also should work with + # msh on ms-dog + ifndef CFLOW_SHELL +! CFLOW_SHELL=$(PREFIX)/bin/bash + endif + + # actual location of prcc +*************** +*** 39,50 **** + LOADLIBES=-L$(HOME)/lib -ldmalloc + endif + +! DEBUG=-g + OPT=-O +! CFLAGS=-Wall $(DEBUG) $(OPT) $(DEFS) + + # set this to where to install + BINDIR=$(PREFIX)/bin + + SRCS=cflow.sh prcc.c prcg.c + +--- 40,52 ---- + LOADLIBES=-L$(HOME)/lib -ldmalloc + endif + +! #DEBUG=-g + OPT=-O +! CFLAGS=$(DEBUG) $(OPT) $(DEFS) + + # set this to where to install + BINDIR=$(PREFIX)/bin ++ MANDIR=$(PREFIX)/man/man1 + + SRCS=cflow.sh prcc.c prcg.c + +*************** +*** 64,80 **** + prototypes: $(PROTOTYPES) + + +! install: install-cflow install-bins + + install-bins: $(BINDIR)/prcc $(BINDIR)/prcg + + install-cflow: $(BINDIR)/cflow + + $(BINDIR)/prcc $(BINDIR)/prcg: $(BINDIR)/%: % +! $(CP) $^ $@ + + $(BINDIR)/cflow: cflow +! $(CP) $^ $@ + + cflow: cflow.sh + sed -e "s;@CFLOW_SHELL@;$(CFLOW_SHELL);g" \ +--- 66,88 ---- + prototypes: $(PROTOTYPES) + + +! install: install-cflow install-bins install-man + + install-bins: $(BINDIR)/prcc $(BINDIR)/prcg + + install-cflow: $(BINDIR)/cflow + ++ install-man: $(MANDIR)/cflow.1.gz ++ + $(BINDIR)/prcc $(BINDIR)/prcg: $(BINDIR)/%: % +! $(INSTALL_CMD) $^ $@ + + $(BINDIR)/cflow: cflow +! $(INSTALL_CMD) -m0755 $^ $@ +! +! $(MANDIR)/cflow.1.gz: cflow.1 +! $(INSTALL_CMD) -m 0644 $^ $(MANDIR) +! gzip --best $(MANDIR)/cflow.1 + + cflow: cflow.sh + sed -e "s;@CFLOW_SHELL@;$(CFLOW_SHELL);g" \ diff --git a/devel/cflow/files/patch-ab b/devel/cflow/files/patch-ab new file mode 100644 index 000000000000..864b02cfd0be --- /dev/null +++ b/devel/cflow/files/patch-ab @@ -0,0 +1,20 @@ +*** prcc.prototypes.h.orig Sun Oct 30 14:32:00 1994 +--- prcc.prototypes.h Fri Sep 29 04:06:51 1995 +*************** +*** 16,23 **** + static void per_file_init(void); + static void per_file_cleanup(void); + static BOOLEAN name_redefined(int isvar); +! static void display_keywords(const char *type, char **words); +! static void show_all_keywords(void); + static BOOLEAN name_to_list(name_t **lp, char *lex_name); + static BOOLEAN name_from_list(name_t **lp); + static BOOLEAN name_in_list(name_t *l); +--- 16,22 ---- + static void per_file_init(void); + static void per_file_cleanup(void); + static BOOLEAN name_redefined(int isvar); +! static void show_all_lists(void); + static BOOLEAN name_to_list(name_t **lp, char *lex_name); + static BOOLEAN name_from_list(name_t **lp); + static BOOLEAN name_in_list(name_t *l); |