From e1c6930cda7894dd45174a967abdb68cbafa6fcd Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Sat, 7 Jan 2006 22:40:26 +0000 Subject: [PATCH] - oops sorry about that. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@60 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- Makefile.in | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 Makefile.in diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 000000000..1bc5d467e --- /dev/null +++ b/Makefile.in @@ -0,0 +1,72 @@ +# +CC ?= @CC@ +FC ?= @F77@ +FFLAGS = @FFLAGS@ +# +# WSJT specific Fortran flags +FFLAGS += -Wall -fbounds-check + +OS=@OS@ +G95=@G95@ +COMPILER=@G95_LIB_PATH@ + +PYTHON ?= @PYTHON@ +RM ?= @RM@ +F2PY = @F2PY@ +F2PY_PY = "f2py.py" + +OBJS1 = JT65code.o nchar.o grid2deg.o packmsg.o packtext.o \ + packcall.o packgrid.o unpackmsg.o unpacktext.o unpackcall.o \ + unpackgrid.o deg2grid.o packdxcc.o chkmsg.o getpfx1.o \ + getpfx2.o k2grid.o grid2k.o interleave63.o graycode.o set.o \ + igray.o init_rs_int.o encode_rs_int.o decode_rs_int.o \ + wrapkarn.o + +OBJS0= init_rs.o encode_rs.o decode_rs.o +SRCS0= init_rs.c encode_rs.c decode_rs.c + +JT65SRCS = JT65code_all.f igray.o wrapkarn.o init_rs.o encode_rs.o decode_rs.o + +all: JT65code + +JT65code_demo: $(OBJS1) + $(FC) -o JT65code_demo $(OBJS1) + +# $(OBJS0) regenerated by Audio.so target for now +JT65code: Audio.so wrapkarn.o igray.o $(JT65SRCS) # $(OBJS0) + $(FC) -o JT65code $(JT65SRCS) + +wrapkarn.o: wrapkarn.c + $(CC) -c wrapkarn.c + +igray.o: igray.c + $(CC) -c igray.c + +$(OBJS0): $(SRCS0) + $(CC) -c -DBIGSYM=1 $(SRCS0) + +init_rs_int.o: init_rs.c + $(CC) -c -DBIGSYM=1 -o init_rs_int.o init_rs.c + +encode_rs_int.o: encode_rs.c + $(CC) -c -DBIGSYM=1 -o encode_rs_int.o encode_rs.c + +decode_rs_int.o: decode_rs.c + $(CC) -c -DBIGSYM=1 -o decode_rs_int.o decode_rs.c + +Audio.so: $(OBJS0) + ${PYTHON} ${F2PY_PY} -c --quiet --opt="-O -cpp -D${OS} \ + -fno-second-underscore" init_rs.o encode_rs.o decode_rs.o -m Audio \ + --f77exec=${G95} --f90exec=${G95} -L${COMPILER} -lpthread -lg2c \ + only: ftn_init ftn_quit audio_init spec getfile azdist0 astro0 \ + : a2d.f90 abc441.f90 astro0.f90 audio_init.f90 azdist0.f90 \ + blanker.f90 decode1.f90 decode2.f90 decode3.f90 ftn_init.f90 \ + ftn_quit.f90 get_fname.f90 getfile.f90 horizspec.f90 hscroll.f90 \ + i1tor4.f90 pix2d.f90 pix2d65.f90 rfile.f90 savedata.f90 spec.f90 \ + wsjtgen.f90 runqqq.f90 wsjt1.f fsubs1.f fsubs.f astro.f astropak.f \ + jtaudio.c ptt_unix.c igray.c wrapkarn.c start_threads.c cutil.c \ + fivehz.f90 +.PHONY : clean +clean: + ${RM} -f *.o *.so JT65code JT65code_demo +