diff options
Diffstat (limited to 'www/analog/files')
-rw-r--r-- | www/analog/files/patch-aa | 62 |
1 files changed, 25 insertions, 37 deletions
diff --git a/www/analog/files/patch-aa b/www/analog/files/patch-aa index 2b47d09ef369..83a92ed71e38 100644 --- a/www/analog/files/patch-aa +++ b/www/analog/files/patch-aa @@ -1,37 +1,25 @@ -*** Makefile.orig Wed Apr 8 17:37:54 1998 ---- Makefile Wed Apr 8 19:42:19 1998 -*************** -*** 2,11 **** - # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/ - CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different - # compilers need different CFLAGS, e.g., -O instead of -O2. -! CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation. - # HP/UX cc needs -Aa - # Some Linuces might need -I/usr/src/linux/include -! DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT - OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC or VMS - LIBS = # extra libraries needed; Solaris 2 (SunOS 5) needs - # LIBS = -lnsl and SCO Unix needs LIBS = -lsocket ---- 2,12 ---- - # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/ - CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different - # compilers need different CFLAGS, e.g., -O instead of -O2. -! #CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation. - # HP/UX cc needs -Aa - # Some Linuces might need -I/usr/src/linux/include -! #DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -! DEFS = -DPREFIX=\"$(PREFIX)\" - OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC or VMS - LIBS = # extra libraries needed; Solaris 2 (SunOS 5) needs - # LIBS = -lnsl and SCO Unix needs LIBS = -lsocket -*************** -*** 26,31 **** ---- 27,34 ---- - FORMSRC = analform.c # The source code for that program - FORMHTML = analogform.html # Where the form itself will go - FORMOPTS = # Extra analog options when constructing the form -+ -+ all: $(PROGRAM) - - $(PROGRAM): $(OBJS) $(HEADERS) Makefile - $(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS) +--- Makefile.orig Mon Jun 15 19:57:00 1998 ++++ Makefile Tue Aug 18 21:00:37 1998 +@@ -2,10 +2,11 @@ + # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/ + CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different + # compilers need different CFLAGS, e.g., -O instead of -O2. +-CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation. ++#CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation. + # HP/UX cc needs -Aa + # Some Linuces might need -I/usr/src/linux/include +-DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC ++#DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC ++DEFS = -DPREFIX=\"$(PREFIX)\" + OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS + # RISCOS, BEOS, BS2000 + LIBS = # extra libraries needed; Solaris 2 (SunOS 5) needs +@@ -26,6 +27,8 @@ + # Form interface options: + FORMPROG = anlgform.cgi # The program that processes the data from the form + FORMSRC = anlgform.c # The source code for that program ++ ++all: $(PROGRAM) + + $(PROGRAM): $(OBJS) $(HEADERS) Makefile + $(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS) |