version 1.1.1.1, 2000/01/09 17:00:53 |
version 1.1.1.2, 2000/01/22 14:15:53 |
|
|
# |
# |
# $Id$ |
# $Id$ |
# |
# |
# Makefile for use with emx (and above) and GNUMake |
# Makefile for use with emx and GNUMake |
# on OS/2 3.0 and above (might also work for OS/2 2.x) |
# on OS/2 3.0 and above (might also work for OS/2 2.x) |
# |
# |
# last modification date: 19981205 |
# last modification date: 19991027 |
# |
# |
|
|
# We depend on using cmd.exe (or a compatible one) |
# We depend on using cmd.exe (or a compatible one) |
Line 118 OS2FLAGS = -DOS2 -DHELPFILE=\"$(HELPFILE)\" |
|
Line 118 OS2FLAGS = -DOS2 -DHELPFILE=\"$(HELPFILE)\" |
|
EMXSPECIFIC = -ffloat-store -DREADLINE -DHAVE_STRNICMP -DPIPES -DHAVE_STRERROR -DHAVE_SYS_SELECT_H -DHAVE_SYS_STAT_H |
EMXSPECIFIC = -ffloat-store -DREADLINE -DHAVE_STRNICMP -DPIPES -DHAVE_STRERROR -DHAVE_SYS_SELECT_H -DHAVE_SYS_STAT_H |
LIBS = |
LIBS = |
ifdef GNU_RL |
ifdef GNU_RL |
EMXSPECIFIC += -DGNU_READLINE |
EMXSPECIFIC += -DHAVE_LIBREADLINE |
LIBS += -lreadline -ltermcap |
LIBS += -lreadline -ltermcap |
endif |
endif |
|
|
Line 235 gnupmdrv.hlp: $(OS2DIR)\gnupmdrv.ipf |
|
Line 235 gnupmdrv.hlp: $(OS2DIR)\gnupmdrv.ipf |
|
X11LIBS = -lX11 -lsocket -Zcrtdll |
X11LIBS = -lX11 -lsocket -Zcrtdll |
# X11 includes |
# X11 includes |
X11INCLUDES = -I$(X11ROOT)/xfree86/include |
X11INCLUDES = -I$(X11ROOT)/xfree86/include |
X11FLAGS= -D__ST_MT_ERRNO -Zmtd -Zsysv-signals |
X11FLAGS= -Zmtd -Zsysv-signals |
|
|
gnuplot_x11.exe: gplt_x11.o stdfn.o |
gnuplot_x11.exe: gplt_x11.o stdfn.o |
$(CC) $(LFLAGS) $(X11FLAGS) $(EMXSPECIFIC) -o $@ $^ $(X11LIBS) |
$(CC) $(LFLAGS) $(X11FLAGS) $(EMXSPECIFIC) -o $@ $^ $(X11LIBS) |
Line 250 gplt_x11.o: gplt_x11.c |
|
Line 250 gplt_x11.o: gplt_x11.c |
|
# (and don't care about the strange way it's implemented ...) |
# (and don't care about the strange way it's implemented ...) |
gnuplot.dvi: gnuplot.tex |
gnuplot.dvi: gnuplot.tex |
copy gnuplot.tex $(DOCDIR)\gnuplot_2.tex |
copy gnuplot.tex $(DOCDIR)\gnuplot_2.tex |
cd $(DOCDIR) & latex2e gnuplot_2.tex |
cd $(DOCDIR) & latex gnuplot_2.tex & latex gnuplot_2.tex |
move $(DOCDIR)\gnuplot_2.dvi gnuplot.dvi |
move $(DOCDIR)\gnuplot_2.dvi gnuplot.dvi |
del $(DOCDIR)\gnuplot_2* |
del $(DOCDIR)\gnuplot_2* |
gnuplot.tex: $(DOCDIR)\gnuplot.doc doc2tex.exe |
gnuplot.tex: $(DOCDIR)\gnuplot.doc doc2tex.exe |