From d29126d9147c0a40635028372b4bbd7e66e40803 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Sat, 26 Aug 2006 00:06:38 +0000 Subject: add stuff to be used for determining which parts of the API kit we need to build git-svn-id: http://svn.asterisk.org/svn/octasic_api/oct612x/trunk@10 537310ab-6354-42db-a3cc-247b777f7be6 --- software/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 software/Makefile (limited to 'software/Makefile') diff --git a/software/Makefile b/software/Makefile new file mode 100644 index 0000000..5e6661f --- /dev/null +++ b/software/Makefile @@ -0,0 +1,38 @@ +CFLAGS=-V3.4 -ffunction-sections -Iinclude -Ioctdeviceapi -Ioctdeviceapi/oct6100api -DGFP_ATOMIC=0 -Dkmalloc=calloc -Dkfree=free +LDFLAGS=-V3.4 -Wl,-Map -Wl,test.map -Wl,--gc-sections + +APIDIR=octdeviceapi/oct6100api/oct6100_api + +OCTASIC_OBJS=$(APIDIR)/oct6100_adpcm_chan.o \ + $(APIDIR)/oct6100_channel.o \ + $(APIDIR)/oct6100_chip_open.o \ + $(APIDIR)/oct6100_chip_stats.o \ + $(APIDIR)/oct6100_conf_bridge.o \ + $(APIDIR)/oct6100_debug.o \ + $(APIDIR)/oct6100_events.o \ + $(APIDIR)/oct6100_interrupts.o \ + $(APIDIR)/oct6100_memory.o \ + $(APIDIR)/oct6100_miscellaneous.o \ + $(APIDIR)/oct6100_mixer.o \ + $(APIDIR)/oct6100_phasing_tsst.o \ + $(APIDIR)/oct6100_playout_buf.o \ + $(APIDIR)/oct6100_remote_debug.o \ + $(APIDIR)/oct6100_tlv.o \ + $(APIDIR)/oct6100_tone_detection.o \ + $(APIDIR)/oct6100_tsi_cnct.o \ + $(APIDIR)/oct6100_tsst.o \ + $(APIDIR)/oct6100_user.o \ + apilib/bt/octapi_bt0.o \ + apilib/largmath/octapi_largmath.o \ + apilib/llman/octapi_llman.o + + +all: test + +test.o: test.c + +test: test.o $(OCTASIC_OBJS) + +clean: + rm -rf test test.o + rm -rf $(OCTASIC_OBJS) -- cgit v1.2.3