Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 336096 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile.in (-2 / +5 lines)
Lines 7-13 Link Here
7
7
8
INCLUDE=@DRIVER_INCDIR@  ${OTHERINCDIR} -I.
8
INCLUDE=@DRIVER_INCDIR@  ${OTHERINCDIR} -I.
9
9
10
CFLAGS=-O0 -Wall -g ${INCLUDE} ${OTHER_CFLAGS}
10
CFLAGS=-O0 -Wall -g ${OTHER_CFLAGS}
11
11
12
LIBOBJS=mcal.o datetime.o lex.ical_yy.o icalroutines.o cal_misc.o $(DRIVER_LIBS)
12
LIBOBJS=mcal.o datetime.o lex.ical_yy.o icalroutines.o cal_misc.o $(DRIVER_LIBS)
13
ALLOBJS=${LIBOBJS} tester.o
13
ALLOBJS=${LIBOBJS} tester.o
Lines 17-22 Link Here
17
LIBCAL=libmcal.a
17
LIBCAL=libmcal.a
18
LIBCAL_SO=libmcal.so
18
LIBCAL_SO=libmcal.so
19
19
20
%.o: %.c
21
	$(CC) $(CFLAGS) -fPIC $(INCLUDE) -c -o $@ $<
22
20
all: libmcal.a libmcal.so
23
all: libmcal.a libmcal.so
21
24
22
install: libmcal.a libmcal.so
25
install: libmcal.a libmcal.so
Lines 38-44 Link Here
38
41
39
libmcal.so: $(LIBOBJS)
42
libmcal.so: $(LIBOBJS)
40
	rm -f $(LIBCAL_SO)
43
	rm -f $(LIBCAL_SO)
41
	gcc $(CFLAGS) -shared -o $(LIBCAL_SO) $(LIBOBJS)
44
	$(CC) -Wl,-soname=$@ $(CFLAGS) $(LDFLAGS) $(INCLUDE) -shared -o $(LIBCAL_SO) $(LIBOBJS)
42
45
43
lex.ical_yy.c: icalscanner.lex
46
lex.ical_yy.c: icalscanner.lex
44
	$(FLEX) $<
47
	$(FLEX) $<
(-)mstore/Makefile.old (+4 lines)
Lines 8-13 Link Here
8
ALLOBJS=mstore.o
8
ALLOBJS=mstore.o
9
TARGET=mstore_driver.o
9
TARGET=mstore_driver.o
10
10
11
%.o: %.c
12
	$(CC) $(CFLAGS) -fPIC $(INCLUDE) -c -o $@ $<
13
14
11
all: $(TARGET)
15
all: $(TARGET)
12
16
13
17
(-)icap/Makefile.old (+4 lines)
Lines 7-12 Link Here
7
ALLOBJS=icap.o icaproutines.o lex.icap_yy.o
7
ALLOBJS=icap.o icaproutines.o lex.icap_yy.o
8
TARGET=icap_driver.o
8
TARGET=icap_driver.o
9
9
10
%.o: %.c
11
	$(CC) $(CFLAGS) -fPIC $(INCLUDE) -c -o $@ $<
12
13
10
all: $(TARGET)
14
all: $(TARGET)
11
15
12
16

Return to bug 336096