ASN_MODULE_SOURCES=	\
	TokenTypesConfig.c	\
	CardTokenType.c	\
	CardATR.c	\
	DNIe-channelParams.c	\
	RSApublicKey.c	\
	RSAprivateKey.c

ASN_MODULE_HEADERS=	\
	TokenTypesConfig.h	\
	CardTokenType.h	\
	CardATR.h	\
	DNIe-channelParams.h	\
	RSApublicKey.h	\
	RSAprivateKey.h



lib_LTLIBRARIES=libsomething.la
libsomething_la_SOURCES=$(ASN_MODULE_SOURCES) $(ASN_MODULE_HEADERS)

# This file may be used as an input for make(3)
# Remove the lines below to convert it into a pure .am file
TARGET = progname
CFLAGS += -I.
OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o}

all: $(TARGET)

$(TARGET): ${OBJS}
	$(CC) $(CFLAGS) -o $(TARGET) ${OBJS} $(LDFLAGS) $(LIBS)

.SUFFIXES:
.SUFFIXES: .c .o

.c.o:
	$(CC) $(CFLAGS) -o $@ -c $<

clean:
	rm -f $(TARGET)
	rm -f $(OBJS)

regen: regenerate-from-asn1-source

regenerate-from-asn1-source:
	asn1c ..\.\Sources\Configuration.asn

