Annotation of OpenXM_contrib/gnuplot/Makefile.in, Revision 1.1.1.3
1.1 maekawa 1: ############################################################
2: #
1.1.1.3 ! ohara 3: # $Id: Makefile.in,v 1.42.2.18 2002/10/25 11:32:54 lhecking Exp $
1.1 maekawa 4: #
5: # GNUPLOT Makefile.in for autoconf (Unix X11 support)
6: # Adapted from makefile.unx by djm@gnu.ai.mit.edu
7: ############################################################
8:
9: # default target
10:
11: all: @ERRORFIX@ gnuplot @GNUPLOT_X11@ doc demo/binary1
12:
13:
14: # this tells GNU make not to export variables into the environment
15: # But other makes don't understand its significance, so it must
16: # not be the first target in the file. So it is here, before
17: # any variables are created, but after the default target
18: .NOEXPORT:
19:
20: SHELL = /bin/sh
21:
22: PACKAGE=@PACKAGE@
23: VERSION=@VERSION@
24:
25: prefix = @prefix@
26: exec_prefix = @exec_prefix@
27: bindir = @bindir@
28: datadir = @datadir@
29: includedir = @includedir@
30: libdir = @libdir@
31: mandir = @mandir@
32: srcdir = @srcdir@
33: top_builddir = .
34: top_srcdir = @top_srcdir@
35: VPATH = @srcdir@
36: @SET_MAKE@
37:
38: HELPFILE=$(datadir)/gnuplot.gih
39:
40: INSTALL = @INSTALL@
41: INSTALL_PROGRAM = @INSTALL_PROGRAM@
42: INSTALL_DATA = @INSTALL_DATA@
43: INSTALL_SCRIPT = @INSTALL_SCRIPT@
44:
45: CC = @CC@
46: CPPFLAGS = @CPPFLAGS@
47: DEFS = @DEFS@
48: INCLUDES = -I. -I$(top_srcdir)
49: CFLAGS = @CFLAGS@
50: LDFLAGS = @LDFLAGS@
51:
52: COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
53: LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
54:
55: # This stuff is obsolete now. Use the appropriate configure options!
56: #
57: # Additional devices you can add.
58: # -DAPOLLO Apollo Graphics Primitive Resource (window resize after replot)
59: # -DGPR Apollo Graphics Primitive Resource (fixed-size window)
60: # -DCGI SCO CGI
61: # -DIRIS IRIS4D series computer
62: # -DSUN Sun Microsystems Workstation
63: # -DLINUXVGA Linux PC with SuperVGA library
64: # -DUNIXPC unixpc (ATT 3b1 or ATT 7300)
65: # -DUNIXPLOT unixplot
66: # -DGNUGRAPH use GNU graphics version of UNIX plot library
67: # This can only be used in combination with -DUNIXPLOT
68: # TERMFLAGS = @TERMFLAGS@
69:
70: # -lplot if you have -DUNIXPLOT in TERMFLAGS
71: # -lsuntool -lsunwindow -lpixrect if you have -DSUN in TERMFLAGS
72: # -lgl_s if -DIRIS in TERMFLAGS
73: # -lccgi if -DCGI in TERMFLAGS
74: # -lvga if -DLINUXVGA in TERMFLAGS
75: TERMLIBS = @TERMLIBS@
76: TERMXLIBS = @TERMXLIBS@
77:
78: LIBS = @LIBS@
1.1.1.3 ! ohara 79: XLIBS = @LIBRARIES_FOR_X@
1.1 maekawa 80:
81: # Where to send email about bugs and comments (locally)
82: EMAIL = bug-gnuplot@dartmouth.edu
83:
84: # Lasergnu is a handy shell script for creating a plot from the
85: # command line and sending it directly to the printer. It currently
86: # supports PostScript and imagen printers, and probably would need
87: # tailoring to your site.
88: # Use lasergnu_install to install lasergnu.
89: # Use lasergnu_noinstall to not install lasergnu (default).
90: LASERGNU = @LASERGNU@
91:
92: ############################################################
93: # -DREADLINE:
94: # If READLINE is defined, then command-line editing is supported.
95: # Otherwise, your normal terminal editing is all you get.
96: # Some machines will not support this, and they will turn this
97: # option off (for example, apollos running SR10.2 or SR10.3 and
98: # loaded with BSD4.3 instead of SYS5). Note: problems with
99: # gnuplot prompts have been noted when this feature is selected
100: # on IBM RS/6000 AIX, and compile errors are encountered on
101: # Sequent Dynix 3 and Convex OS 9.0.
102: # -DNOCWDRC:
103: # If NOCWDRC is defined, then any .gnuplot in the current directory
104: # is not read on startup. This is a security consideration
105: # especially for root users ( we recommend you define -DNOCWDRC ).
106: # -ISC22 to circumvent missing plots past the first on ISC 2.2
107:
108: # -DNO_MEMSET if you don't have memset()
109: # -DHAVE_BZERO if you have bzero() instead and no memset().
110: # This works only if the second argument to memset() is 0!
111: # -DNO_MEMCPY if you don't have memcpy()
112: # -DHAVE_BCOPY if you have bcopy() instead and no memcpy()
113: # -DGAMMA=foo if your gamma function is called foo(). Apollos and
114: # Linux have lgamma(3m). The default is -DGAMMA=gamma.
115: # -DHAVE_GETCWD if your unix uses getcwd() instead of getwd()
116: # this is needed by HP-UX and Cray Unicos systems.
117: # -DULTRIX_KLUDGE if you run X windows on Ultrix and experience the
118: # "every other plot" problem.
119: # -DCRIPPLED_SELECT if "select errors" are encountered with X. This
120: # option is needed on SVR3 platforms with incomplete support for
121: # the BSD select() system call
122: # -DHAVE_LOCALE if your system uses the 'setlocale' function to
123: # support foreign charactersets (currently only ISO8859-1).
124: # -DSYSTEM_TIME to use the system-provided set of time routines -
125: # in case the gnuplot routines in time.c misbehave
126: # -Dunix is required to explicitly define "unix" for SCO and IBM
127: # RS/6000 running AIX 3.2
128:
129: #
130: # You probably don't need to change anything below here.
131: #
132:
133: ACLOCAL = @ACLOCAL@
134: AUTOCONF = @AUTOCONF@
135: AUTOMAKE = @AUTOMAKE@
136: AUTOHEADER = @AUTOHEADER@
137: ACLOCAL_AMFLAGS = -I m4
138: ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
139: CONFIG_HEADER_IN = config.hin
140: CONFIG_HEADER = config.h
141: GZIP = --best
142: TAR = tar
143: ####################################################################
144: #
145:
146:
147: # definitions for macros used in makefile.all (updated automatically)
148:
149: O=o
150: T=$(srcdir)/term/
151: D=$(srcdir)/docs/
152: L=$(srcdir)/docs/latextut/
153: Q=$(srcdir)/docs/old/
1.1.1.2 maekawa 154: S=$(srcdir)/docs/psdoc/
1.1 maekawa 155: M=$(srcdir)/demo/
1.1.1.3 ! ohara 156: B=$(srcdir)/beos/
1.1 maekawa 157: N=$(srcdir)/NeXT/
158: P=$(srcdir)/os2/
159: W=$(srcdir)/win/
160:
161: #standard unix make does not support included makefiles.
162: #we inline the contents of makefile.all here
163: #it will be updated using a script whenever makefile.all is changed
164:
165:
166: #<<<makefile.all>>>
167: ########################################################
168: #
1.1.1.3 ! ohara 169: # $Id: Makefile.in,v 1.42.2.18 2002/10/25 11:32:54 lhecking Exp $
1.1 maekawa 170: #
171: ########################################################
172: #
173: # Please note that this is NOT a standalone makefile
174: # it is intended to be merged into, or included by
175: # other makefiles once some macros have been defined
176: #
177: # If this segment appears in a makefile other than makefile.all,
178: # do not modify it in situ. This segment will be entirely
179: # replaced in all makefiles whenever makefile.all is updated
180: #
181: # If you are porting gnuplot to a new system, it would
182: # be very helpful if you could include this one in it.
183: # This reduces the amount of work required when files are
184: # added to the distribution
185: #
186: # note that there exists a file gnuplot.opt which lists all the
187: # core files (but without extension)
188: #
189: # please define
190: # O as the object extension
191: # T as the prefix for terminals (eg term/ or [.term])
192: # D as the prefix for docs (eg docs/)
193: # L as the prefix for latex tutorial (eg docs/latextut/ or [.docs.latextut])
194: # Q as the prefix for old doc files (eg docs/old)
1.1.1.2 maekawa 195: # S as the prefix for postscript docs (eg docs/psdoc)
1.1 maekawa 196: # M as the prefix for demos (eg demo/)
1.1.1.3 ! ohara 197: # B as the prefix for Be (eg beos/)
1.1 maekawa 198: # N as the prefix for NeXT (eg NeXT/)
199: # P as the prefix for OS/2 (eg os2/)
200: # W as the prefix for Windows (eg win/)
201:
202: ####################################################################
203: # List of object files except version.$(O)
204: COREOBJS = alloc.$(O) binary.$(O) bitmap.$(O) command.$(O) contour.$(O)\
205: datafile.$(O) eval.$(O) fit.$(O) graphics.$(O) graph3d.$(O) help.$(O)\
206: hidden3d.$(O) internal.$(O) interpol.$(O) matrix.$(O) misc.$(O)\
207: parse.$(O) plot.$(O) plot2d.$(O) plot3d.$(O) readline.$(O)\
208: scanner.$(O) set.$(O) show.$(O) specfun.$(O) standard.$(O) stdfn.$(O)\
209: term.$(O) time.$(O) util.$(O) util3d.$(O)
210:
211: ####################################################################
212: # List of source files
213: # Used for making shar files, lint, and some dependencies.
214:
215: CSOURCE = alloc.c binary.c bitmap.c command.c contour.c datafile.c eval.c \
216: fit.c graphics.c graph3d.c help.c hidden3d.c internal.c interpol.c \
217: matrix.c misc.c parse.c plot.c plot2d.c plot3d.c readline.c \
218: scanner.c set.c show.c specfun.c standard.c stdfn.c term.c time.c \
219: util.c util3d.c version.c
220:
221: HEADERS = alloc.h ansichek.h binary.h bitmap.h fit.h fnproto.h help.h \
222: matrix.h national.h plot.h protos.h setshow.h stdfn.h syscfg.h term.h
223:
224: CORETERM = $(T)aed.trm $(T)ai.trm $(T)amiga.trm $(T)apollo.trm \
1.1.1.2 maekawa 225: $(T)atariaes.trm $(T)atarivdi.trm $(T)be.trm $(T)cgi.trm \
226: $(T)cgm.trm $(T)compact.c $(T)corel.trm $(T)debug.trm \
227: $(T)djsvga.trm $(T)driver.h $(T)dumb.trm $(T)dxf.trm $(T)dxy.trm \
1.1.1.3 ! ohara 228: $(T)eepic.trm $(T)/emf.trm $(T)emxvga.trm $(T)epslatex.trm \
! 229: $(T)epson.trm $(T)excl.trm $(T)fg.trm $(T)fig.trm $(T)ggi.trm \
! 230: $(T)gif.trm $(T)gnugraph.trm $(T)gpic.trm $(T)gpr.trm \
1.1 maekawa 231: $(T)grass.trm $(T)hp26.trm $(T)hp2648.trm $(T)hp500c.trm \
232: $(T)hpgl.trm $(T)hpljii.trm $(T)hppj.trm $(T)imagen.trm \
233: $(T)impcodes.h $(T)iris4d.trm $(T)kyo.trm $(T)latex.trm \
1.1.1.2 maekawa 234: $(T)linux.trm $(T)mac.trm $(T)metafont.trm $(T)metapost.trm \
235: $(T)mgr.trm $(T)mif.trm $(T)multitos.trm $(T)next.trm $(T)object.h \
1.1.1.3 ! ohara 236: $(T)openstep.trm $(T)pbm.trm $(T)/pdf.trm $(T)pc.trm $(T)pm.trm \
! 237: $(T)png.trm $(T)post.trm $(T)pslatex.trm $(T)pstricks.trm \
! 238: $(T)qms.trm $(T)regis.trm $(T)rgip.trm $(T)sun.trm $(T)svg.trm \
! 239: $(T)t410x.trm $(T)table.trm \
1.1 maekawa 240: $(T)tek.trm $(T)texdraw.trm $(T)tgif.trm $(T)tkcanvas.trm \
241: $(T)tpic.trm $(T)unixpc.trm $(T)unixplot.trm $(T)v384.trm \
242: $(T)vws.trm $(T)win.trm $(T)x11.trm $(T)xlib.trm
243:
244: CSOURCE8 = bf_test.c gplt_x11.c
245:
246: NEXTSRC = $(N)Controller.h $(N)Controller.m $(N)GnuTerm.iconheader \
247: $(N)GnuTerm.tiff $(N)GnuTerm_main.m $(N)GnuView.h \
248: $(N)GnuView.m $(N)Makefile $(N)Makefile.postamble \
249: $(N)Makefile.preamble $(N)PB.gdbinit $(N)PB.project \
250: $(N)README.rtf $(N)bigger.tiff $(N)gnuviewController.h \
251: $(N)gnuviewController.m $(N)smaller.tiff \
252: $(N)English.lproj/GnuTerm.nib/data.classes \
253: $(N)English.lproj/GnuTerm.nib/data.nib \
254: $(N)English.lproj/gnuview.nib/bigger.tiff \
255: $(N)English.lproj/gnuview.nib/data.classes \
256: $(N)English.lproj/gnuview.nib/data.nib \
257: $(N)English.lproj/gnuview.nib/smaller.tiff
258:
1.1.1.3 ! ohara 259: BESRC = $(B)GPApp.cpp $(B)GPApp.h $(B)GPBitmap.cpp $(B)GPBitmap.h \
! 260: $(B)GPView.cpp $(B)GPView.h $(B)GPWindow.cpp $(B)GPWindow.h \
! 261: $(B)Makefile $(B)XStringList.cpp $(B)XStringList.h $(B)constants.h
! 262:
1.1 maekawa 263: OS2SRC = $(P)dialogs.c $(P)dialogs.h $(P)gclient.c $(P)gnuplot.ico \
264: $(P)gnupmdrv.c $(P)gnupmdrv.def $(P)gnupmdrv.h $(P)gnupmdrv.ipf \
265: $(P)gnupmdrv.rc $(P)print.c
266:
1.1.1.2 maekawa 267: WINDOWS = $(W)pgnuplot.c $(W)geticon.c $(W)wcommon.h $(W)wgnupl32.def \
268: $(W)wgnuplib.c $(W)wgnuplib.def $(W)wgnuplib.h $(W)wgnuplib.rc \
269: $(W)wgnuplot.def $(W)wgnuplot.hpj $(W)wgnuplot.mnu $(W)wgnuplot.rc \
270: $(W)wgraph.c $(W)winmain.c $(W)wmenu.c $(W)wpause.c $(W)wprinter.c \
1.1 maekawa 271: $(W)wresourc.h $(W)wtext.c $(W)wtext.h
272:
273: # not C code, but still needed
274:
275: DEMOS = $(M)1.dat $(M)2.dat $(M)3.dat $(M)airfoil.dem $(M)all.dem \
276: $(M)animate.dem $(M)battery.dat $(M)big_peak.dat $(M)binary.dem \
277: $(M)bivariat.dem $(M)borders.dem $(M)contours.dem $(M)controls.dem \
278: $(M)density.fnc $(M)discrete.dem $(M)electron.dem $(M)fit.dem \
279: $(M)glass.dat $(M)gnuplot.rot $(M)hemisphr.dat $(M)hexa.fnc \
280: $(M)hidden.dem $(M)klein.dat $(M)lcdemo.dat $(M)line.fnc \
281: $(M)mgr.dem $(M)moli3.dat $(M)multimsh.dem $(M)multiplt.dem \
282: $(M)param.dem $(M)polar.dem $(M)poldat.dem $(M)prob.dem \
283: $(M)prob2.dem $(M)random.dem $(M)reflect.fnc $(M)reread.bor \
284: $(M)scatter.dem $(M)scatter2.dat $(M)silver.dat $(M)simple.dem \
285: $(M)singulr.dem $(M)sound.par $(M)sound2.par $(M)soundvel.dat \
286: $(M)spline.dem $(M)start.par $(M)stat.inc $(M)steps.dat \
287: $(M)steps.dem $(M)surface1.dem $(M)surface2.dem $(M)timedat.dat \
288: $(M)timedat.dem $(M)using.dat $(M)using.dem $(M)vector.dem \
289: $(M)whale.dat $(M)world.cor $(M)world.dat $(M)world.dem
290:
291: ETC = 0BUGS 0FAQ 0INSTALL 0PORTING 0README ChangeLog CodeStyle Copyright \
1.1.1.3 ! ohara 292: INSTALL.gnu Makefile.in NEWS PGPKEYS TODO $(ACLOCAL_M4) \
1.1 maekawa 293: amiga.c buildvms.com commitvers $(CONFIG_HEADER_IN) configure \
1.1.1.3 ! ohara 294: configure.in configure.vms corgraph.asm corplot.c ctrl87.c ctrl87.h \
1.1 maekawa 295: djconfig.sh errorfix.sh genopt.com gnuplot.def gnuplot.el gnuplot.opt \
296: gnuplot.prj header.mac hrcgraph.asm install-sh intergra.x11 lasergnu \
297: lineproc.mac linkopt.vms linkopt.ztc make_vms.com makefile.286 \
298: makefile.all makefile.amg makefile.ami makefile.cyg makefile.dj2 \
299: makefile.djg makefile.emx makefile.g makefile.mgw makefile.msc \
300: makefile.msw makefile.mto makefile.nt makefile.os2 makefile.os9 \
301: makefile.st makefile.tc makefile.unx makefile.vms makefile.wc \
302: makefile.win makefile.ztc missing mkinstalldirs os9.c pcgraph.asm \
1.1.1.3 ! ohara 303: rgipgnu stamp-h.in strftime.c vms.c x11.opt m4/apple.m4 m4/beos.m4 \
! 304: m4/msdos.m4 m4/next.m4 m4/select.m4 $(T)README
1.1 maekawa 305:
306: # Documentation and help files
307: DOCS1 = $(D)Makefile.in $(D)README $(D)checkdoc.c $(D)doc2gih.c \
308: $(D)doc2hlp.c $(D)doc2hlp.com $(D)doc2html.c $(D)doc2info.c \
309: $(D)doc2ipf.c $(D)doc2ms.c $(D)doc2rnh.c $(D)doc2rtf.c $(D)doc2tex.c \
1.1.1.2 maekawa 310: $(D)doc2texi.el $(D)doc2texi.pl $(D)doc2x.h $(D)gnuplot.1 \
311: $(D)gnuplot.texi $(D)lasergnu.1 $(D)makefile.dst $(D)makefile.ami \
312: $(D)termdoc.c $(D)titlepag.ms $(D)titlepag.tex $(D)toc_entr.sty \
313: $(D)xref.c $(D)xref.h
1.1 maekawa 314: DOCS2 = $(D)gnuplot.doc $(D)gpcard.tex
315: DOCS3 = $(L)Makefile.in $(L)eg1.plt \
316: $(L)eg2.plt $(L)eg3.dat $(L)eg3.plt \
317: $(L)eg4.plt $(L)eg5.plt $(L)eg6.plt \
318: $(L)header.tex $(L)linepoin.plt $(L)makefile.dst $(L)tutorial.tex
319: DOCS4 = $(S)Makefile $(S)README $(S)ps_file.doc $(S)ps_guide.ps \
320: $(S)ps_symbols.gpi
321: DOCS5 = $(Q)ChangeLog.old $(Q)History.old $(Q)README.3d $(Q)README.3p1 \
322: $(Q)README.3p2 $(Q)README.3p3 $(Q)README.3p4 $(Q)README.3p5 \
323: $(Q)README.ami $(Q)README.emx $(Q)README.fit $(Q)README.gnu \
324: $(Q)README.iso $(Q)README.mf $(Q)README.nex $(Q)README.os2 \
325: $(Q)README.pic $(Q)README.pro $(Q)README.win $(Q)README.x11 \
326: $(Q)README.xli $(Q)makefile.r
327:
328: DOCS = $(DOCS1) $(DOCS2) $(DOCS3) $(DOCS4) $(DOCS5)
329:
330: #########################################################################
331: # Simple Dependencies
332: # - note that VMS requires space before and after the :
333:
334: $(COREOBJS) : plot.h protos.h stdfn.h
335:
336: help.$(O) misc.$(O) : help.h
337:
338: protos.h : alloc.h
339:
340: graphics.$(O) graph3d.$(O) misc.$(O) plot.$(O) set.$(O) show.$(O) term.$(O) : setshow.h
341:
342: fit.$(O) : fit.c fit.h matrix.h plot.h
343:
344: matrix.$(O) : matrix.c matrix.h fit.h
345:
346: bitmap.$(O) term.$(O) : bitmap.h
347:
348: term.$(O) : term.h $(CORETERM)
349:
350: #>>>makefile.all<<<
351:
352: ####################################################
353: # (that's the end of makefile.all, by the way...)
354:
355: # List of object files except version.o
356:
1.1.1.2 maekawa 357: OBJS = $(COREOBJS)
1.1 maekawa 358:
359: ################################################################
360:
361: install: all $(LASERGNU)
1.1.1.3 ! ohara 362: $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
! 363: $(srcdir)/mkinstalldirs $(DESTDIR)$(datadir)
! 364: $(INSTALL_PROGRAM) gnuplot $(DESTDIR)$(bindir)/gnuplot
! 365: test ! -f gnuplot_x11 || $(INSTALL_PROGRAM) gnuplot_x11 $(DESTDIR)$(bindir)/gnuplot_x11
1.1 maekawa 366: -cd docs && $(MAKE) $(MFLAGS) install
367: @LINUXSUID@
368:
369: lasergnu_install: lasergnu docs/lasergnu.1
1.1.1.3 ! ohara 370: $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
! 371: $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
! 372: $(INSTALL_SCRIPT) $(srcdir)/lasergnu $(DESTDIR)$(bindir)/lasergnu
! 373: $(INSTALL_DATA) $(srcdir)/docs/lasergnu.1 $(DESTDIR)$(mandir)/man1/lasergnu.1
1.1 maekawa 374:
375: lasergnu_noinstall:
376:
377: uninstall:
1.1.1.3 ! ohara 378: rm -f $(DESTDIR)$(bindir)/gnuplot $(DESTDIR)$(bindir)/gnuplot_x11
! 379: rm -f $(DESTDIR)$(mandir)/man1/gnuplot.1 $(DESTDIR)$(mandir)/man1/lasergnu.1
! 380: cd docs && $(MAKE) $(MFLAGS) uninstall
1.1 maekawa 381:
382: ################################################################
383: # Dependencies
384:
385: .c.o:
386: $(COMPILE) -c $<
387:
388: gnuplot: $(OBJS) version.o
389: $(LINK) $(OBJS) version.o $(TERMLIBS) $(TERMXLIBS) $(LIBS)
390:
391: gnuplot_x11: gplt_x11.o stdfn.o
392: $(LINK) gplt_x11.o stdfn.o $(XLIBS) $(LIBS)
393:
394: doc:
1.1.1.3 ! ohara 395: cd docs && $(MAKE) $(MFLAGS)
1.1 maekawa 396:
397: demo/binary1 demo/binary2 demo/binary3: bf_test
398: wd=`pwd` && cd $(srcdir)/demo && $$wd/bf_test
399:
400: bf_test: bf_test.o binary.o alloc.o
401: $(LINK) bf_test.o binary.o alloc.o $(LIBS)
402:
403: errorfix: $(srcdir)/errorfix.sh
404: $(srcdir)/errorfix.sh $(srcdir)
405: touch errorfix
406:
407: command.o: command.c fit.h help.h setshow.h
408: $(COMPILE) -DHELPFILE=\"$(HELPFILE)\" -c $<
409:
410: show.o: show.c plot.h setshow.h
411: $(COMPILE) -DHELPFILE=\"$(HELPFILE)\" -DGNUPLOT_BINDIR=\"$(bindir)\" -c $<
412:
413: term.o: term.c term.h $(CORETERM)
414: $(COMPILE) -I./term -I$(top_srcdir)/term -c $<
415:
416: version.o: version.c
417: $(COMPILE) -DCONTACT=\"$(EMAIL)\" -c $<
418:
419: $(COREOBJS) version.o bf_test.o : $(CONFIG_HEADER)
420:
421: ################################################################
422: # Autoconfig rules
423: #
424: # I have enabled these rules, because missing autoconf and
425: # automake tools are now detected by configure and dealt with.
426:
427: # This rule is disabled because we have no Makefile.am
428: #$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
429: # cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
430:
431: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
432: cd $(top_builddir) \
433: && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
434:
1.1.1.3 ! ohara 435: $(ACLOCAL_M4): configure.in m4/msdos.m4 m4/next.m4
1.1 maekawa 436: cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
437:
438: config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
439: $(SHELL) ./config.status --recheck
440:
441: $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
442: cd $(srcdir) && $(AUTOCONF)
443:
444: $(CONFIG_HEADER): stamp-h
445: @:
446: stamp-h: $(srcdir)/$(CONFIG_HEADER_IN) $(top_builddir)/config.status
447: cd $(top_builddir) \
448: && CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADER)
449: $(SHELL) ./config.status
450: @echo timestamp > stamp-h
451:
452: $(srcdir)/$(CONFIG_HEADER_IN): stamp-h.in
1.1.1.3 ! ohara 453: $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
1.1 maekawa 454: cd $(top_srcdir) && $(AUTOHEADER)
455: @echo timestamp > $(srcdir)/stamp-h.in
456:
457: ################################################################
458: # Miscellaneous targets
459:
460: SOURCES = $(HEADERS) $(CSOURCE) $(CSOURCE8) $(CORETERM) $(NEXTSRC) \
1.1.1.3 ! ohara 461: $(BESRC) $(OS2SRC) $(WINDOWS)
1.1 maekawa 462:
463: DISTFILES = $(ETC) $(SOURCES) $(DEMOS) $(DOCS)
464:
465: SUBDIRS = NeXT NeXT/English.lproj NeXT/English.lproj/GnuTerm.nib \
1.1.1.3 ! ohara 466: NeXT/English.lproj/gnuview.nib beos demo docs docs/latextut \
! 467: docs/old docs/psdoc m4 os2 term win
1.1 maekawa 468:
469: clean:
470: rm -f gnuplot gnuplot_x11 bf_test *.o core *~
471: rm -f gnuplot.exe gnuplot_x11.exe bf_test.exe
472: rm -f demo/binary? demo/temp.set demo/defaults.ini demo/fit.log \
473: demo/soundfit.par
474: cd docs && $(MAKE) $(MFLAGS) clean
475:
476: mostlyclean: clean
477:
478: distclean: clean
479: rm -f Makefile config.status config.cache $(CONFIG_HEADER) \
1.1.1.3 ! ohara 480: config.log stamp-h stamp-h[0-9]* docs/Makefile docs/latextut/Makefile
1.1 maekawa 481: test "$(srcdir)" = "$(top_builddir)" || rm -rf docs term
482:
483: realclean: distclean
484: rm -f TAGS docs/TAGS
485:
486: distdir = $(PACKAGE)-$(VERSION)
487: top_distdir = $(distdir)
488:
489: dist: distdir
490: -chmod -R a+r $(distdir)
491: $(TAR) chf - $(distdir) | gzip $(GZIP) > $(distdir).tar.gz
492: -rm -rf $(distdir)
493:
494: distdir: $(DISTFILES)
495: -rm -rf $(distdir)
496: mkdir $(distdir)
497: -chmod u+rwx,go+rx $(distdir)
498: for subdir in $(SUBDIRS); do \
499: test -d $(distdir)/$$subdir \
500: || mkdir $(distdir)/$$subdir \
501: || exit 1; \
502: chmod u+rwx,go+rx $(distdir)/$$subdir; \
503: done
504: @for file in $(DISTFILES); do \
505: d=$(srcdir); \
506: test -f $(distdir)/$$file \
507: || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
508: || cp -p $$d/$$file $(distdir)/$$file; \
509: done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>