| 1 |
|
| 2 |
# Jamfile for compiling standalone instrumement driver |
| 3 |
|
| 4 |
#ifndef NOT_GNU_COPYRIGHT |
| 5 |
# Copyright 2000 - 2007 Graeme W. Gill |
| 6 |
# This material is licenced under the GNU GENERAL PUBLIC LICENSE Version 2 or later :- |
| 7 |
# see the License2.txt file for licencing details. |
| 8 |
#else |
| 9 |
# NG_COPYRIGHT_1 |
| 10 |
# NG_COPYRIGHT_2 |
| 11 |
# NG_COPYRIGHT_3 |
| 12 |
#endif |
| 13 |
|
| 14 |
PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on |
| 15 |
#PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags |
| 16 |
#PREF_CCFLAGS = $(CCHEAPDEBUG) ; # Heap Debugging flags |
| 17 |
PREF_LINKFLAGS = $(LINKDEBUGFLAG) ; # Link debugging flags |
| 18 |
|
| 19 |
DEFINES += SALONEINSTLIB ENABLE_SERIAL ENABLE_FAST_SERIAL ENABLE_USB ; |
| 20 |
|
| 21 |
# Setup the right hardware access libraries |
| 22 |
if $(NT) { |
| 23 |
if $(USE_USBDK) = true { |
| 24 |
DEFINES += EN_USBDK ; |
| 25 |
} else { |
| 26 |
DEFINES += EN_LIBUSB0 ; |
| 27 |
} |
| 28 |
} |
| 29 |
|
| 30 |
INSTOBJS = dtp20.c dtp22.c dtp41.c dtp51.c dtp92.c ss.c ss_imp.c i1disp.c i1d3.c i1pro.c i1pro_imp.c i1pro3.c i1pro3_imp.c munki.c munki_imp.c hcfr.c huey.c colorhug.c spyd2.c spydX.c specbos.c kleink10.c ex1.c smcube.c ; |
| 31 |
|
| 32 |
Library libinst : conv.c sa_conv.c aglob.c inst.c numsup.c rspl1.c icoms.c usbio.c hidio.c insttypes.c disptechs.c rspec.c xrga.c pollem.c xspect.c xdg_bds.c ccss.c ccmx.c pars.c cgats.c $(INSTOBJS) ; |
| 33 |
|
| 34 |
Library libinstappsup : instappsup.c ; |
| 35 |
|
| 36 |
LINKLIBS = libinst libinstappsup ; |
| 37 |
|
| 38 |
MainsFromSources spotread.c ; |
| 39 |
|
| 40 |
Main oeminst : oeminst.c oemarch.c inflate.c vinflate.c LzmaDec.c ; |
| 41 |
|