home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / modules / libpref / admin / Makefile < prev    next >
Encoding:
Makefile  |  1998-04-08  |  1.3 KB  |  51 lines

  1. #
  2. # The contents of this file are subject to the Netscape Public License
  3. # Version 1.0 (the "NPL"); you may not use this file except in
  4. # compliance with the NPL.  You may obtain a copy of the NPL at
  5. # http://www.mozilla.org/NPL/
  6. #
  7. # Software distributed under the NPL is distributed on an "AS IS" basis,
  8. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  9. # for the specific language governing rights and limitations under the
  10. # NPL.
  11. #
  12. # The Initial Developer of this code under the NPL is Netscape
  13. # Communications Corporation.  Portions created by Netscape are
  14. # Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  15. # Reserved.
  16.  
  17. DEPTH        = ../../..
  18.  
  19. ifdef POLARIS
  20. SHARED_LIBRARY    = $(OBJDIR)/libAutoAdmin.so
  21. endif
  22.  
  23. XFEDIR        = $(DEPTH)/cmd/xfe
  24.  
  25. CSRCS        = prefldap.c icondata.c
  26.  
  27. REQUIRES    = nspr dbm ldap js pref
  28.  
  29. include $(DEPTH)/config/rules.mk
  30.  
  31. INCLUDES    += -I$(DEPTH)/cmd/xfe/icons -I$(DEPTH)/cmd/xfe/icons/$(OBJDIR)
  32. DEFINES        += -DPOLARIS
  33. GARBAGE        += icondata.c
  34.  
  35. ifeq ($(OS_ARCH),AIX)
  36. MKSHLIB        = svld -berok $(DSO_LDOPTS)
  37. endif
  38.  
  39. ifeq ($(OS_ARCH),OSF1)
  40. MKSHLIB        = $(LD) $(DSO_LDOPTS)
  41. endif
  42.  
  43. polaris: $(SHARED_LIBRARY)
  44.     $(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin
  45.  
  46. icondata.c:
  47.     @rm -f icondata.c $(NOSUCHFILE)
  48.     @cd $(XFEDIR)/icons; $(MAKE)
  49.     @ln -s $(XFEDIR)/icons/$(OBJDIR)/icondata.c $@
  50.