#
# makefile for the c code back end
#
# MS 92
#

ASN1_COMPILER_DIR = ../..

CC = gcc
CFLAGS = -O -I$(ASN1_COMPILER_DIR)


OBJS = rules.o type_info.o str_util.o util.o tag_util.o gen_c_type.o\
       gen_c_enc.o gen_c_dec.o gen_c_vals.o gen_c_free.o gen_c_code.o\
       gen_c_print.o gen_c_any.o c_kwd.o cpp_kwd.o


all: $(OBJS)
	echo "C generation objs compiled"

depend:
	makedepend -I$(ASN1_COMPILER_DIR) *.c

backup:
	cp *.c *.h makefile bak


clean:
	rm -f *.o .emacs* *~ core *.bak


# DO NOT DELETE THIS LINE -- make depend depends on it.

c_kwd.o: ../../snacc_config.h c_kwd.h makefile
cpp_kwd.o: ../../snacc_config.h makefile
gen_c_any.o: ../../snacc_config.h ../../mem.h makefile
gen_c_any.o: ../../basetypes.h ../../list.h ../../asn1module.h rules.h
gen_c_any.o: ../../define.h str_util.h gen_c_vals.h ../../ber.h
gen_c_any.o: ../../lib_types.h gen_c_any.h
gen_c_code.o: ../../snacc_config.h ../../basetypes.h ../../ber.h ../../list.h
gen_c_code.o: ../../asn1module.h ../../mem.h ../../print.h rules.h
gen_c_code.o: type_info.h util.h gen_c_type.h gen_c_enc.h gen_c_dec.h
gen_c_code.o: gen_c_vals.h gen_c_free.h gen_c_print.h gen_c_any.h
gen_c_code.o: gen_c_code.h makefile
gen_c_dec.o: ../../snacc_config.h ../../basetypes.h ../../ber.h ../../list.h
gen_c_dec.o: ../../asn1module.h ../../mem.h ../../define.h ../../typetbl.h
gen_c_dec.o: rules.h type_info.h str_util.h ../../snacc_util.h util.h
gen_c_dec.o: tag_util.h gen_c_dec.h makefile
gen_c_enc.o: ../../snacc_config.h ../../basetypes.h ../../ber.h ../../list.h
gen_c_enc.o: ../../asn1module.h ../../mem.h ../../define.h rules.h
gen_c_enc.o: type_info.h str_util.h util.h tag_util.h ../../snacc_util.h
gen_c_enc.o: gen_c_enc.h makefile
gen_c_free.o: ../../snacc_config.h ../../basetypes.h ../../ber.h ../../list.h
gen_c_free.o: ../../asn1module.h ../../mem.h ../../define.h rules.h
gen_c_free.o: type_info.h str_util.h util.h gen_c_free.h makefile
gen_c_print.o: ../../snacc_config.h ../../basetypes.h ../../ber.h
gen_c_print.o: ../../list.h ../../asn1module.h ../../mem.h ../../define.h
gen_c_print.o: rules.h type_info.h str_util.h util.h gen_c_print.h makefile
gen_c_type.o: ../../snacc_config.h ../../basetypes.h ../../ber.h ../../list.h
gen_c_type.o: ../../asn1module.h ../../mem.h ../../print.h rules.h
gen_c_type.o: type_info.h util.h gen_c_type.h makefile
gen_c_vals.o: ../../snacc_config.h ../../basetypes.h makefile
gen_c_vals.o: ../../ber.h ../../list.h ../../oid.h ../../asn1module.h
gen_c_vals.o: ../../mem.h ../../define.h ../../typetbl.h rules.h type_info.h
gen_c_vals.o: str_util.h ../../snacc_util.h util.h c_kwd.h gen_c_vals.h
rules.o: ../../snacc_config.h ../../list.h ../../basetypes.h ../../ber.h
rules.o: ../../asn1module.h rules.h makefile
str_util.o: ../../snacc_config.h
str_util.o: ../../basetypes.h ../../ber.h ../../list.h ../../asn1module.h
str_util.o: ../../mem.h ../../define.h rules.h type_info.h c_kwd.h cpp_kwd.h
str_util.o: str_util.h makefile
tag_util.o: ../../snacc_config.h
tag_util.o: ../../basetypes.h ../../ber.h ../../list.h ../../asn1module.h
tag_util.o: ../../mem.h ../../define.h ../../typetbl.h rules.h type_info.h
tag_util.o: str_util.h ../../snacc_util.h util.h tag_util.h makefile
type_info.o: ../../snacc_config.h
type_info.o: ../../basetypes.h ../../ber.h ../../list.h ../../asn1module.h
type_info.o: ../../mem.h ../../snacc_util.h ../../define.h str_util.h rules.h
type_info.o: type_info.h makefile
util.o: ../../snacc_config.h ../../basetypes.h
util.o: ../../ber.h ../../list.h ../../asn1module.h rules.h
util.o: ../../snacc_util.h util.h makefile

