# # Copyright (c) 1994, 1995, 1996 Gunther Schadow. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. TOPDIR = ../../.. ROOTDIR = .. LOADLIBES = -lhl7cv -lukbf -lpg -lsocket++ -lgdbm -lm INCLUDE = -I$(TOPDIR)/hl7/CareVue/include -I$(TOPDIR)/hl7/ukbf/include LNCLUDE = -L$(TOPDIR)/hl7/CareVue/lib -L$(TOPDIR)/hl7/ukbf/lib JUNK += cvgateway LabEventInfoMgr LOGLEVEL = L_MESG CC_SRCS = admit_patient.cc transfer_patient.cc discharge_patient.cc \ cancel_admit.cc cancel_transfer.cc cancel_discharge.cc \ update_pat_info.cc swap_patients.cc report_results.cc \ network_data.cc \ cvgateway.cc carevue.cc forward_message.cc \ LabEventInfo.cc LabEventInfoMgr.cc \ runcmd.cc PROGS = cvgateway LabEventInfoMgr CFLAGS += -DPGLOG="\"$(PGLOG)\"" -DLOGLEVEL=$(LOGLEVEL) \ -DPGETC="\"$(PGETC)\"" -DPGBIN="\"$(PGBIN)\"" all: progs include $(TOPDIR)/GNUmakefile.inc cvgateway: cvgateway.o admit_patient.o transfer_patient.o discharge_patient.o \ cancel_admit.o cancel_transfer.o cancel_discharge.o \ update_pat_info.o swap_patients.o report_results.o network_data.o \ carevue.o forward_message.o LabEventInfo.o runcmd.o LabEventInfoMgr: LabEventInfoMgr.o LabEventInfo.o install: $(MKDIRHIER) $(PGLOG)/CVGATEWAY $(INSTALL) LabEventInfo.tab $(PGETC) $(INSTALL) -m 755 idb_direct new_wt_ht_bsa $(PGETC) $(INSTALL) -m 755 hl7tocv ablhl7tocv restartfsiclient $(PGBIN) ### Do not change this line, make depend uses it! ###