X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fe2-interface.git;a=blobdiff_plain;f=e2sim%2Fprevious%2FASN1c%2Fconverter-example.mk;fp=e2sim%2Fprevious%2FASN1c%2Fconverter-example.mk;h=0000000000000000000000000000000000000000;hp=73f73ed6908f9c3507197d3641934f2c4ecd797b;hb=f86662b5b6481f27e18313a36355871f3a947193;hpb=a9f02a2b5886990fd81e64f7c218c5d4844f18a3 diff --git a/e2sim/previous/ASN1c/converter-example.mk b/e2sim/previous/ASN1c/converter-example.mk deleted file mode 100644 index 73f73ed..0000000 --- a/e2sim/previous/ASN1c/converter-example.mk +++ /dev/null @@ -1,50 +0,0 @@ -/***************************************************************************** -# * -# Copyright 2019 AT&T Intellectual Property * -# * -# Licensed under the Apache License, Version 2.0 (the "License"); * -# you may not use this file except in compliance with the License. * -# You may obtain a copy of the License at * -# * -# http://www.apache.org/licenses/LICENSE-2.0 * -# * -# Unless required by applicable law or agreed to in writing, software * -# distributed under the License is distributed on an "AS IS" BASIS, * -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * -# See the License for the specific language governing permissions and * -# limitations under the License. * -# * -******************************************************************************/ -include ./Makefile.am.libasncodec - -LIBS += -lm -CFLAGS += $(ASN_MODULE_CFLAGS) -DASN_PDU_COLLECTION -I. -ASN_LIBRARY ?= libasncodec.a -ASN_PROGRAM ?= converter-example -ASN_PROGRAM_SRCS ?= \ - ./converter-example.c\ - ./pdu_collection.c - -all: $(ASN_PROGRAM) - -$(ASN_PROGRAM): $(ASN_LIBRARY) $(ASN_PROGRAM_SRCS:.c=.o) - $(CC) $(CFLAGS) $(CPPFLAGS) -o $(ASN_PROGRAM) $(ASN_PROGRAM_SRCS:.c=.o) $(LDFLAGS) $(ASN_LIBRARY) $(LIBS) - -$(ASN_LIBRARY): $(ASN_MODULE_SRCS:.c=.o) - $(AR) rcs $@ $(ASN_MODULE_SRCS:.c=.o) - -.SUFFIXES: -.SUFFIXES: .c .o - -.c.o: - $(CC) $(CFLAGS) -o $@ -c $< - -clean: - rm -f $(ASN_PROGRAM) $(ASN_LIBRARY) - rm -f $(ASN_MODULE_SRCS:.c=.o) $(ASN_PROGRAM_SRCS:.c=.o) - -regen: regenerate-from-asn1-source - -regenerate-from-asn1-source: - asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D. ../../asnFiles/e2ap-v031.asn ../../asnFiles/X2AP-PDU-Contents.asn ../../asnFiles/X2AP-Constants.asn ../../asnFiles/X2AP-Containers.asn ../../asnFiles/X2AP-IEs.asn ../../asnFiles/X2AP-CommonDataTypes.asn ../../asnFiles/e2sm-gNB-X2-release-1-v041.asn -