mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
8937ed4066
The orignal port only ran on i386, since there were some 64bit conversion problems. The included tar file replaces the compete devel/cocktail tree currently in the ports tree. (lots of patches!) PR: ports/71940 Submitted by: Willem Jan Withagen <wjw@withagen.nl>
60 lines
1010 B
Plaintext
60 lines
1010 B
Plaintext
--- /usr/ports/devel/cocktail/work/cocktail-9309//./common/m2c/Makefile Tue Feb 15 14:21:29 1994
|
|
+++ ./common/m2c/Makefile Thu Aug 5 18:48:48 2004
|
|
@@ -1,25 +1,21 @@
|
|
-OPT = -O
|
|
-CC = cc
|
|
|
|
- # C library (reuse)
|
|
-REUSE = ../../reuse/m2c
|
|
+.include "../../Makefile.inc"
|
|
|
|
- # C libraries
|
|
-CLIBS = $(REUSE)/libreuse.a
|
|
-
|
|
- # options for C compiler
|
|
-CFLAGS = -I$(REUSE) $(OPT)
|
|
-
|
|
-M2FLAGS = -c
|
|
+ROOTDIR = ../..
|
|
+CFLAGS += -I$(INCDIR)
|
|
|
|
OBJS = Character.o Checks.o Convert.o Errors.o Listing.o Path.o Queues.o \
|
|
Stack.o SysError.o
|
|
|
|
-
|
|
-libcommon.a : $(OBJS)
|
|
+libcommon.a: $(OBJS)
|
|
ar ruc libcommon.a $(OBJS)
|
|
ranlib libcommon.a
|
|
|
|
+clean:
|
|
+ -rm -f $(STDCLEAN)
|
|
+ -rm -f Main
|
|
+ -rm -f libcommon.a
|
|
+
|
|
|
|
# HEAD
|
|
|
|
@@ -115,21 +111,3 @@
|
|
Convert.o \
|
|
$(CLIBS)
|
|
|
|
-# TAIL
|
|
-
|
|
-clean :
|
|
- rm -f core *.o
|
|
-
|
|
-CLEAN : clean
|
|
- rm -f libcommon.a
|
|
-
|
|
-.SUFFIXES: .md .mi .h .c .o
|
|
-
|
|
-.mi.c:
|
|
- mtc2 $(M2FLAGS) $*.mi;
|
|
-
|
|
-.md.h:
|
|
- mtc2 $(M2FLAGS) $*.md;
|
|
-
|
|
-.c.o:
|
|
- $(CC) $(CFLAGS) -c $*.c
|