da0859a09c
Parts from Wolfgang S. Rupprecht via PR 4175; testing by Sam Smith.
107 lines
3.3 KiB
Plaintext
107 lines
3.3 KiB
Plaintext
$OpenBSD: patch-src_Makefile,v 1.3 2005/04/18 22:32:36 naddy Exp $
|
|
--- src/Makefile.orig Sun Mar 23 14:57:02 2003
|
|
+++ src/Makefile Mon Apr 18 21:42:20 2005
|
|
@@ -2,10 +2,10 @@
|
|
# Please read docs/Readme.html, or http://www.analog.cx/
|
|
# This is a general Unix-like Makefile: Makefiles for other OS's can be found
|
|
# in the "build" directory.
|
|
-CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
|
|
+#CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
|
|
# compilers need different CFLAGS, e.g., -O instead of -O2.
|
|
MAKE = make # which "make" to use
|
|
-CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
|
|
+#CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
|
|
# HP/UX cc needs CFLAGS = -Aa (HP/UX 9) or -Ae (HP/UX 10)
|
|
# BeOS needs CFLAGS = -O2 -Wl,-L/boot/home/config/lib
|
|
# BS2000/OSD needs CFLAGS = -XLLML -XLLMK
|
|
@@ -66,7 +66,7 @@ HEADERS = anlghead.h anlghea2.h anlghea3
|
|
ALLCFLAGS = $(CFLAGS) $(DEFS) -D$(OS)
|
|
ALLOBJS = $(OBJS) $(SUBDIROBJS)
|
|
|
|
-$(PROGRAM): $(OBJS) $(SUBDIRS) $(HEADERS) Makefile
|
|
+$(PROGRAM): $(OBJS) $(SUBDIRS) $(HEADERS)
|
|
$(CC) $(CFLAGS) -o $(TARGET) $(ALLOBJS) $(LIBS)
|
|
@echo "***"
|
|
@echo "***IMPORTANT: You must read the licence before using analog"
|
|
@@ -86,61 +86,61 @@ pcre: ALWAYS
|
|
zlib: ALWAYS
|
|
cd zlib && $(MAKE) 'CC=$(CC)' 'ALLCFLAGS=$(ALLCFLAGS)'
|
|
|
|
-alias.o: alias.c $(HEADERS) Makefile
|
|
+alias.o: alias.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c alias.c
|
|
|
|
-analog.o: analog.c $(HEADERS) Makefile
|
|
+analog.o: analog.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c analog.c
|
|
|
|
-cache.o: cache.c $(HEADERS) Makefile
|
|
+cache.o: cache.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c cache.c
|
|
|
|
-dates.o: dates.c $(HEADERS) Makefile
|
|
+dates.o: dates.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c dates.c
|
|
|
|
-globals.o: globals.c $(HEADERS) Makefile
|
|
+globals.o: globals.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c globals.c
|
|
|
|
-hash.o: hash.c $(HEADERS) Makefile
|
|
+hash.o: hash.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c hash.c
|
|
|
|
-init.o: init.c $(HEADERS) Makefile
|
|
+init.o: init.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c init.c
|
|
|
|
-init2.o: init2.c $(HEADERS) Makefile
|
|
+init2.o: init2.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c init2.c
|
|
|
|
-input.o: input.c $(HEADERS) Makefile
|
|
+input.o: input.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c input.c
|
|
|
|
-macinput.o: macinput.c $(HEADERS) Makefile
|
|
+macinput.o: macinput.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c macinput.c
|
|
|
|
-macstuff.o: macstuff.c $(HEADERS) Makefile
|
|
+macstuff.o: macstuff.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c macstuff.c
|
|
|
|
-output.o: output.c $(HEADERS) Makefile
|
|
+output.o: output.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c output.c
|
|
|
|
-output2.o: output2.c $(HEADERS) Makefile
|
|
+output2.o: output2.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c output2.c
|
|
|
|
-process.o: process.c $(HEADERS) Makefile
|
|
+process.o: process.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c process.c
|
|
|
|
-settings.o: settings.c $(HEADERS) Makefile
|
|
+settings.o: settings.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c settings.c
|
|
|
|
-sort.o: sort.c $(HEADERS) Makefile
|
|
+sort.o: sort.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c sort.c
|
|
|
|
-tree.o: tree.c $(HEADERS) Makefile
|
|
+tree.o: tree.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c tree.c
|
|
|
|
-utils.o: utils.c $(HEADERS) Makefile
|
|
+utils.o: utils.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c utils.c
|
|
|
|
-win32.o: win32.c $(HEADERS) Makefile
|
|
+win32.o: win32.c $(HEADERS)
|
|
$(CC) $(ALLCFLAGS) -c win32.c
|
|
|
|
force:
|