diff --git a/Makefile.in b/Makefile.in index 1467ccfdfe..87a6044a2e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -3,12 +3,18 @@ topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ +# +# The ../$(srcdir)/client/configure +# only works when the original configure is relative path +# it doesn't work when it is an absolute path +# This needs to be fixed +# all: cd db; make; cd ..; \ cd lib; make; cd ..; \ cd api; make; cd ..; \ cd apps; make; cd ..; \ - cd client; $(srcdir)/client/configure make; cd ..; \ + cd client; ../$(srcdir)/client/configure make; cd ..; \ cd sched; make; cd ..; \ cd tools; make; cd ..; diff --git a/sched/Makefile.in b/sched/Makefile.in index 640e95a6b3..91edef85df 100644 --- a/sched/Makefile.in +++ b/sched/Makefile.in @@ -34,8 +34,8 @@ FEEDER_OBJS = \ MYSQL_DIR = /usr/local/mysql/lib MYSQL_LIBS = \ --L$(MYSQL_DIR) \ --lmysqlclient -L /usr/local/lib -lz \ +-L$(MYSQL_DIR) -L/sw/lib/mysql \ +-lmysqlclient -L/usr/local/lib -lz \ -lm $(NETLIBS) .C.o: diff --git a/tools/Makefile.in b/tools/Makefile.in index 1cd26fec7d..b99d423589 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -25,8 +25,8 @@ all: $(PROGS) $(OBJS) MYSQL_DIR = /usr/local/mysql/lib MYSQL_LIBS = \ --L $(MYSQL_DIR) -L /usr/local/lib/mysql \ --lmysqlclient -L /usr/local/lib -lz \ +-L$(MYSQL_DIR) -L/usr/local/lib/mysql \ +-L/sw/lib/mysql -lmysqlclient -L/usr/local/lib -lz \ -lm $(NETLIBS) LIBS = \