freebsd-ports/finance/xtrader/files/patch-Makefile.linux
Michael Johnson a509198e85 - Add xtrader [1]
Technical analysis program for financial instruments

Included is also an simple portfolio module where you can
 - edit transactions, create reports and charts.
 - create price larms report.
 - edit all data.
 - export all database files to an import file.

WWW: http://xtrader.sourceforge.net/

Requested by:	lioux [1] -- I gave him maintainer too.. if he doesn't
		want it he can change.
2005-04-17 05:04:12 +00:00

21 lines
1 KiB
Text

--- xtrader/Makefile.linux.orig Thu Oct 21 18:21:08 2004
+++ xtrader/Makefile.linux Sat Apr 16 23:40:08 2005
@@ -1,12 +1,12 @@
-COMP= g++
-IFLAGS= -I../util -Isrc -I/usr/local/include -I/usr/include/ptypes
-CFLAGS= -march=i586 -O3 -Wall -Wno-format-y2k
-LFLAGS= -L/usr/local/lib -lz -lfltk -lptypes -lexpat -L/usr/X11R6/lib -lm -lXpm -lX11 -ldl -lpthread -lXft
-LFLAGS2= -L/usr/local/lib -lfltk_ -lptypes -L/usr/X11R6/lib -lXpm -lX11 -ldl -lpthread
+COMP= $(CC)
+IFLAGS= -I../util -Isrc -I$(LOCALBASE)/include -I$(LOCALBASE)/include/ptypes -I$(X11BASE)/include
+CFLAGS:= $(CFLAGS) -Wno-format-y2k
+LFLAGS= -L$(LOCALBASE)/lib -lz -lfltk -lptypes -lexpat -L$(X11BASE)/lib -lm -lXpm -lX11 $(PTHREAD_LIBS) -lXft -lcompat
+LFLAGS2= -L$(LOCALBASE)/lib -lfltk -lptypes -L$(X11BASE)/lib -lXpm -lX11 $(PTHREAD_LIBS)
XTRADER= xtrader
XTRADER2= xtrader.static
-all: $(XTRADER) $(XTRADER2)
+all: $(XTRADER)
XTRADER_OBJ=../util/MH.o ../util/MHCSVFile.o \
../util/MHDate.o ../util/MHDayChart.o ../util/MHDC.o \