aboutsummaryrefslogtreecommitdiffstats
path: root/www/mathopd/files/patch-aa
blob: b00275347a3b09e0032f5ff2831b4226c66106ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- Makefile.orig   Fri Dec 17 11:09:22 1999
+++ Makefile    Fri Dec 17 11:09:08 1999
@@ -1,23 +1,7 @@
-BIN=mathopd
-CC=gcc
-CFLAGS=-O -Wall
-CPPFLAGS=
-LDFLAGS=
-LDLIBS=
-PREFIX=/usr/local
-SBINDIR=$(PREFIX)/sbin
+PROG=  mathopd
+SRCS=  base64.c cgi.c config.c core.c dummy.c dump.c imap.c log.c \
+   main.c redirect.c request.c util.c
+BINDIR?=${PREFIX}/sbin
+NOMAN= yes
 
-OBJS=  base64.o cgi.o config.o core.o dummy.o dump.o imap.o log.o main.o \
-   redirect.o request.o util.o
-DEPENDS=mathopd.h Makefile
-
-all: $(BIN)
-install: $(BIN)
-   install -c $(BIN) $(SBINDIR)
-$(BIN): $(OBJS)
-   $(CC) $(LDFLAGS) -o $(BIN) $(OBJS) $(LDLIBS)
-$(OBJS): $(DEPENDS)
-.c.o:
-   $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
-clean:
-   rm -f $(BIN) $(OBJS)
+.include <bsd.prog.mk>