190 $(RM) libtermlib.so libtermlib.so$(VERS);\
191 $(SYMLINK) libcurses.so$(VERS) libtermlib.so$(VERS); \
192 $(SYMLINK) libtermlib.so$(VERS) libtermlib.so;
193
194 #
195 # Install rules for libtermlib.ln links.
196 # Augments a pattern rule in Makefile.targ
197 #
198 $(ROOTLIBDIR)/$(LINTLIB) := INS.file= \
199 -$(RM) $@; $(INS) -s -m $(FILEMODE) -f $(@D) $(LINTLIB); \
200 cd $(ROOTLIBDIR); \
201 $(RM) llib-ltermlib.ln ; \
202 $(SYMLINK) ./llib-lcurses.ln llib-ltermlib.ln;
203
204 $(ROOTLIBDIR64)/$(LINTLIB) := INS.file= \
205 -$(RM) $@; $(INS) -s -m $(FILEMODE) -f $(@D) $(LINTLIB); \
206 cd $(ROOTLIBDIR64); \
207 $(RM) llib-ltermlib.ln ; \
208 $(SYMLINK) ./llib-lcurses.ln llib-ltermlib.ln;
209
210 #
211 # Install rule for the lint source, which is installed only in
212 # the default library dir, not MACH64 etc.
213 #
214 $(ROOTLINTDIR)/%: ../screen/%
215 $(INS.file)
216 cd $(ROOTLINTDIR); \
217 $(RM) llib-ltermlib ; \
218 $(SYMLINK) ./llib-lcurses llib-ltermlib;
219
220 #
221 # Include library targets
222 #
223 include ../../Makefile.targ
|
190 $(RM) libtermlib.so libtermlib.so$(VERS);\
191 $(SYMLINK) libcurses.so$(VERS) libtermlib.so$(VERS); \
192 $(SYMLINK) libtermlib.so$(VERS) libtermlib.so;
193
194 #
195 # Install rules for libtermlib.ln links.
196 # Augments a pattern rule in Makefile.targ
197 #
198 $(ROOTLIBDIR)/$(LINTLIB) := INS.file= \
199 -$(RM) $@; $(INS) -s -m $(FILEMODE) -f $(@D) $(LINTLIB); \
200 cd $(ROOTLIBDIR); \
201 $(RM) llib-ltermlib.ln ; \
202 $(SYMLINK) ./llib-lcurses.ln llib-ltermlib.ln;
203
204 $(ROOTLIBDIR64)/$(LINTLIB) := INS.file= \
205 -$(RM) $@; $(INS) -s -m $(FILEMODE) -f $(@D) $(LINTLIB); \
206 cd $(ROOTLIBDIR64); \
207 $(RM) llib-ltermlib.ln ; \
208 $(SYMLINK) ./llib-lcurses.ln llib-ltermlib.ln;
209
210 COMPATLINKS += /usr/ccs/lib/libcurses.so \
211 /usr/ccs/lib/libtermlib.so \
212 /usr/lib/libtermlib.so \
213 /usr/lib/libtermlib.so.1
214
215 COMPATLINKS64 += /usr/ccs/lib/$(MACH64)/libcurses.so \
216 /usr/ccs/lib/$(MACH64)/libtermlib.so \
217 /usr/lib/$(MACH64)/libtermlib.so \
218 /usr/lib/$(MACH64)/libtermlib.so.1
219
220 $(ROOT)/usr/ccs/lib/libcurses.so := COMPATLINKTARGET=../../../lib/libcurses.so.1
221 $(ROOT)/usr/ccs/lib/libtermlib.so := \
222 COMPATLINKTARGET=../../../lib/libcurses.so.1
223 $(ROOT)/usr/ccs/lib/$(MACH64)/libcurses.so := \
224 COMPATLINKTARGET=../../../../lib/$(MACH64)/libcurses.so.1
225 $(ROOT)/usr/ccs/lib/$(MACH64)/libtermlib.so := \
226 COMPATLINKTARGET=../../../../lib/$(MACH64)/libcurses.so.1
227 $(ROOT)/usr/lib/libtermlib.so.1 := COMPATLINKTARGET= ../../lib/libcurses.so.1
228 $(ROOT)/usr/lib/libtermlib.so := COMPATLINKTARGET= ../../lib/libcurses.so.1
229 $(ROOT)/usr/lib/$(MACH64)/libtermlib.so.1 := \
230 COMPATLINKTARGET= ../../../lib/$(MACH64)/libcurses.so.1
231 $(ROOT)/usr/lib/$(MACH64)/libtermlib.so := \
232 COMPATLINKTARGET= ../../../lib/$(MACH64)/libcurses.so.1
233
234 #
235 # Install rule for the lint source, which is installed only in
236 # the default library dir, not MACH64 etc.
237 #
238 $(ROOTLINTDIR)/%: ../screen/%
239 $(INS.file)
240 cd $(ROOTLINTDIR); \
241 $(RM) llib-ltermlib ; \
242 $(SYMLINK) ./llib-lcurses llib-ltermlib;
243
244 #
245 # Include library targets
246 #
247 include ../../Makefile.targ
|