Annotation of OpenXM/doc/oxlib/Makefile.in, Revision 1.1
1.1 ! takayama 1: # $OpenXM$
! 2: all : install-lib
! 3: make all-samples
! 4: all-samples : test test1 test2 test3
! 5: install-lib:
! 6: -(cd ../../lib ; ln -s ../../OpenXM_contrib2/asir2000/libasir.a .)
! 7: ##
! 8: ## make
! 9: ## make OpenXM_HOME=/usr/local/OpenXM
! 10: #CC=gcc -dM -E
! 11: CC=@MYCC@
! 12: OpenXM_HOME=../../../OpenXM
! 13: LIBDIR=${OpenXM_HOME}/lib
! 14: INCDIR=${OpenXM_HOME}/include
! 15:
! 16: ASIR_LIB=$(LIBDIR)/libasir.a
! 17: ASIR_LIB_PARI_X=$(LIBDIR)/libasir_pari_X.a
! 18: PARI_LIB=$(LIBDIR)/libpari.a
! 19: GC=$(LIBDIR)/libasir-gc.a
! 20: #EXTRALIB=-lnsl -lsocket
! 21: EXTRALIB=
! 22: LOPT=-L/usr/X11R6/lib -L/opt/X11/lib -L${LIBDIR} -lmpfr -lmpc -lgmp -lm -lX11 -lXt -lXaw
! 23:
! 24: INCLUDE=$(INCDIR)
! 25:
! 26: test1 : test1.o
! 27: ${CC} -o test1 test1.o $(ASIR_LIB) $(PARI_LIB) $(GC) $(EXTRALIB) $(LOPT)
! 28:
! 29: ## test2 : test2.o
! 30: test2 : test2.o
! 31: ${CC} -o test2 test2.o $(ASIR_LIB) $(PARI_LIB) $(GC) $(EXTRALIB) $(LOPT)
! 32:
! 33: ## test3 : test3.o
! 34: test3 : test3.o
! 35: ${CC} -o test3 test3.o $(ASIR_LIB) $(PARI_LIB) $(GC) $(EXTRALIB) $(LOPT)
! 36:
! 37: ## test : test.o
! 38: test : test.o
! 39: ${CC} -o test test.o $(ASIR_LIB) $(PARI_LIB) $(GC) $(EXTRALIB) $(LOPT)
! 40: test1-tcp-rev: test1-tcp-rev.c
! 41: ${CC} -o test1-tcp-rev test1-tcp-rev.c
! 42:
! 43: .c.o : hhh.h
! 44: ${CC} $(CFLAGS) -I$(INCLUDE) -c -g $<
! 45:
! 46:
! 47:
! 48:
! 49:
! 50: clean :
! 51: rm -f test test1 test2 test3 *.o *~ *.a a.out
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>