Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build


  34         create.o \
  35         modify.o \
  36         export.o \
  37         import.o \
  38         install.o \
  39         uninstall.o
  40 
  41 include ../../Makefile.cmd
  42 
  43 KMFDIR          = $(SRC)/lib/libkmf
  44 SRCS            = $(OBJS:%.o=%.c)
  45 
  46 POFILES         = $(OBJS:%.o=%.po)
  47 POFILE          = $(PROG)_msg.po
  48 MSGFILES        = $(SRCS:%.c=%.i)
  49 
  50 CPPFLAGS        += -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
  51                 -I$(KMFDIR)/include -I.
  52 LDLIBS          += -L$(ROOT)/usr/lib -lkmf -lcryptoutil
  53 XMLLIB          = -lxml2

  54 
  55 .KEEP_STATE:
  56 
  57 XMLDIR=         $(ROOT)/etc/security
  58 DTDDIR=         $(ROOT)/usr/share/lib/xml/dtd
  59 ROOTDTDS=       $(DTDDIR)/kmfpolicy.dtd
  60 ROOTXML=        $(XMLDIR)/kmfpolicy.xml
  61 
  62 $(ROOTDTDS) :=  FILEMODE = 444
  63 
  64 $(ROOTXML)  :=  FILEMODE = 644
  65 
  66 all:    $(PROG) $(ROOTDTDS)
  67 
  68 $(PROG): $(OBJS)
  69         $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(XMLLIB)
  70         $(POST_PROCESS)
  71 
  72 $(POFILE):      $(POFILES)
  73         $(RM) $@; $(CAT) $(POFILES) > $@


  34         create.o \
  35         modify.o \
  36         export.o \
  37         import.o \
  38         install.o \
  39         uninstall.o
  40 
  41 include ../../Makefile.cmd
  42 
  43 KMFDIR          = $(SRC)/lib/libkmf
  44 SRCS            = $(OBJS:%.o=%.c)
  45 
  46 POFILES         = $(OBJS:%.o=%.po)
  47 POFILE          = $(PROG)_msg.po
  48 MSGFILES        = $(SRCS:%.c=%.i)
  49 
  50 CPPFLAGS        += -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
  51                 -I$(KMFDIR)/include -I.
  52 LDLIBS          += -L$(ROOT)/usr/lib -lkmf -lcryptoutil
  53 XMLLIB          = -lxml2
  54 ADJUNCT_LIBS    = libxml2.so
  55 
  56 .KEEP_STATE:
  57 
  58 XMLDIR=         $(ROOT)/etc/security
  59 DTDDIR=         $(ROOT)/usr/share/lib/xml/dtd
  60 ROOTDTDS=       $(DTDDIR)/kmfpolicy.dtd
  61 ROOTXML=        $(XMLDIR)/kmfpolicy.xml
  62 
  63 $(ROOTDTDS) :=  FILEMODE = 444
  64 
  65 $(ROOTXML)  :=  FILEMODE = 644
  66 
  67 all:    $(PROG) $(ROOTDTDS)
  68 
  69 $(PROG): $(OBJS)
  70         $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(XMLLIB)
  71         $(POST_PROCESS)
  72 
  73 $(POFILE):      $(POFILES)
  74         $(RM) $@; $(CAT) $(POFILES) > $@