Annotation of OpenXM_contrib/gnuplot/Makefile.in, Revision 1.1.1.2
1.1 maekawa 1: ############################################################
2: #
1.1.1.2 ! maekawa 3: # $Id: Makefile.in,v 1.42.2.7 1999/10/27 11:15:10 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@
79: XLIBS = @X_LIBRARIES@
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/
156: N=$(srcdir)/NeXT/
157: P=$(srcdir)/os2/
158: W=$(srcdir)/win/
159:
160: #standard unix make does not support included makefiles.
161: #we inline the contents of makefile.all here
162: #it will be updated using a script whenever makefile.all is changed
163:
164:
165: #<<<makefile.all>>>
166: ########################################################
167: #
1.1.1.2 ! maekawa 168: # $Id: Makefile.in,v 1.42.2.7 1999/10/27 11:15:10 lhecking Exp $
1.1 maekawa 169: #
170: ########################################################
171: #
172: # Please note that this is NOT a standalone makefile
173: # it is intended to be merged into, or included by
174: # other makefiles once some macros have been defined
175: #
176: # If this segment appears in a makefile other than makefile.all,
177: # do not modify it in situ. This segment will be entirely
178: # replaced in all makefiles whenever makefile.all is updated
179: #
180: # If you are porting gnuplot to a new system, it would
181: # be very helpful if you could include this one in it.
182: # This reduces the amount of work required when files are
183: # added to the distribution
184: #
185: # note that there exists a file gnuplot.opt which lists all the
186: # core files (but without extension)
187: #
188: # please define
189: # O as the object extension
190: # T as the prefix for terminals (eg term/ or [.term])
191: # D as the prefix for docs (eg docs/)
192: # L as the prefix for latex tutorial (eg docs/latextut/ or [.docs.latextut])
193: # Q as the prefix for old doc files (eg docs/old)
1.1.1.2 ! maekawa 194: # S as the prefix for postscript docs (eg docs/psdoc)
1.1 maekawa 195: # M as the prefix for demos (eg demo/)
196: # N as the prefix for NeXT (eg NeXT/)
197: # P as the prefix for OS/2 (eg os2/)
198: # W as the prefix for Windows (eg win/)
199:
200: ####################################################################
201: # List of object files except version.$(O)
202: COREOBJS = alloc.$(O) binary.$(O) bitmap.$(O) command.$(O) contour.$(O)\
203: datafile.$(O) eval.$(O) fit.$(O) graphics.$(O) graph3d.$(O) help.$(O)\
204: hidden3d.$(O) internal.$(O) interpol.$(O) matrix.$(O) misc.$(O)\
205: parse.$(O) plot.$(O) plot2d.$(O) plot3d.$(O) readline.$(O)\
206: scanner.$(O) set.$(O) show.$(O) specfun.$(O) standard.$(O) stdfn.$(O)\
207: term.$(O) time.$(O) util.$(O) util3d.$(O)
208:
209: ####################################################################
210: # List of source files
211: # Used for making shar files, lint, and some dependencies.
212:
213: CSOURCE = alloc.c binary.c bitmap.c command.c contour.c datafile.c eval.c \
214: fit.c graphics.c graph3d.c help.c hidden3d.c internal.c interpol.c \
215: matrix.c misc.c parse.c plot.c plot2d.c plot3d.c readline.c \
216: scanner.c set.c show.c specfun.c standard.c stdfn.c term.c time.c \
217: util.c util3d.c version.c
218:
219: HEADERS = alloc.h ansichek.h binary.h bitmap.h fit.h fnproto.h help.h \
220: matrix.h national.h plot.h protos.h setshow.h stdfn.h syscfg.h term.h
221:
222: CORETERM = $(T)aed.trm $(T)ai.trm $(T)amiga.trm $(T)apollo.trm \
1.1.1.2 ! maekawa 223: $(T)atariaes.trm $(T)atarivdi.trm $(T)be.trm $(T)cgi.trm \
! 224: $(T)cgm.trm $(T)compact.c $(T)corel.trm $(T)debug.trm \
! 225: $(T)djsvga.trm $(T)driver.h $(T)dumb.trm $(T)dxf.trm $(T)dxy.trm \
! 226: $(T)eepic.trm $(T)emxvga.trm $(T)epson.trm $(T)excl.trm $(T)fg.trm \
! 227: $(T)fig.trm $(T)gif.trm $(T)gnugraph.trm $(T)gpic.trm $(T)gpr.trm \
1.1 maekawa 228: $(T)grass.trm $(T)hp26.trm $(T)hp2648.trm $(T)hp500c.trm \
229: $(T)hpgl.trm $(T)hpljii.trm $(T)hppj.trm $(T)imagen.trm \
230: $(T)impcodes.h $(T)iris4d.trm $(T)kyo.trm $(T)latex.trm \
1.1.1.2 ! maekawa 231: $(T)linux.trm $(T)mac.trm $(T)metafont.trm $(T)metapost.trm \
! 232: $(T)mgr.trm $(T)mif.trm $(T)multitos.trm $(T)next.trm $(T)object.h \
! 233: $(T)openstep.trm $(T)pbm.trm $(T)pc.trm $(T)pm.trm $(T)png.trm \
! 234: $(T)post.trm $(T)pslatex.trm $(T)pstricks.trm $(T)qms.trm \
! 235: $(T)regis.trm $(T)rgip.trm $(T)sun.trm $(T)t410x.trm $(T)table.trm \
1.1 maekawa 236: $(T)tek.trm $(T)texdraw.trm $(T)tgif.trm $(T)tkcanvas.trm \
237: $(T)tpic.trm $(T)unixpc.trm $(T)unixplot.trm $(T)v384.trm \
238: $(T)vws.trm $(T)win.trm $(T)x11.trm $(T)xlib.trm
239:
240: CSOURCE8 = bf_test.c gplt_x11.c
241:
242: NEXTSRC = $(N)Controller.h $(N)Controller.m $(N)GnuTerm.iconheader \
243: $(N)GnuTerm.tiff $(N)GnuTerm_main.m $(N)GnuView.h \
244: $(N)GnuView.m $(N)Makefile $(N)Makefile.postamble \
245: $(N)Makefile.preamble $(N)PB.gdbinit $(N)PB.project \
246: $(N)README.rtf $(N)bigger.tiff $(N)gnuviewController.h \
247: $(N)gnuviewController.m $(N)smaller.tiff \
248: $(N)English.lproj/GnuTerm.nib/data.classes \
249: $(N)English.lproj/GnuTerm.nib/data.nib \
250: $(N)English.lproj/gnuview.nib/bigger.tiff \
251: $(N)English.lproj/gnuview.nib/data.classes \
252: $(N)English.lproj/gnuview.nib/data.nib \
253: $(N)English.lproj/gnuview.nib/smaller.tiff
254:
255: OS2SRC = $(P)dialogs.c $(P)dialogs.h $(P)gclient.c $(P)gnuplot.ico \
256: $(P)gnupmdrv.c $(P)gnupmdrv.def $(P)gnupmdrv.h $(P)gnupmdrv.ipf \
257: $(P)gnupmdrv.rc $(P)print.c
258:
1.1.1.2 ! maekawa 259: WINDOWS = $(W)pgnuplot.c $(W)geticon.c $(W)wcommon.h $(W)wgnupl32.def \
! 260: $(W)wgnuplib.c $(W)wgnuplib.def $(W)wgnuplib.h $(W)wgnuplib.rc \
! 261: $(W)wgnuplot.def $(W)wgnuplot.hpj $(W)wgnuplot.mnu $(W)wgnuplot.rc \
! 262: $(W)wgraph.c $(W)winmain.c $(W)wmenu.c $(W)wpause.c $(W)wprinter.c \
1.1 maekawa 263: $(W)wresourc.h $(W)wtext.c $(W)wtext.h
264:
265: # not C code, but still needed
266:
267: DEMOS = $(M)1.dat $(M)2.dat $(M)3.dat $(M)airfoil.dem $(M)all.dem \
268: $(M)animate.dem $(M)battery.dat $(M)big_peak.dat $(M)binary.dem \
269: $(M)bivariat.dem $(M)borders.dem $(M)contours.dem $(M)controls.dem \
270: $(M)density.fnc $(M)discrete.dem $(M)electron.dem $(M)fit.dem \
271: $(M)glass.dat $(M)gnuplot.rot $(M)hemisphr.dat $(M)hexa.fnc \
272: $(M)hidden.dem $(M)klein.dat $(M)lcdemo.dat $(M)line.fnc \
273: $(M)mgr.dem $(M)moli3.dat $(M)multimsh.dem $(M)multiplt.dem \
274: $(M)param.dem $(M)polar.dem $(M)poldat.dem $(M)prob.dem \
275: $(M)prob2.dem $(M)random.dem $(M)reflect.fnc $(M)reread.bor \
276: $(M)scatter.dem $(M)scatter2.dat $(M)silver.dat $(M)simple.dem \
277: $(M)singulr.dem $(M)sound.par $(M)sound2.par $(M)soundvel.dat \
278: $(M)spline.dem $(M)start.par $(M)stat.inc $(M)steps.dat \
279: $(M)steps.dem $(M)surface1.dem $(M)surface2.dem $(M)timedat.dat \
280: $(M)timedat.dem $(M)using.dat $(M)using.dem $(M)vector.dem \
281: $(M)whale.dat $(M)world.cor $(M)world.dat $(M)world.dem
282:
283: ETC = 0BUGS 0FAQ 0INSTALL 0PORTING 0README ChangeLog CodeStyle Copyright \
284: INSTALL.gnu Makefile.in NEWS PGPKEYS TODO acconfig.h $(ACLOCAL_M4) \
285: amiga.c buildvms.com commitvers $(CONFIG_HEADER_IN) configure \
1.1.1.2 ! maekawa 286: configure.in corgraph.asm corplot.c ctrl87.c ctrl87.h \
1.1 maekawa 287: djconfig.sh errorfix.sh genopt.com gnuplot.def gnuplot.el gnuplot.opt \
288: gnuplot.prj header.mac hrcgraph.asm install-sh intergra.x11 lasergnu \
289: lineproc.mac linkopt.vms linkopt.ztc make_vms.com makefile.286 \
290: makefile.all makefile.amg makefile.ami makefile.cyg makefile.dj2 \
291: makefile.djg makefile.emx makefile.g makefile.mgw makefile.msc \
292: makefile.msw makefile.mto makefile.nt makefile.os2 makefile.os9 \
293: makefile.st makefile.tc makefile.unx makefile.vms makefile.wc \
294: makefile.win makefile.ztc missing mkinstalldirs os9.c pcgraph.asm \
1.1.1.2 ! maekawa 295: rgipgnu stamp-h.in strftime.c vms.c x11.opt m4/msdos.m4 m4/next.m4 \
! 296: m4/path-hdr.m4 m4/path-lib.m4 m4/select.m4 $(T)README
1.1 maekawa 297:
298: # Documentation and help files
299: DOCS1 = $(D)Makefile.in $(D)README $(D)checkdoc.c $(D)doc2gih.c \
300: $(D)doc2hlp.c $(D)doc2hlp.com $(D)doc2html.c $(D)doc2info.c \
301: $(D)doc2ipf.c $(D)doc2ms.c $(D)doc2rnh.c $(D)doc2rtf.c $(D)doc2tex.c \
1.1.1.2 ! maekawa 302: $(D)doc2texi.el $(D)doc2texi.pl $(D)doc2x.h $(D)gnuplot.1 \
! 303: $(D)gnuplot.texi $(D)lasergnu.1 $(D)makefile.dst $(D)makefile.ami \
! 304: $(D)termdoc.c $(D)titlepag.ms $(D)titlepag.tex $(D)toc_entr.sty \
! 305: $(D)xref.c $(D)xref.h
1.1 maekawa 306: DOCS2 = $(D)gnuplot.doc $(D)gpcard.tex
307: DOCS3 = $(L)Makefile.in $(L)eg1.plt \
308: $(L)eg2.plt $(L)eg3.dat $(L)eg3.plt \
309: $(L)eg4.plt $(L)eg5.plt $(L)eg6.plt \
310: $(L)header.tex $(L)linepoin.plt $(L)makefile.dst $(L)tutorial.tex
311: DOCS4 = $(S)Makefile $(S)README $(S)ps_file.doc $(S)ps_guide.ps \
312: $(S)ps_symbols.gpi
313: DOCS5 = $(Q)ChangeLog.old $(Q)History.old $(Q)README.3d $(Q)README.3p1 \
314: $(Q)README.3p2 $(Q)README.3p3 $(Q)README.3p4 $(Q)README.3p5 \
315: $(Q)README.ami $(Q)README.emx $(Q)README.fit $(Q)README.gnu \
316: $(Q)README.iso $(Q)README.mf $(Q)README.nex $(Q)README.os2 \
317: $(Q)README.pic $(Q)README.pro $(Q)README.win $(Q)README.x11 \
318: $(Q)README.xli $(Q)makefile.r
319:
320: DOCS = $(DOCS1) $(DOCS2) $(DOCS3) $(DOCS4) $(DOCS5)
321:
322: #########################################################################
323: # Simple Dependencies
324: # - note that VMS requires space before and after the :
325:
326: $(COREOBJS) : plot.h protos.h stdfn.h
327:
328: help.$(O) misc.$(O) : help.h
329:
330: protos.h : alloc.h
331:
332: graphics.$(O) graph3d.$(O) misc.$(O) plot.$(O) set.$(O) show.$(O) term.$(O) : setshow.h
333:
334: fit.$(O) : fit.c fit.h matrix.h plot.h
335:
336: matrix.$(O) : matrix.c matrix.h fit.h
337:
338: bitmap.$(O) term.$(O) : bitmap.h
339:
340: term.$(O) : term.h $(CORETERM)
341:
342: #>>>makefile.all<<<
343:
344: ####################################################
345: # (that's the end of makefile.all, by the way...)
346:
347: # List of object files except version.o
348:
1.1.1.2 ! maekawa 349: OBJS = $(COREOBJS)
1.1 maekawa 350:
351: ################################################################
352:
353: install: all $(LASERGNU)
354: $(srcdir)/mkinstalldirs $(bindir)
355: $(srcdir)/mkinstalldirs $(datadir)
356: $(srcdir)/mkinstalldirs $(mandir)/man1
357: $(INSTALL_PROGRAM) gnuplot $(bindir)/gnuplot
358: test ! -f gnuplot_x11 || $(INSTALL_PROGRAM) gnuplot_x11 $(bindir)/gnuplot_x11
359: -$(INSTALL_DATA) $(srcdir)/docs/gnuplot.1 $(mandir)/man1/gnuplot.1
360: -cd docs && $(MAKE) $(MFLAGS) install
361: @LINUXSUID@
362:
363: lasergnu_install: lasergnu docs/lasergnu.1
364: $(INSTALL_SCRIPT) $(srcdir)/lasergnu $(bindir)/lasergnu
365: $(INSTALL_DATA) $(srcdir)/docs/lasergnu.1 $(mandir)/man1/lasergnu.1
366:
367: lasergnu_noinstall:
368:
369: uninstall:
370: rm -f $(bindir)/gnuplot $(bindir)/gnuplot_x11
371: rm -f $(mandir)/man1/gnuplot.1 $(mandir)/man1/lasergnu.1
372: cd docs && $(MAKE) $(MFLAGS)
373:
374: ################################################################
375: # Dependencies
376:
377: .c.o:
378: $(COMPILE) -c $<
379:
380: gnuplot: $(OBJS) version.o
381: $(LINK) $(OBJS) version.o $(TERMLIBS) $(TERMXLIBS) $(LIBS)
382:
383: gnuplot_x11: gplt_x11.o stdfn.o
384: $(LINK) gplt_x11.o stdfn.o $(XLIBS) $(LIBS)
385:
386: doc:
387: cd docs && $(MAKE) $(MFLAGS) gnuplot.gih
388:
389: demo/binary1 demo/binary2 demo/binary3: bf_test
390: wd=`pwd` && cd $(srcdir)/demo && $$wd/bf_test
391:
392: bf_test: bf_test.o binary.o alloc.o
393: $(LINK) bf_test.o binary.o alloc.o $(LIBS)
394:
395: errorfix: $(srcdir)/errorfix.sh
396: $(srcdir)/errorfix.sh $(srcdir)
397: touch errorfix
398:
399: command.o: command.c fit.h help.h setshow.h
400: $(COMPILE) -DHELPFILE=\"$(HELPFILE)\" -c $<
401:
402: show.o: show.c plot.h setshow.h
403: $(COMPILE) -DHELPFILE=\"$(HELPFILE)\" -DGNUPLOT_BINDIR=\"$(bindir)\" -c $<
404:
405: term.o: term.c term.h $(CORETERM)
406: $(COMPILE) -I./term -I$(top_srcdir)/term -c $<
407:
408: version.o: version.c
409: $(COMPILE) -DCONTACT=\"$(EMAIL)\" -c $<
410:
411: $(COREOBJS) version.o bf_test.o : $(CONFIG_HEADER)
412:
413: ################################################################
414: # Autoconfig rules
415: #
416: # I have enabled these rules, because missing autoconf and
417: # automake tools are now detected by configure and dealt with.
418:
419: # This rule is disabled because we have no Makefile.am
420: #$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
421: # cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
422:
423: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
424: cd $(top_builddir) \
425: && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
426:
1.1.1.2 ! maekawa 427: $(ACLOCAL_M4): configure.in m4/msdos.m4 m4/next.m4 m4/path-hdr.m4 \
! 428: m4/path-lib.m4
1.1 maekawa 429: cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
430:
431: config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
432: $(SHELL) ./config.status --recheck
433:
434: $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
435: cd $(srcdir) && $(AUTOCONF)
436:
437: $(CONFIG_HEADER): stamp-h
438: @:
439: stamp-h: $(srcdir)/$(CONFIG_HEADER_IN) $(top_builddir)/config.status
440: cd $(top_builddir) \
441: && CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADER)
442: $(SHELL) ./config.status
443: @echo timestamp > stamp-h
444:
445: $(srcdir)/$(CONFIG_HEADER_IN): stamp-h.in
446: $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
447: cd $(top_srcdir) && $(AUTOHEADER)
448: @echo timestamp > $(srcdir)/stamp-h.in
449:
450: ################################################################
451: # Miscellaneous targets
452:
453: SOURCES = $(HEADERS) $(CSOURCE) $(CSOURCE8) $(CORETERM) $(NEXTSRC) \
454: $(OS2SRC) $(WINDOWS)
455:
456: DISTFILES = $(ETC) $(SOURCES) $(DEMOS) $(DOCS)
457:
458: SUBDIRS = NeXT NeXT/English.lproj NeXT/English.lproj/GnuTerm.nib \
459: NeXT/English.lproj/gnuview.nib demo docs docs/latextut docs/old \
1.1.1.2 ! maekawa 460: docs/psdoc m4 os2 term win
1.1 maekawa 461:
462: clean:
463: rm -f gnuplot gnuplot_x11 bf_test *.o core *~
464: rm -f gnuplot.exe gnuplot_x11.exe bf_test.exe
465: rm -f demo/binary? demo/temp.set demo/defaults.ini demo/fit.log \
466: demo/soundfit.par
467: cd docs && $(MAKE) $(MFLAGS) clean
468:
469: mostlyclean: clean
470:
471: distclean: clean
472: rm -f Makefile config.status config.cache $(CONFIG_HEADER) \
473: config.log stamp-h docs/Makefile docs/latextut/Makefile
474: test "$(srcdir)" = "$(top_builddir)" || rm -rf docs term
475:
476: realclean: distclean
477: rm -f TAGS docs/TAGS
478:
479: distdir = $(PACKAGE)-$(VERSION)
480: top_distdir = $(distdir)
481:
482: dist: distdir
483: -chmod -R a+r $(distdir)
484: $(TAR) chf - $(distdir) | gzip $(GZIP) > $(distdir).tar.gz
485: -rm -rf $(distdir)
486:
487: distdir: $(DISTFILES)
488: -rm -rf $(distdir)
489: mkdir $(distdir)
490: -chmod u+rwx,go+rx $(distdir)
491: for subdir in $(SUBDIRS); do \
492: test -d $(distdir)/$$subdir \
493: || mkdir $(distdir)/$$subdir \
494: || exit 1; \
495: chmod u+rwx,go+rx $(distdir)/$$subdir; \
496: done
497: @for file in $(DISTFILES); do \
498: d=$(srcdir); \
499: test -f $(distdir)/$$file \
500: || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
501: || cp -p $$d/$$file $(distdir)/$$file; \
502: done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>