summaryrefslogtreecommitdiffstats
path: root/misc/libmcal/files/patch-ab
blob: a8c02434e7731a5aee5cde241c90d93bac16c964 (plain)
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
--- icap/Makefile.orig	Sat Feb  5 06:50:57 2000
+++ icap/Makefile	Tue Oct 16 22:54:11 2001
@@ -1,10 +1,9 @@
 #$Id: Makefile.FreeBSD,v 1.1 2000/02/05 05:50:57 mayo Exp $
 
-CC=gcc
-FLEX=flex
+FLEX=/usr/bin/flex
 INCLUDE=-I..
-CFLAGS=-O0 -Wall -g $(INCLUDE)
-ALLOBJS=icap.o icaproutines.o lex.ical_yy.o lex.icap_yy.o
+CFLAGS+=-Wall $(INCLUDE)
+ALLOBJS=icap.o icaproutines.o lex.icap_yy.o
 TARGET=icap_driver.o
 
 all: $(TARGET)
@@ -14,14 +13,11 @@
 	ld -r -o $(TARGET) $(ALLOBJS)
 	touch bootstrap.in
 
-lex.ical_yy.c: icalscanner.lex
-	$(FLEX) icalscanner.lex
-
 lex.icap_yy.c: icapscanner.lex
 	$(FLEX) icapscanner.lex
 
 clean:
-	rm -f $(ALLOBJS) $(TARGET) lex.ical_yy.c lex.icap_yy.c bootstrap.in
+	rm -f $(ALLOBJS) $(TARGET) lex.icap_yy.c bootstrap.in
 
 dep: depend
 
OpenPOWER on IntegriCloud