/*
** INGRES MING file for front!ice!cgi
**
** History:
**	13-jan-2000 (somsa01)
**	    Created based on mkming. Also, added 'ice' (which is
**	    actually 'oiice.cgi') for backward compatibility with
**	    Ingres II 2.0 . Linking 'ice' to 'oiice.cgi' does not
**	    make web servers happy.
**	21-jan-2000 (somsa01)
**	    Added $(ING_VERS) to the HDR settings.
**	25-jan-2000 (somsa01)
**	    oiice.cgi now gets placed in INGICEBINNS and INGICEBINAP, while
**	    'ice' stays in INGICEBIN.
*/

HDR1 = $(ING_SRC)/front/ice/$(ING_VERS)/hdr
HDR4 = $(ING_SRC)/front/hdr/$(ING_VERS)/hdr

$(INGICEBINNS)/oiice.cgi :: cgi.c \
	-umalloc \
	$(C_APILIB) \
	$(ICECLILIB) \
	$(DDFLIB) \
	$(LIBINGRES) \
	$(COMPAT)

$(INGICEBINAP)/oiice.cgi :: cgi.c \
	-umalloc \
	$(C_APILIB) \
	$(ICECLILIB) \
	$(DDFLIB) \
	$(LIBINGRES) \
	$(COMPAT)

oiice.cgi.l2 : oiice.cgi.ln
	lint $(LINTFLAGS) oiice.cgi.ln \
	-lc_apilib \
	-liceclilib \
	-lddflib \
	-llibingres \
	-lcompat \
	$(LDLIBRARIES) | louf 

$(INGICEBIN)/ice :: cgi.c \
	-umalloc \
	$(C_APILIB) \
	$(ICECLILIB) \
	$(DDFLIB) \
	$(LIBINGRES) \
	$(COMPAT)

ice.l2 : ice.ln
	lint $(LINTFLAGS) ice.ln \
	-lc_apilib \
	-liceclilib \
	-lddflib \
	-llibingres \
	-lcompat \
	$(LDLIBRARIES) | louf 

lint2 :  oiice.cgi.l2 ice.l2

qac :: .QAC  cgi.c

