Changeset 2154


Ignore:
Timestamp:
Mar 21, 2017, 8:34:53 AM (8 years ago)
Author:
Silvan Scherrer
Message:

hplip: add bldlevel info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified hplip/trunk/Makefile.am

    r1600 r2154  
    77CFLAGS+= -DCONFDIR=\"$(hplip_confdir)\"
    88CXXFLAGS+= -DCONFDIR=\"$(hplip_confdir)\"
     9
     10VENDOR ?=community
     11BUILD_INFO=\#\#1\#\# $(shell date +'%d %b %Y %H:%M:%S')     $(shell uname -n)
     12BUILDLEVEL_INFO=@\#$(VENDOR):$(VERSION)\#@$(BUILD_INFO)::::0::
    913
    1014hplipdir = $(datadir)/hplip
     
    5862libsane_hpaio_la_LDFLAGS = -module -framework CoreFoundation -version-info 1:0:0
    5963else
    60 libsane_hpaio_la_LDFLAGS = -version-info 1:0:0
     64libsane_hpaio_la_LDFLAGS = -version-info 1:0:0 -buildlevel '$(BUILDLEVEL_INFO)'
    6165endif
    6266# The following is a interlibrary dependency that must be compiled first.
     
    7781libhpdiscovery_la_SOURCES = protocol/discovery/mdns.c protocol/discovery/mdns.h
    7882libhpdiscovery_la_CFLAGS  = -DCONFDIR=\"$(hplip_confdir)\"
    79 libhpdiscovery_la_LDFLAGS = -version-info 0:1:0
     83libhpdiscovery_la_LDFLAGS = -version-info 0:1:0 -buildlevel '$(BUILDLEVEL_INFO)'
    8084libhpdiscovery_la_LIBADD  = -l$(SNMPLIB) -lcrypto
    8185
     
    8892lib_LTLIBRARIES += libhpmud.la
    8993libhpmud_la_CFLAGS  = -DMUDNAME=\"$(MUDNAME)\" -DCONFDIR=\"$(hplip_confdir)\" -Iprotocol
    90 libhpmud_la_LDFLAGS = -version-info 0:6:0 -lpthread -ldl
     94libhpmud_la_LDFLAGS = -version-info 0:6:0 -lpthread -ldl -buildlevel '$(BUILDLEVEL_INFO)'
    9195libhpmud_la_SOURCES = io/hpmud/hpmud.c io/hpmud/mlc.c io/hpmud/model.c io/hpmud/pml.c \
    9296          io/hpmud/hpmud.h io/hpmud/hpmudi.h io/hpmud/list.h io/hpmud/mlc.h io/hpmud/pml.h io/hpmud/dot4.c \
     
    96100if LIBUSB01_BUILD
    97101libhpmud_la_SOURCES += io/hpmud/musb_libusb01.c
    98 libhpmud_la_LDFLAGS += -lusb
     102libhpmud_la_LDFLAGS += -lusb -buildlevel
    99103else
    100104libhpmud_la_SOURCES += io/hpmud/musb.c
     
    113117# ip library
    114118lib_LTLIBRARIES += libhpip.la
    115 libhpip_la_LDFLAGS = -version-info 0:1:0
     119libhpip_la_LDFLAGS = -version-info 0:1:0 -buildlevel '$(BUILDLEVEL_INFO)'
    116120libhpip_la_LIBADD = -lm
    117121libhpip_la_SOURCES = ip/xconvolve.c ip/xfax.c ip/xgrayout.c ip/xjpg_dct.c ip/xjpg_fix.c ip/xpad.c ip/xrotate.c ip/xskel.c ip/xtiff.c \
     
    273277pcardextdir = $(pyexecdir)
    274278pcardext_LTLIBRARIES = pcardext.la
    275 pcardext_la_LDFLAGS = -module -avoid-version
     279pcardext_la_LDFLAGS = -module -avoid-version -buildlevel '$(BUILDLEVEL_INFO)'
    276280pcardext_la_SOURCES = pcard/pcardext/pcardext.c pcard/fat.c
    277281pcardext_la_CFLAGS = -I$(PYTHONINCLUDEDIR)
     
    289293libhpipp_la_SOURCES = protocol/hp_ipp.c protocol/hp_ipp.h protocol/hp_ipp_i.h
    290294libhpipp_la_CFLAGS = -DCONFDIR=\"$(hplip_confdir)\"
    291 libhpipp_la_LDFLAGS = -version-info 0:1:0
     295libhpipp_la_LDFLAGS = -version-info 0:1:0 -buildlevel '$(BUILDLEVEL_INFO)'
    292296libhpipp_la_LIBADD = -lcups libhpmud.la
    293297
     
    296300cupsextdir = $(pyexecdir)
    297301cupsext_LTLIBRARIES = cupsext.la
    298 cupsext_la_LDFLAGS = -module -avoid-version
     302cupsext_la_LDFLAGS = -module -avoid-version -buildlevel '$(BUILDLEVEL_INFO)'
    299303cupsext_la_SOURCES =  prnt/cupsext/cupsext.c prnt/cupsext/cupsext.h
    300304cupsext_la_CFLAGS = -I$(PYTHONINCLUDEDIR) -Iprotocol
     
    309313scanextdir = $(pyexecdir)
    310314scanext_LTLIBRARIES = scanext.la
    311 scanext_la_LDFLAGS = -module -avoid-version -lsane
     315scanext_la_LDFLAGS = -module -avoid-version -lsane -buildlevel '$(BUILDLEVEL_INFO)'
    312316scanext_la_SOURCES =  scan/scanext/scanext.c
    313317scanext_la_CFLAGS = -I$(PYTHONINCLUDEDIR)
     
    317321hpmudextdir = $(pyexecdir)
    318322hpmudext_LTLIBRARIES = hpmudext.la
    319 hpmudext_la_LDFLAGS = -module -avoid-version
     323hpmudext_la_LDFLAGS = -module -avoid-version -buildlevel '$(BUILDLEVEL_INFO)'
    320324hpmudext_la_SOURCES = io/mudext/hpmudext.c
    321325hpmudext_la_CFLAGS = -I$(PYTHONINCLUDEDIR)
Note: See TracChangeset for help on using the changeset viewer.