TARGETNAME=apcups
TARGETPATH=obj
TARGETTYPE=DYNLINK

TARGETLIBS=\
    $(SDK_LIB_PATH)\advapi32.lib \
    $(SDK_LIB_PATH)\user32.lib \
    $(SDK_LIB_PATH)\kernel32.lib

USE_MSVCRT = 1

C_DEFINES = -DWIN32 -DUNICODE -D_UNICODE -DAPCUPS_EXPORTS -DNT

DLLENTRY=_DllMainCRTStartup

SOURCES= apcdrvr.cxx  \
         apcobj.cxx   \
         apcsemnt.cxx \
         apcups.cxx   \
         attrib.cxx   \
         backups.cxx  \
         badbatts.cxx \
         batcalt.cxx  \
         batpacks.cxx \
         battcaps.cxx \
         battcond.cxx \
         battmgr.cxx  \
         battrep.cxx  \
         bypmodes.cxx \
         cdevice.cxx  \
         cfgmgr.cxx   \
         chgsensr.cxx \
         comctrl.cxx  \
         contrlr.cxx  \
         coprites.cxx \
         datetime.cxx \
         dcfrmrev.cxx \
         dcomctrl.cxx \
         devctrl.cxx  \
         device.cxx   \
         dispatch.cxx \
         eeprom.cxx   \
         errlogr.cxx  \
         event.cxx    \
         eventime.cxx \
         firmman.cxx  \
         firmrevs.cxx \
         itemcode.cxx \
         list.cxx     \
         litesnsr.cxx \
         lobatdur.cxx \
         mainapp.cxx  \
         manudate.cxx  \
         matrix.cxx   \
         message.cxx  \
         mutexnt.cxx  \
         node.cxx     \
         ntcfgmgr.cxx \
         ntport.cxx   \
         ntsrvap.cxx  \
         ntthrd.cxx   \
         nttimmn.cxx  \
         pollparm.cxx \
         protlist.cxx \
         proto.cxx    \
         protsimp.cxx \
         protsmrt.cxx \
         replbatt.cxx \
         runtrems.cxx \
         scan.cxx     \
         sensor.cxx   \
         serport.cxx  \
         servapp.cxx  \
         shutdel.cxx  \
         slist.cxx    \
         smartups.cxx \
         smboosen.cxx \
         stdcfg.cxx   \
         stream.cxx   \
         stsensor.cxx \
         tattrib.cxx  \
         thrdable.cxx \
         thsensor.cxx \
         timer.cxx    \
         timerman.cxx \
         tokenstr.cxx \
         towdels.cxx  \
         trans.cxx    \
         trimsen.cxx  \
         tripregs.cxx \
         turnoff.cxx  \
         ulinecon.cxx \
         unssens.cxx  \
         update.cxx   \
         ups.cxx      \
         ups2slep.cxx \
         upsdev.cxx   \
         upsmodl.cxx  \
         upsreg.c     \
         upssers.cxx  \
         utils.cxx    \
         w32utils.cxx \
	 apcups.rc