"Fossies" - the Fresh Open Source Software Archive

Member "blassic-0.11.0/Makefile.am" (4 Jun 2006, 5773 Bytes) of package /linux/privat/blassic-0.11.0.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Makefile.am": 0.10.3_vs_0.11.0.

    1 # Makefile.am
    2 # Originally written by Pierre Sarrazin
    3 # Changes and additions by Julián Albo
    4 # Last revision 4-jun-2006
    5 
    6 noinst_PROGRAMS = gencharset
    7 bin_PROGRAMS = blassic
    8 
    9 
   10 # This tells Automake that charset.cpp must be generated before
   11 # anything else is compiled.
   12 
   13 # Changed, now use several charsets.
   14 #BUILT_SOURCES = charset.cpp
   15 # Testing other way.
   16 #BUILT_SOURCES = charset_default.cpp charset_cpc.cpp charset_spectrum.cpp
   17 BUILT_SOURCES = gencharset$(EXEEXT)
   18 
   19 # Needed to generate charset cpp files:
   20 
   21 gencharset_SOURCES = gencharset.cpp
   22 
   23 gencharset_CXXFLAGS = $(CXXFLAGS_FOR_BUILD)
   24 
   25 gencharset_LDFLAGS =
   26 
   27 # This way the .exe extension is appended when compiling for windows
   28 # under linux, but it works anyway.
   29 gencharset$(EXEEXT): gencharset.cpp
   30 	$(CXX_FOR_BUILD) $(gencharset_CXXFLAGS) $(gencharset_LDFLAGS) \
   31 		-o gencharset$(EXEEXT) \
   32 		gencharset.cpp
   33 
   34 # Character sets for graphics modes.
   35 
   36 #charset.cpp: $(srcdir)/charset.def gencharset
   37 #	./gencharset $(srcdir)/charset.def charset.cpp
   38 #	test -f charset.cpp
   39 
   40 charset_default.cpp: $(srcdir)/default.def gencharset.cpp charset.h
   41 	./gencharset$(EXEEXT) $(srcdir)/default.def \
   42 		charset_default.cpp default
   43 	test -f charset_default.cpp
   44 
   45 charset_cpc.cpp: $(srcdir)/cpc.def gencharset.cpp charset.h
   46 	./gencharset$(EXEEXT) $(srcdir)/cpc.def \
   47 		charset_cpc.cpp cpc
   48 	test -f charset_cpc.cpp
   49 
   50 charset_spectrum.cpp: $(srcdir)/spectrum.def gencharset.cpp charset.h
   51 	./gencharset$(EXEEXT) $(srcdir)/spectrum.def \
   52 		charset_spectrum.cpp spectrum
   53 	test -f charset_spectrum.cpp
   54 
   55 charset_msx.cpp: $(srcdir)/msx.def gencharset.cpp charset.h
   56 	./gencharset$(EXEEXT) $(srcdir)/msx.def \
   57 		charset_msx.cpp msx
   58 	test -f charset_msx.cpp
   59 
   60 
   61 blassic_SOURCES = \
   62 	charset_default.cpp \
   63 	charset_cpc.cpp \
   64 	charset_spectrum.cpp \
   65 	charset_msx.cpp \
   66 	charset.h \
   67 	blassic.cpp \
   68 	blassic.h \
   69 	codeline.cpp \
   70 	codeline.h \
   71 	cursor.cpp \
   72 	cursor.h \
   73 	dim.cpp \
   74 	dim.h \
   75 	directory.cpp \
   76 	directory.h \
   77 	dynamic.cpp \
   78 	dynamic.h \
   79 	edit.cpp \
   80 	edit.h \
   81 	element.h \
   82 	element.cpp \
   83 	error.cpp \
   84 	error.h \
   85 	file.cpp \
   86 	file.h \
   87 	fileconsole.cpp \
   88 	filepopen.cpp \
   89 	fileprinter.cpp \
   90 	filesocket.cpp \
   91 	filewindow.cpp \
   92 	function.cpp \
   93 	function.h \
   94 	graphics.cpp \
   95 	graphics.h \
   96 	graphics_impl.cpp \
   97 	graphics_impl.h \
   98 	graphics_win.cpp \
   99 	graphics_xlib.cpp \
  100 	key.cpp \
  101 	key.h \
  102 	keyword.cpp \
  103 	keyword.h \
  104 	mbf.cpp \
  105 	mbf.h \
  106 	memory.cpp \
  107 	memory.h \
  108 	program.cpp \
  109 	program.h \
  110 	programarg.cpp \
  111 	programarg.h \
  112 	regexp.cpp \
  113 	regexp.h \
  114 	result.h \
  115 	runner.cpp \
  116 	runner.h \
  117 	runnerline.cpp \
  118 	runnerline.h \
  119 	runnerline_impl.cpp \
  120 	runnerline_impl.h \
  121 	runnerline_instructions.cpp \
  122 	runnerline_print.cpp \
  123 	showerror.cpp \
  124 	showerror.h \
  125 	socket.cpp \
  126 	socket.h \
  127 	sysvar.cpp \
  128 	sysvar.h \
  129 	thread.cpp \
  130 	thread.h \
  131 	token.cpp \
  132 	token.h \
  133 	trace.cpp \
  134 	trace.h \
  135 	using.cpp \
  136 	using.h \
  137 	util.h \
  138 	var.cpp \
  139 	var.h \
  140 	vartype.h \
  141 	version.cpp
  142 
  143 blassic_CXXFLAGS = @BL_X_CFLAGS@
  144 blassic_LDFLAGS = @BL_X_LIBS@
  145 blassic_LDADD = @CYGWIN_FLAGS@ @BL_X_ADD@
  146 
  147 
  148 #	testdl: a tiny library to test blassic dynamic link.
  149 
  150 
  151 # Julian: modified this to allow cross-compiling.
  152 #testdl.so: testdl.o
  153 #	gcc -shared -Wl,-soname,testdl.so -o testdl.so testdl.o
  154 #testdl.o: testdl.cpp
  155 #	gcc -Wall -fPIC -c testdl.cpp
  156 
  157 #testdl_CXXFLAGS = \
  158 #	-W -Wall -Wwrite-strings -Wstrict-prototypes \
  159 #	-Wunused
  160 
  161 testdl.so: testdl.o
  162 	$(CXX) -shared -Wl,-soname,testdl.so $(LDFLAGS) -o testdl.so testdl.o
  163 
  164 testdl.o: testdl.cpp
  165 	$(CXX) -fPIC $(testdl_CXXFLAGS) -c testdl.cpp
  166 
  167 
  168 EXAMPLE_PROGS = \
  169 	4raya.bas allkeywords.blc anime.bas anime2.bas args.bas \
  170 	ascii.bas asnorojo.bas automod.bas autoview.bas batnum.bas \
  171 	bench.bas bingrep.bas biorritmo.bas bubble.bas chart.bas \
  172 	circle.bas colores.bas copychr.bas deepsea.bas \
  173 	deletechar.bas defchar.bas \
  174 	deriv.bas drawtest.bas eliza.bas error.bas estrella.bas \
  175 	euler.bas europa.bas fecha.bas flip.bas fnfact.bas \
  176 	fnfactrec.bas fnrecur.bas fractale.bas genmucha.bas \
  177 	gradient.bas graficos3d.bas graph.bas graphget.bas hamurs.bas \
  178 	hockey.bas htget.bas interpolacion.bas invert.bas label.bas \
  179 	labeldata.bas lineas.bas liscua.bas list.bas \
  180 	machinecode.bas maildrop.bas mastermind.bas memerror.bas \
  181 	mkcv.bas mouse.bas nonumber.bas nttp.bas numbers.bas \
  182 	path.bas paintcircles.bas pid.bas points.bas points2.bas \
  183 	popenin.bas popenout.bas popenout2.bas presskey.bas prueba.bas \
  184 	puzzle.bas \
  185 	randomr.bas randomw.bas raqueta.bas regexp.bas repeat.bas repg.bas \
  186 	salvo1.bas scrolltest.bas shellsort.bas slowprint.bas snoopy.bas \
  187 	tag.bas telefono.bas testdl.bas testfn.bas testlocal.bas \
  188 	testrect.bas testtest.bas textcolor.bas textpaper.bas \
  189 	tierra.bas \
  190 	trim.bas viewpass.bas while.bas window.bas
  191 
  192 if INSTALL_EXAMPLE_PROGS
  193 examplesdir = $(datadir)/@PACKAGE@/examples
  194 examples_DATA = $(EXAMPLE_PROGS)
  195 endif
  196 
  197 rpm: dist
  198 	rpm -ta $(distdir).tar.gz
  199 
  200 EXTRA_DIST = \
  201 	bootstrap autogen.sh \
  202 	do_conf \
  203 	do_confnodeb \
  204 	do_confcross_arm \
  205 	do_confcross_mingw \
  206 	do_confhpux \
  207 	blassic.spec \
  208 	alphabet.blc automod.blc \
  209 	blassic.bpr \
  210 	testdl.bpr \
  211 	random.dat \
  212 	gencharset.cpp \
  213 	charset_default.cpp charset_cpc.cpp \
  214 	charset_spectrum.cpp charset_msx.cpp \
  215 	default.def cpc.def spectrum.def msx.def \
  216 	counter.sh \
  217 	testdl.cpp \
  218 	$(EXAMPLE_PROGS)
  219 
  220 #CLEANFILES = testdl.so $(BUILT_SOURCES)
  221 CLEANFILES = testdl.so
  222 
  223 # When Automake needs to regenerate configure, the following options
  224 # will be passed to aclocal, as in the bootstrap script.
  225 ACLOCAL_AMFLAGS = -I .
  226 
  227 
  228 # Boilerplate:
  229 
  230 auxdir = @ac_aux_dir@
  231 AUX_DIST = $(auxdir)/install-sh $(auxdir)/missing $(auxdir)/mkinstalldirs
  232 
  233 MAINTAINERCLEANFILES = \
  234 	Makefile.in \
  235 	aclocal.m4 \
  236 	configure \
  237 	sic/config-h.in \
  238 	sic/stamp-h.in \
  239 	$(AUX_DIST) \
  240 	depcomp \
  241 	config.guess \
  242 	config.log \
  243 	config.status \
  244 	config.sub \
  245 	install-sh \
  246 	missing \
  247 	mkinstalldirs
  248