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

Collapse All | Expand All

(-)hspell-1.0/Makefile.in (-3 / +18 lines)
Lines 76-82 clean: Link Here
76
	      hebrew.wgz.lingsizes.tmp dmask.c install.js \
76
	      hebrew.wgz.lingsizes.tmp dmask.c install.js \
77
	      spell-he.xpi he.dic he.aff README-he.txt \
77
	      spell-he.xpi he.dic he.aff README-he.txt \
78
	      README_he_IL.txt he_IL.dic he_IL.aff he_IL.zip \
78
	      README_he_IL.txt he_IL.dic he_IL.aff he_IL.zip \
79
	      specfilter.o specfilter
79
	      specfilter.o specfilter \
80
	      libhspell.so.0 libhspell.so *.lo
80
	rm -f hebeng/install.js hebeng/heb-eng.aff hebeng/heb-eng.dic \
81
	rm -f hebeng/install.js hebeng/heb-eng.aff hebeng/heb-eng.dic \
81
	      hebeng/README-he.txt hebeng/README-en-US.txt \
82
	      hebeng/README-he.txt hebeng/README-en-US.txt \
82
	      hebeng/spell-heb-eng.xpi
83
	      hebeng/spell-heb-eng.xpi
Lines 113-118 install: all Link Here
113
	test -d $(DESTDIR)$(LIBDIR) || mkdir -m 755 -p $(DESTDIR)$(LIBDIR)
114
	test -d $(DESTDIR)$(LIBDIR) || mkdir -m 755 -p $(DESTDIR)$(LIBDIR)
114
	cp libhspell.a $(DESTDIR)$(LIBDIR)/
115
	cp libhspell.a $(DESTDIR)$(LIBDIR)/
115
	chmod 644 $(DESTDIR)$(LIBDIR)/libhspell.a
116
	chmod 644 $(DESTDIR)$(LIBDIR)/libhspell.a
117
	cp libhspell.so.0 $(DESTDIR)$(LIBDIR)/
118
	chmod 755 $(DESTDIR)$(LIBDIR)/libhspell.so.0
119
	ln -sf libhspell.so.0 $(DESTDIR)$(LIBDIR)/libhspell.so
116
	test -d $(DESTDIR)$(INCLUDEDIR) || mkdir -m 755 -p $(DESTDIR)$(INCLUDEDIR)
120
	test -d $(DESTDIR)$(INCLUDEDIR) || mkdir -m 755 -p $(DESTDIR)$(INCLUDEDIR)
117
	cp hspell.h linginfo.h $(DESTDIR)$(INCLUDEDIR)/
121
	cp hspell.h linginfo.h $(DESTDIR)$(INCLUDEDIR)/
118
	chmod 644 $(DESTDIR)$(INCLUDEDIR)/hspell.h $(DESTDIR)$(INCLUDEDIR)/linginfo.h
122
	chmod 644 $(DESTDIR)$(INCLUDEDIR)/hspell.h $(DESTDIR)$(INCLUDEDIR)/linginfo.h
Lines 166-184 libhspell.a: dict_radix.o gimatria.o cor Link Here
166
	ar cr $@ $^
170
	ar cr $@ $^
167
	-ranlib $@
171
	-ranlib $@
168
172
169
$(HSPELL_EXECUTABLE): hspell.o tclHash.o libhspell.a
173
EXTRAOBJECTSPIC=$(EXTRAOBJECTS:.o=.lo)
170
	$(CC) $(CFLAGS) $(LDFLAGS) -o $(HSPELL_EXECUTABLE) hspell.o tclHash.o libhspell.a $(LIBS)
174
175
%.lo: %.c
176
	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -o $@ $<
177
178
libhspell.so.0: dict_radix.lo gimatria.lo corlist.lo libhspell.lo $(EXTRAOBJECTSPIC)
179
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ -shared -Wl,-soname,libhspell.so.0 $^
180
	ln -sf libhspell.so.0 libhspell.so
181
182
$(HSPELL_EXECUTABLE): hspell.o tclHash.o libhspell.so.0
183
	$(CC) $(CFLAGS) $(LDFLAGS) -o $(HSPELL_EXECUTABLE) hspell.o tclHash.o libhspell.so.0 $(LIBS)
171
184
172
# remember to update this dependency list once in a while...
185
# remember to update this dependency list once in a while...
173
libhspell.o dict_radix.o find_sizes.o: dict_radix.h
186
libhspell.o dict_radix.o find_sizes.o: dict_radix.h
174
dict_radix.o linginfo.o: gzbuffered.h
187
dict_radix.o linginfo.o: gzbuffered.h
175
libhspell.o mk_he_affix.o: prefixes.c
188
libhspell.o mk_he_affix.o: prefixes.c
189
libhspell.lo mk_he_affix.lo: prefixes.c
176
hspell.o: hash.h tclHash.h
190
hspell.o: hash.h tclHash.h
177
tclHash.o: tclHash.h
191
tclHash.o: tclHash.h
178
corlist.o gimatria.o hspell.o libhspell.o: hspell.h
192
corlist.o gimatria.o hspell.o libhspell.o: hspell.h
179
hspell.o libhspell.o linginfo.o: linginfo.h hspell.h
193
hspell.o libhspell.o linginfo.o: linginfo.h hspell.h
180
linginfo.o: dmask.c
194
linginfo.o: dmask.c
181
specfilter.o: prefixes.c
195
specfilter.o: prefixes.c
196
specfilter.lo: prefixes.c
182
197
183
prefixes.c: genprefixes.pl PrefixBits.pl
198
prefixes.c: genprefixes.pl PrefixBits.pl
184
	$(PERL) -w ./genprefixes.pl >prefixes.c
199
	$(PERL) -w ./genprefixes.pl >prefixes.c

Return to bug 152818