49
40
hp_LDADD = libhpmud.la $(DBUS_LIBS)
50
41
hp_CFLAGS = $(DBUS_CFLAGS)
45
libsane_hpaiodir = $(libdir)/sane
46
libsane_hpaio_LTLIBRARIES = libsane-hpaio.la
47
libsane_hpaio_la_SOURCES = scan/sane/hpaio.c scan/sane/mfpdtf.c scan/sane/pml.c scan/sane/scl.c scan/sane/io.c scan/sane/hpaio.h \
48
scan/sane/pml.h scan/sane/saneopts.h scan/sane/io.h scan/sane/mfpdtf.h scan/sane/sane.h scan/sane/scl.h scan/sane/tables.h \
49
scan/sane/common.c scan/sane/common.h scan/sane/soap.h scan/sane/soapht.h scan/sane/sanei_debug.h scan/sane/sanei.h \
50
scan/sane/sanei_init_debug.c scan/sane/marvell.h scan/sane/marvelli.h scan/sane/marvell.c scan/sane/soapht.c scan/sane/soap.c \
51
scan/sane/soaphti.h scan/sane/soapi.h scan/sane/xml.c scan/sane/xml.h
53
libsane_hpaio_la_LDFLAGS = -module -framework CoreFoundation -version-info 1:0:0
55
libsane_hpaio_la_LDFLAGS = -version-info 1:0:0
57
# The following is a interlibrary dependency that must be compiled first.
58
libsane_hpaio_la_LIBADD = libhpip.la libhpmud.la $(DBUS_LIBS) -lcups -ldl
59
#libsane_hpaio_la_CFLAGS = -DWITH_NONAMESPACES -DSOAP_DEBUG
60
libsane_hpaio_la_CFLAGS = $(DBUS_CFLAGS)
65
lib_LTLIBRARIES += libhpmud.la
66
libhpmud_la_SOURCES = io/hpmud/hpmud.c io/hpmud/mlc.c io/hpmud/model.c io/hpmud/musb.c io/hpmud/pml.c \
67
io/hpmud/hpmud.h io/hpmud/hpmudi.h io/hpmud/list.h io/hpmud/mlc.h io/hpmud/musb.h io/hpmud/pml.h io/hpmud/dot4.c \
68
io/hpmud/dot4.h io/hpmud/jd.c io/hpmud/jd.h io/hpmud/pp.c io/hpmud/pp.h
70
libhpmud_la_LDFLAGS = -version-info 0:6:0 -lusb -lpthread -l$(SNMPLIB) -lcrypto
72
libhpmud_la_LDFLAGS = -version-info 0:6:0 -lusb -lpthread
74
libhpmud_la_CFLAGS = -DMUDNAME=\"$(MUDNAME)\" -DCONFDIR=\"$(hplip_confdir)\"
77
lib_LTLIBRARIES += libhpip.la
78
libhpip_la_LDFLAGS = -version-info 0:1:0
79
libhpip_la_LIBADD = -lm
80
libhpip_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 \
81
ip/ipmain.c ip/xchgbpp.c ip/xcrop.c ip/xgamma.c ip/xjpg_dec.c ip/xjpg_huf.c ip/xpcx.c ip/xsaturation.c ip/xtable.c ip/xtonemap.c \
82
ip/xbi2gray.c ip/xcolrspc.c ip/xfakemono.c ip/xgray2bi.c ip/xinvert.c ip/xjpg_enc.c ip/xmatrix.c ip/xpnm.c ip/xscale.c ip/xthumb.c ip/xyxtract.c \
83
ip/hpip.h ip/ipdefs.h ip/xform.h ip/xjpg_dct.h ip/xjpg_huf.h ip/xjpg_mrk.h
53
86
hp_mkuridir = $(bindir)
54
87
hp_mkuri_PROGRAMS = hp-mkuri
55
88
hp_mkuri_SOURCES = io/hpmud/hp-mkuri.c
56
89
hp_mkuri_LDADD = -ldl libhpmud.la
90
hp_mkuri_CFLAGS = -DCONFDIR=\"$(hplip_confdir)\"
93
rulesdir = /etc/udev/rules.d
94
dist_rules_DATA = data/rules/56-hpmud_support.rules
96
dist_rules_DATA += data/rules/40-hplip.rules
98
dist_rules_DATA += data/rules/55-hpmud.rules
100
halpredir = /usr/share/hal/fdi/preprobe/10osvendor
101
dist_halpre_DATA = data/rules/20-hplip-devices.fdi
104
hplip_confdir = /etc/hp
105
hplip_conf_DATA = hplip.conf
108
hplip_statedir = /var/lib/hp
109
dist_hplip_state_DATA = hplip.state
113
dist_hplip_SCRIPTS = hpssd.py __init__.py hpdio.py
114
dist_noinst_DATA += scan/sane/hpaio.desc prnt/drv/hpijs.drv.in.template
115
dist_noinst_SCRIPTS += dat2drv.py install.py hplip-install init-suse-firewall init-iptables-firewall
118
dist_cmd_SCRIPTS = align.py info.py print.py toolbox.py clean.py colorcal.py unload.py testpage.py makeuri.py check.py fab.py levels.py \
119
sendfax.py setup.py makecopies.py probe.py timedate.py firmware.py scan.py systray.py plugin.py linefeedcal.py pqdiag.py \
120
faxsetup.py devicesettings.py printsettings.py query.py pkservice.py wificonfig.py
59
123
basedir = $(hplipdir)/base
61
dist_base_SCRIPTS = base/maint.py base/codes.py base/g.py base/pml.py base/status.py \
62
base/__init__.py base/mfpdtf.py base/utils.py \
125
dist_base_DATA = base/maint.py base/codes.py base/g.py base/pml.py base/status.py \
126
base/__init__.py base/mfpdtf.py base/utils.py base/wifi.py \
63
127
base/device.py base/logger.py base/slp.py base/exif.py base/strings.py base/magic.py \
64
128
base/imagesize.py base/pexpect.py base/models.py base/mdns.py base/tui.py base/dime.py \
65
129
base/ldif.py base/vcard.py base/module.py base/pkit.py
68
132
installdir = $(hplipdir)/installer
69
dist_install_SCRIPTS = installer/__init__.py installer/dcheck.py installer/distros.dat installer/core_install.py
70
dist_noinst_SCRIPTS += installer/text_install.py
133
dist_install_DATA = installer/__init__.py installer/dcheck.py installer/distros.dat installer/core_install.py
134
dist_noinst_DATA += installer/text_install.py
73
137
copierdir = $(hplipdir)/copier
74
dist_copier_SCRIPTS = copier/copier.py copier/__init__.py
138
dist_copier_DATA = copier/copier.py copier/__init__.py
78
142
faxdir = $(hplipdir)/fax
79
dist_fax_SCRIPTS = fax/fax.py fax/__init__.py fax/coverpages.py fax/pmlfax.py fax/soapfax.py fax/faxdevice.py
143
dist_fax_DATA = fax/fax.py fax/__init__.py fax/coverpages.py fax/pmlfax.py fax/soapfax.py fax/faxdevice.py
80
144
hpfaxdir = $(cupsbackenddir)
81
145
dist_hpfax_SCRIPTS = fax/backend/hpfax.py
82
faxppddir = $(hpppddir)
83
dist_faxppd_DATA = fax/ppd/HP-Fax-hplip.ppd.gz fax/ppd/HP-Fax2-hplip.ppd.gz
146
hpijsfaxppddir = $(hpppddir)
147
hpcupsfaxppddir = $(hpppddir)
149
dist_hpijsfaxppd_DATA = fax/ppd/HP-Fax-hpijs.ppd.gz fax/ppd/HP-Fax2-hpijs.ppd.gz
150
endif # HPIJS_INSTALL
152
dist_hpcupsfaxppd_DATA = fax/ppd/HP-Fax-hpcups.ppd.gz fax/ppd/HP-Fax2-hpcups.ppd.gz
153
endif # HPCUPS_INSTALL
87
157
noinst_PROGRAMS += ptest
150
220
cupsext_la_CFLAGS = -I$(PYTHONINCLUDEDIR)
151
221
cupsext_la_LIBADD = -lcups
154
lib_LTLIBRARIES += libhpip.la
155
libhpip_la_LDFLAGS = -version-info 0:1:0
156
libhpip_la_LIBADD = -lm
157
libhpip_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 \
158
ip/ipmain.c ip/xchgbpp.c ip/xcrop.c ip/xgamma.c ip/xjpg_dec.c ip/xjpg_huf.c ip/xpcx.c ip/xsaturation.c ip/xtable.c ip/xtonemap.c \
159
ip/xbi2gray.c ip/xcolrspc.c ip/xfakemono.c ip/xgray2bi.c ip/xinvert.c ip/xjpg_enc.c ip/xmatrix.c ip/xpnm.c ip/xscale.c ip/xthumb.c ip/xyxtract.c \
160
ip/hpip.h ip/ipdefs.h ip/xform.h ip/xjpg_dct.h ip/xjpg_huf.h ip/xjpg_mrk.h
164
libsane_hpaiodir = $(libdir)/sane
165
libsane_hpaio_LTLIBRARIES = libsane-hpaio.la
166
libsane_hpaio_la_SOURCES = scan/sane/hpaio.c scan/sane/mfpdtf.c scan/sane/pml.c scan/sane/scl.c scan/sane/io.c scan/sane/hpaio.h \
167
scan/sane/pml.h scan/sane/saneopts.h scan/sane/io.h scan/sane/mfpdtf.h scan/sane/sane.h scan/sane/scl.h scan/sane/tables.h \
168
scan/sane/common.c scan/sane/common.h scan/sane/soap.h scan/sane/soapht.h scan/sane/sanei_debug.h scan/sane/sanei.h \
169
scan/sane/sanei_init_debug.c scan/sane/marvell.h scan/sane/marvelli.h scan/sane/marvell.c scan/sane/soapht.c scan/sane/soap.c \
170
scan/sane/soaphti.h scan/sane/soapi.h scan/sane/xml.c scan/sane/xml.h
172
libsane_hpaio_la_LDFLAGS = -module -framework CoreFoundation -version-info 1:0:0
174
libsane_hpaio_la_LDFLAGS = -version-info 1:0:0
176
# The following is a interlibrary dependency that must be compiled first.
177
libsane_hpaio_la_LIBADD = libhpip.la libhpmud.la $(DBUS_LIBS) -lcups -ldl
178
#libsane_hpaio_la_CFLAGS = -DWITH_NONAMESPACES -DSOAP_DEBUG
179
libsane_hpaio_la_CFLAGS = $(DBUS_CFLAGS)
182
225
scandir = $(hplipdir)/scan
183
dist_scan_SCRIPTS = scan/__init__.py scan/sane.py
226
dist_scan_DATA = scan/__init__.py scan/sane.py
186
229
scanextdir = $(pyexecdir)
334
355
noinst_LTLIBRARIES = libapdk.la
335
356
libapdk_la_SOURCES = prnt/hpijs/models.cpp prnt/hpijs/breaks_open.cpp \
336
357
prnt/hpijs/dj9xxvip.cpp prnt/hpijs/dj9xx.cpp prnt/hpijs/capture.cpp prnt/hpijs/colormatch.cpp prnt/hpijs/colormatcher_open.cpp \
337
prnt/hpijs/compression.cpp prnt/hpijs/context.cpp prnt/hpijs/create_so.cpp prnt/hpijs/creator.cpp \
358
prnt/hpijs/compression.cpp prnt/hpijs/context2.cpp prnt/hpijs/create_so.cpp prnt/hpijs/creator.cpp \
338
359
prnt/hpijs/dj600.cpp prnt/hpijs/dj630.cpp prnt/hpijs/dj660.cpp prnt/hpijs/dj690.cpp prnt/hpijs/dj6xx.cpp prnt/hpijs/dj8xx.cpp prnt/hpijs/dj600_maps.cpp \
339
360
prnt/hpijs/dj660_maps.cpp prnt/hpijs/dj690_maps.cpp prnt/hpijs/dj895_maps.cpp prnt/hpijs/dj895_maps2.cpp prnt/hpijs/dj970_maps.cpp \
340
361
prnt/hpijs/dj970_maps2.cpp prnt/hpijs/dj970_maps3.cpp prnt/hpijs/filterhpa.cpp prnt/hpijs/apollo21xx.cpp prnt/hpijs/apollo2560.cpp prnt/hpijs/apollo2xxx.cpp \
341
362
prnt/hpijs/dj8x5.cpp prnt/hpijs/psp100.cpp prnt/hpijs/phobos_cmaps.cpp prnt/hpijs/dj350.cpp prnt/hpijs/halftoner.cpp prnt/hpijs/halftoner_open.cpp \
342
prnt/hpijs/globals.cpp prnt/hpijs/header.cpp prnt/hpijs/htmtxhi.cpp prnt/hpijs/pmselect.cpp \
363
prnt/hpijs/globals.cpp prnt/hpijs/header2.cpp prnt/hpijs/htmtxhi.cpp prnt/hpijs/pmselect.cpp \
343
364
prnt/hpijs/job.cpp prnt/hpijs/printer.cpp prnt/hpijs/registry.cpp prnt/hpijs/scaler.cpp \
344
365
prnt/hpijs/scaler_open.cpp prnt/hpijs/script.cpp prnt/hpijs/systemservices.cpp \
345
366
prnt/hpijs/translator.cpp prnt/hpijs/version.cpp prnt/hpijs/versioncode.cpp \
381
403
hpijs_LDADD = libapdk.la -ljpeg -ldl
405
endif # HPIJS_INSTALL
385
410
hpcupsdir = $(cupsfilterdir)
386
411
hpcups_PROGRAMS = hpcups
387
hpcups_SOURCES = prnt/hpijs/hpcups.cpp prnt/hpijs/hpcups.h prnt/hpijs/services.cpp prnt/hpijs/services.h prnt/hpijs/hpiom.c prnt/hpijs/hpiom.h prnt/hpijs/bug.h prnt/hpijs/hpimage.cpp prnt/hpijs/hpimage.h
388
hpcups_CXXFLAGS = $(libapdk_la_CXXFLAGS)
389
hpcups_CFLAGS = $(libapdk_la_CFLAGS)
390
hpcups_LDADD = $(hpijs_LDADD) -lcups -lcupsimage
412
hpcups_SOURCES = prnt/hpcups/HPCupsFilter.cpp prnt/hpcups/HPCupsFilter.h prnt/hpcups/Compressor.cpp prnt/hpcups/Compressor.h \
413
prnt/hpcups/Mode2.cpp prnt/hpcups/Mode2.h prnt/hpcups/Mode3.cpp prnt/hpcups/Mode3.h \
414
prnt/hpcups/Mode9.cpp prnt/hpcups/Mode9.h prnt/hpcups/Mode10.cpp prnt/hpcups/Mode10.h \
415
prnt/hpcups/ModeDeltaPlus.cpp prnt/hpcups/ModeDeltaPlus.h prnt/hpcups/ModeJbig.cpp prnt/hpcups/ModeJbig.h \
416
prnt/hpcups/ErnieFilter.cpp prnt/hpcups/ErnieFilter.h prnt/hpcups/EncapsulatorFactory.cpp prnt/hpcups/EncapsulatorFactory.h \
417
prnt/hpcups/Encapsulator.cpp prnt/hpcups/Encapsulator.h prnt/hpcups/Pcl3.cpp prnt/hpcups/Pcl3.h \
418
prnt/hpcups/Pcl3Gui.cpp prnt/hpcups/Pcl3Gui.h prnt/hpcups/Pcl3Gui2.cpp prnt/hpcups/Pcl3Gui2.h \
419
prnt/hpcups/LJMono.cpp prnt/hpcups/LJMono.h prnt/hpcups/LJColor.cpp prnt/hpcups/LJColor.h \
420
prnt/hpcups/LJFastRaster.cpp prnt/hpcups/LJFastRaster.h prnt/hpcups/LJJetReady.cpp prnt/hpcups/LJJetReady.h \
421
prnt/hpcups/LJZjStream.cpp prnt/hpcups/LJZjStream.h \
422
prnt/hpcups/LJZxStream.cpp prnt/hpcups/LJZxStream.h prnt/hpcups/Job.cpp prnt/hpcups/Job.h \
423
prnt/hpcups/Pipeline.cpp prnt/hpcups/Pipeline.h prnt/hpcups/Processor.cpp prnt/hpcups/Processor.h \
424
prnt/hpcups/RasterSender.cpp prnt/hpcups/RasterSender.h prnt/hpcups/ColorMatcher.cpp prnt/hpcups/ColorMatcher.h \
425
prnt/hpcups/Halftoner.cpp prnt/hpcups/Halftoner.h prnt/hpcups/Scaler.cpp prnt/hpcups/Scaler.h prnt/hpcups/resources.h \
426
prnt/hpcups/dj400ColorMaps.cpp prnt/hpcups/dj600ColorMaps.cpp prnt/hpcups/dj970ColorMaps.cpp prnt/hpcups/dj8xxColorMaps.cpp \
427
prnt/hpcups/dj4100ColorMaps.cpp \
428
prnt/hpcups/BreakTables.cpp prnt/hpcups/PrinterCommands.h prnt/hpcups/Utils.cpp prnt/hpcups/Utils.h \
429
prnt/hpcups/SystemServices.cpp prnt/hpcups/SystemServices.h prnt/hpcups/CommonDefinitions.h prnt/hpcups/hpjbig_wrapper.h \
430
prnt/hpcups/apPrintModes.h prnt/hpcups/dj400PrintModes.h prnt/hpcups/dj540PrintModes.h prnt/hpcups/dj600PrintModes.h \
431
prnt/hpcups/dj630PrintModes.h prnt/hpcups/dj690PrintModes.h prnt/hpcups/dj850PrintModes.h prnt/hpcups/dj890PrintModes.h \
432
prnt/hpcups/dj895PrintModes.h prnt/hpcups/dj8x5PrintModes.h prnt/hpcups/dj970PrintModes.h prnt/hpcups/Pcl3GuiPrintModes.h \
433
prnt/hpcups/Pcl3PrintModes.h prnt/hpcups/ColorMaps.h \
434
prnt/hpcups/QuickConnect.cpp prnt/hpcups/QuickConnect.h \
435
prnt/hpcups/ModeJpeg.cpp prnt/hpcups/ModeJpeg.h \
436
prnt/hpcups/jccolor.c prnt/hpcups/jinclude.h \
437
prnt/hpcups/jdatadbf.c prnt/hpcups/jinclude.h \
438
prnt/hpcups/Lidil.cpp prnt/hpcups/Lidil.h \
439
prnt/hpcups/LidilCompress.cpp prnt/hpcups/LidilCompress.h \
440
prnt/hpcups/LidilPrintModes.h prnt/hpcups/dj3320ColorMaps.cpp \
441
prnt/hpcups/dj3600ColorMaps.cpp prnt/hpcups/dj3320PrintModes.h \
442
prnt/hpcups/dj4100PrintModes.h
444
hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG)
445
hpcups_LDADD = -ljpeg -ldl -lcups -lcupsimage
447
#hpcupsdir = $(cupsfilterdir)
448
#hpcups_PROGRAMS = hpcups
449
#hpcups_SOURCES = prnt/hpijs/hpcups.cpp prnt/hpijs/hpcups.h prnt/hpijs/services.cpp prnt/hpijs/services.h prnt/hpijs/hpiom.c prnt/hpijs/hpiom.h prnt/hpijs/bug.h prnt/hpijs/hpimage.cpp prnt/hpijs/hpimage.h
450
#hpcups_CXXFLAGS = $(libapdk_la_CXXFLAGS)
451
#hpcups_CFLAGS = $(libapdk_la_CFLAGS)
452
#if HPCUPS_ONLY_BUILD
453
#hpcups_LDADD = libapdk.la -ljpeg -ldl -lcups -lcupsimage
455
#hpcups_LDADD = libapdk.la -ljpeg -ldl libhpip.la libhpmud.la $(DBUS_LIBS) -lcups -lcupsimage
456
#endif #HPCUPS_ONLY_BUILD
458
if !HPCUPS_ONLY_BUILD
461
hpcupsfaxdir = $(cupsfilterdir)
462
hpcupsfax_PROGRAMS = hpcupsfax
463
hpcupsfax_SOURCES = prnt/hpijs/hpcupsfax.cpp prnt/hpijs/hpcupsfax.h
464
hpcupsfax_LDADD = libhpip.la -lcups -lcupsimage
467
endif # HPCUPS_INSTALL
393
470
ppddir = $(hpppddir)