earle@SUN.COM (Greg Earle) (02/10/89)
In the R3 lib/oldX/Imakefile, I found the following: NormalLibraryTarget(oldX,$(OBJS)) LintLibraryTarget(oldX,*.c) InstallLibrary(oldX,$(USRLIBDIR)) InstallLintLibrary(oldX,$(LINTLIBDIR)) InstallMultiple($(HEADERS),$(INCDIR)) #if ProfileOldLibX ProfiledLibraryTarget(oldX,$(V10LIST)) <== *** InstallLibrary(oldX_p,$(USRLIBDIR)) #endif #if DebugOldLibX DebuggedLibraryTarget(oldX,$(V10LIST)) <== *** #endif Why is there a `$(V10LIST)' in the debugged and profiled versions, and not $(OBJS) like the normal version? `V10LIST' is empty ... Bug/Oversight/Feature? Am I the only one that builds debugged and profiled versions of everything? Oh you studly programmers, you (^: Also, back up in lib/X, the make install for a profiled library does a install -c -m 0664 libX_p.a /usr/local/lib ranlib -t /usr/local/lib/libX_p.a (cd /usr/local/lib ; ln -s libX11_p.a libX_p.a) This fails because the install rule for the profiled library is wrong in the Makefile. Therefore in lib/X/Imakefile, the rule #if ProfileLibX && ProfileLibXArchive ... AliasedLibraryTarget(X11_p,X_p) (See below) InstallLibrary(X_p,$(USRLIBDIR)) InstallLibraryAlias(X11_p,X_p,$(USRLIBDIR)) (See below) #endif is incorrect and should be InstallLibrary(X11_p,$(USRLIBDIR)) Also, shouldn't the two rules above for Target Aliasing be commented out by default, just like they are for libX11.a? - Greg Earle Sun Los Angeles Consulting earle@Sun.COM