1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/databases/typhoon/files/patch-af
Kevin Lo afec5bbcdb Support CC/CFLAGS properly.
PR: 22987
Submitted by: MAINTAINER
2000-11-21 15:46:38 +00:00

95 lines
2.7 KiB
Plaintext

--- src/Makefile.in.orig Mon May 22 01:47:27 1995
+++ src/Makefile.in Sat Nov 18 03:21:22 2000
@@ -6,15 +6,15 @@
CC = @cc@
CFLAGS = @cflags@
RANLIB = @ranlib@
-PREFIX = /usr/local
-DESTLIB = $(PREFIX)/lib
-DESTHDR = $(PREFIX)/include
-DESTOWN = root
-DESTGRP = local
+SHLIB_MAJOR = 1
+SHLIB_MINOR = 10
+LIBDIR = $(PREFIX)/lib
+LIBOWN = bin
+LIBGRP = bin
SHELL = /bin/sh
-LIBRARY = libtyphoon.a
+LIB = typhoon
LIBHDRS = ../include/environ.h ../include/typhoon.h
-LIBID = TYPHOON 1.0 $(DESTLIB)/$(LIBRARY)
+
SRCS = bt_del.c bt_funcs.c bt_io.c bt_open.c cmpfuncs.c os.c \
readdbd.c record.c ty_auxfn.c ty_find.c ty_ins.c \
ty_io.c ty_log.c ty_open.c ty_refin.c ty_repl.c \
@@ -27,67 +27,4 @@
ty_repl.o ty_util.o unix.o vlr.o ansi.o sequence.o
UNUSED = dos.c os2.c ty_lock.c
-.DEFAULT:
- co $@
-
-.PHONY: all lint tags install uninstall clean
-
-.c.o:
- $(CC) -c $(CFLAGS) $<
-# -mcs -d -a '@(#)$(LIBID)' $@
-
-all: $(LIBRARY)
-
-$(LIBRARY): $(OBJS)
- ar cru $(LIBRARY) $(OBJS)
- $(RANLIB) $(LIBRARY)
-
-#catalog.dbd: catalog.ddl
-# ddlp -f -hcatalog.h -a4 catalog
-
-lint:
- lint -u $(DEFINES) $(SRCS)
-
-tags: $(HDRS) $(SRCS)
- ctags -w $(HDRS) $(SRCS)
-
-install: $(LIBRARY)
- cp $(LIBRARY) $(DESTLIB)
- -ranlib $(DESTLIB)/$(LIBRARY)
- chmod 644 $(DESTLIB)/$(LIBRARY)
- chown $(DESTOWN) $(DESTLIB)/$(LIBRARY)
- chgrp $(DESTGRP) $(DESTLIB)/$(LIBRARY)
- cp $(LIBHDRS) $(DESTHDR)
- cd $(DESTHDR) && chmod 644 $(LIBHDRS)
- cd $(DESTHDR) && chown $(DESTOWN) $(LIBHDRS)
- cd $(DESTHDR) && chgrp $(DESTGRP) $(LIBHDRS)
-
-uninstall:
- rm -f $(DESTLIB)/$(LIBRARY)
- cd $(DESTHDR) && rm -f $(LIBHDRS)
-
-clean:
- -rcsclean -u
- -rm -f $(LIBRARY) $(OBJS)
- -rm -f Makefile lib.a tags made *.o
-
-### Do NOT edit this or the following lines.
-bt_del.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h btree.h
-bt_funcs.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h btree.h
-bt_io.o: ty_dbd.h ty_type.h btree.h
-bt_open.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h btree.h
-cmpfuncs.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-readdbd.o: ty_dbd.h ty_type.h ty_glob.h
-record.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h
-ty_auxfn.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_find.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_ins.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_io.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_log.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h ty_log.h
-ty_open.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_refin.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-ty_repl.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h ty_repif.h catalog.h
-ty_util.o: ty_dbd.h ty_type.h ty_glob.h ty_prot.h
-unix.o: ty_dbd.h ty_type.h
-vlr.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h
-sequence.o: ty_dbd.h ty_type.h ty_prot.h ty_glob.h
+.include <bsd.lib.mk>