Print this page
lib: move compat links from targetdirs to proper makefiles


  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 LIBRARY =               libipp-listener.a
  28 VERS =                  .0
  29 OBJECTS = \
  30         cancel-job.o common.o create-job.o cups-accept-jobs.o \
  31         cups-get-classes.o cups-get-default.o cups-get-printers.o \
  32         cups-move-job.o cups-reject-jobs.o disable-printer.o enable-printer.o \
  33         get-job-attributes.o get-jobs.o get-printer-attributes.o hold-job.o \
  34         ipp-listener.o pause-printer.o print-job.o purge-jobs.o release-job.o \
  35         restart-job.o resume-printer.o send-document.o set-job-attributes.o \
  36         set-printer-attributes.o validate-job.o
  37 
  38 include ../../../Makefile.lib
  39 include ../../../Makefile.rootfs
  40 
  41 SRCDIR =        ../common
  42 
  43 ROOTLIBDIR=     $(ROOT)/usr/lib
  44 
  45 LIBS =                  $(DYNLIB)
  46 
  47 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  48 
  49 CFLAGS +=       $(CCVERBOSE)
  50 CPPFLAGS +=     -DSOLARIS_PRIVATE_POST_0_9
  51 CPPFLAGS +=     -I$(SRCDIR)
  52 CPPFLAGS +=     -I../../libpapi-common/common
  53 CPPFLAGS +=     -I../../libipp-core/common
  54 
  55 CERRWARN +=     -_gcc=-Wno-unused-variable
  56 CERRWARN +=     -_gcc=-Wno-uninitialized
  57 
  58 # not linted
  59 SMATCH=off
  60 
  61 MAPFILES =      $(SRCDIR)/mapfile
  62 
  63 LDLIBS +=       -lipp-core -lpapi -lc -lsocket -lnsl


  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 LIBRARY =               libipp-listener.a
  28 VERS =                  .0
  29 OBJECTS = \
  30         cancel-job.o common.o create-job.o cups-accept-jobs.o \
  31         cups-get-classes.o cups-get-default.o cups-get-printers.o \
  32         cups-move-job.o cups-reject-jobs.o disable-printer.o enable-printer.o \
  33         get-job-attributes.o get-jobs.o get-printer-attributes.o hold-job.o \
  34         ipp-listener.o pause-printer.o print-job.o purge-jobs.o release-job.o \
  35         restart-job.o resume-printer.o send-document.o set-job-attributes.o \
  36         set-printer-attributes.o validate-job.o
  37 
  38 include ../../../Makefile.lib

  39 
  40 SRCDIR =        ../common


  41 
  42 LIBS =                  $(DYNLIB)
  43 
  44 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  45 
  46 CFLAGS +=       $(CCVERBOSE)
  47 CPPFLAGS +=     -DSOLARIS_PRIVATE_POST_0_9
  48 CPPFLAGS +=     -I$(SRCDIR)
  49 CPPFLAGS +=     -I../../libpapi-common/common
  50 CPPFLAGS +=     -I../../libipp-core/common
  51 
  52 CERRWARN +=     -_gcc=-Wno-unused-variable
  53 CERRWARN +=     -_gcc=-Wno-uninitialized
  54 
  55 # not linted
  56 SMATCH=off
  57 
  58 MAPFILES =      $(SRCDIR)/mapfile
  59 
  60 LDLIBS +=       -lipp-core -lpapi -lc -lsocket -lnsl