diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2001-04-30 00:46:33 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2001-04-30 00:46:33 +0000 |
commit | d600654c2c9424fa0dba8e2d680c116d2fd66454 (patch) | |
tree | d9dcb501cdc80b7d05bf49e6ffd77aab4cb19359 /devel/hypersrc | |
parent | 0f150ffc2636778cc3895ca6ab7560d50f248546 (diff) | |
download | ports-d600654c2c9424fa0dba8e2d680c116d2fd66454.tar.gz ports-d600654c2c9424fa0dba8e2d680c116d2fd66454.zip |
Notes
Diffstat (limited to 'devel/hypersrc')
-rw-r--r-- | devel/hypersrc/files/patch-Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/devel/hypersrc/files/patch-Makefile b/devel/hypersrc/files/patch-Makefile new file mode 100644 index 000000000000..3671100d01f4 --- /dev/null +++ b/devel/hypersrc/files/patch-Makefile @@ -0,0 +1,51 @@ +--- Makefile.orig Tue Mar 13 04:05:59 2001 ++++ Makefile Mon Apr 30 00:39:37 2001 +@@ -59,7 +59,7 @@ + else + + ifndef DEBUG +-C_OPTIMIZE = -O2 -finline-functions ++C_OPTIMIZE = ${CFLAGS} -finline-functions + else + C_OPTIMIZE = -O + endif +@@ -112,10 +112,10 @@ + + # ----- editing the rest should usually be unnecessary ------------------------ + +-CC = gcc -c ++#CC = gcc -c +-CC_FLAGS = $(PROF_OPTS) $(C_DEBUG) $(C_OPTIMIZE) $(C_OPTS) $(C_WARNINGS) -ansi -pipe `gtk-config --cflags` `gnome-config --cflags gnomeui` -Isrc ++CC_FLAGS = $(PROF_OPTS) $(C_DEBUG) $(C_OPTS) $(C_WARNINGS) -ansi -pipe `gtk-config --cflags` `gnome-config --cflags gnomeui` $(C_OPTIMIZE) -Isrc +-LD = gcc ++LD = $(CC) + LD_FLAGS = $(PROF_OPTS) -pipe `gtk-config --libs` `gnome-config --libs gnomeui` + C_SRCS = $(addprefix src/,$(C_SRCS_)) + C_OBJS_ = $(C_SRCS_:.c=.o) + C_OBJS = $(addprefix $(OUT)/,$(C_OBJS_)) +@@ -144,7 +144,7 @@ + $(LD) -o $(OUT)/hypersrc $(C_OBJS) $(LD_FLAGS) $(LIBS) $(OUT)/libparser.a + + $(OUT)/%.o: src/%.c +- $(CC) -o $@ $(CC_FLAGS) $(subst $(OUT)/,src/,$<) ++ $(CC) -c -o $@ $(CC_FLAGS) $(subst $(OUT)/,src/,$<) + + # ----------------------------------------------------------------------------- + # parser (lex/yacc code that builds func graph/tree) +@@ -179,13 +179,13 @@ + mv y.tab.[cho] $(OUT) + + $(OUT)/y.tab.o: $(OUT)/y.tab.c +- $(CC) -o $@ $(CC_FLAGS_PARSER) $(OUT)/y.tab.c ++ $(CC) -c -o $@ $(CC_FLAGS_PARSER) $(OUT)/y.tab.c + + $(OUT)/lex.yy.o: $(OUT)/lex.yy.c +- $(CC) -o $@ $(CC_FLAGS_PARSER) $(OUT)/lex.yy.c ++ $(CC) -c -o $@ $(CC_FLAGS_PARSER) $(OUT)/lex.yy.c + + $(OUT)/str_heap.o: src/str_heap.c src/str_heap.h +- $(CC) -o $@ $(CC_FLAGS_PARSER) src/str_heap.c ++ $(CC) -c -o $@ $(CC_FLAGS_PARSER) src/str_heap.c + + # ----------------------------------------------------------------------------- + |