# # 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 = ../../.. INCLUDE = -I.. -I$(TOPDIR)/hl7/include LNCLUDE = -L$(TOPDIR)/hl7/lib LOADLIBES+= -lhl7 -lsocket++ -ly -ll JUNK = *.tab.* lex.yy.c abl300 y.output abl300 CC_SRCS = abl300.cc results.cc codes.cc SUBDIRS = PROGS = abl300 APPLICATION = "ABL" FACILITY = "060_IOP" REC_APP = "CLI" REC_FAC = "060_IOP" CFLAGS = -DPGLOG="\"$(PGLOG)\"" -DPGBIN="\"$(PGBIN)\"" \ -DAPPLICATION="\"$(APPLICATION)\"" -DFACILITY="\"$(FACILITY)\"" \ -DREC_APP="\"$(REC_APP)\"" -DREC_FAC="\"$(REC_FAC)\"" GENSCRS = lex.yy.c y.tab.h y.tab.cc all: progs gensrcs: # # Debug options for scanner and parser # #CXXFLAGS += -DYYDEBUG=1 -DDEBUG #CFLAGS += -DYYDEBUG=1 -DDEBUG include $(TOPDIR)/GNUmakefile.inc # # Debug options for scanner and parser # #YACC += -tv #LEX += -d vpath %.h .. vpath %.o .. abl300: abl300.o y.tab.o lex.yy.o results.o codes.o patinfo.o \ operinfo.o abl300.o: abl300.cc abl300.h results.h lex.yy.o: lex.yy.c y.tab.h abl300.h lex.yy.c: abl300.l $(LEX) $< y.tab.o: y.tab.cc abl300.h results.h y.tab.cc: abl300.y $(YACC) -d $< mv y.tab.c y.tab.cc abl300.cc: abl300.h results.cc: results.h y.tab.h install: $(MKDIRHIER) $(PGLOG)/$(APPLICATION)/$(FACILITY) ### Do not change this line, make depend uses it! ###