diff options
author | Ken Raeburn <raeburn@mit.edu> | 2000-08-30 23:06:55 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2000-08-30 23:06:55 +0000 |
commit | 5969630081b7eb43a4e6d4374407544174d77770 (patch) | |
tree | d38e20c08703210ddc504df9271f2460bddf4db1 /src/config/lib.in | |
parent | 95f7625ca57c5b12ee8bc912b8ba9527777217d0 (diff) | |
download | krb5-5969630081b7eb43a4e6d4374407544174d77770.zip krb5-5969630081b7eb43a4e6d4374407544174d77770.tar.gz krb5-5969630081b7eb43a4e6d4374407544174d77770.tar.bz2 |
* lib.in (EXTRA_CLEAN_TARGETS, EXTRA_CLEAN_LINKS): New variables.
(clean-libs, clean-liblinks): Depend on targets specified in those variables.
(config.status): Depend on shlib.conf.
(all-framework, link-framework, clean-framework, clean-framework-link,
install-framework): New targets, details to be filled in later.
* pre.in (KRB5_LIB_libopt): Renamed from KDB5_LIB.
(KRB5_LIB_frameworkopt): Tentative framework version for Mac OS X, details to
be tuned later.
(KRB5_LIB): Select between them using @LIB_LINK_OPT@.
(KRB5CRYPTO_LIB*, COM_ERR_LIB*, GSS_KRB5_LIB*): Similarly.
(KRB5_BASE_LIBS, GSS_LIBS): Use them.
(KRB4COMPAT_LIBS): Use KRB5_BASE_LIBS.
* shlib.conf: Set LIB_LINK_OPT. Set new EXTRA_* variables for darwin target.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12638 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config/lib.in')
-rw-r--r-- | src/config/lib.in | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/src/config/lib.in b/src/config/lib.in index 54f7f1e..ad37262 100644 --- a/src/config/lib.in +++ b/src/config/lib.in @@ -40,6 +40,10 @@ LIBLINKS=@LIBLINKS@ # Set by configure; list of install targets LIBINSTLIST=@LIBINSTLIST@ +# Set by configure; list of extra targets when cleaning +EXTRA_CLEAN_TARGETS=@EXTRA_CLEAN_TARGETS@ +EXTRA_CLEAN_LINKS=@EXTRA_CLEAN_LINKS@ + # Some of these should really move to pre.in, since programs will need # it too. (e.g. stuff that has dependencies on the libraries) @@ -128,20 +132,36 @@ $(TOPLIBD)/lib$(LIB)$(PFLIBEXT): lib$(LIB)$(PFLIBEXT) all-libs: $(LIBLIST) all-liblinks: $(LIBLINKS) -clean-libs: +all-framework: + @echo lxs, put something here in config/lib.in for building frameworks + @false + +link-framework: + @echo lxs, put something here in config/lib.in for symlinking frameworks + @false + +clean-libs: $(EXTRA_CLEAN_TARGETS) $(RM) lib$(LIB)$(STLIBEXT) $(RM) lib$(LIB)$(SHLIBVEXT) $(RM) lib$(LIB)$(SHLIBSEXT) $(RM) lib$(LIB)$(SHLIBEXT) $(RM) lib$(LIB)$(PFLIBEXT) -clean-liblinks: +clean-liblinks: $(EXTRA_CLEAN_LINKS) $(RM) $(TOPLIBD)/lib$(LIB)$(STLIBEXT) $(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBVEXT) $(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBSEXT) $(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBEXT) $(RM) $(TOPLIBD)/lib$(LIB)$(PFLIBEXT) +clean-framework: + @echo lxs, put something here in config/lib.in for cleaning frameworks + @false + +clean-framework-link: + @echo lxs, put something here in config/lib.in for cleaning framework links + @false + install-libs: $(LIBINSTLIST) install-static: $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(STLIBEXT) @@ -162,7 +182,12 @@ install-profiled: $(INSTALL_DATA) lib$(LIB)$(PFLIBEXT) $(DESTDIR)$(KRB5_LIBDIR) $(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(PFLIBEXT) +install-framework: + @echo lxs, put something here in config/lib.in for installing frameworks + @false + Makefile: $(SRCTOP)/config/lib.in +config.status: $(SRCTOP)/config/shlib.conf # Use the following if links need to be made to $(TOPLIBD): # all-unix:: all-liblinks |