1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/www/mathopd/files/patch-aa

33 lines
752 B
Plaintext
Raw Normal View History

--- 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>