1## Process this file with automake to produce Makefile.in 2 3OBJEXT= @OBJEXT@ 4 5lib_LTLIBRARIES= libsee.la 6CLEANFILES= stringdefs.h stringdefs.inc 7BUILT_SOURCES= stringdefs.h stringdefs.inc 8libsee_la_SOURCES= cfunction.c scope.c debug.c dprint.c enumerate.c \ 9 error.c function.c input_file.c input_lookahead.c \ 10 input_string.c input_utf8.c intern.c interpreter.c \ 11 lex.c mem.c native.c no.c obj_Array.c obj_Boolean.c \ 12 obj_Date.c obj_Error.c obj_Function.c obj_Global.c \ 13 obj_Math.c obj_Number.c obj_Object.c obj_RegExp.c \ 14 obj_String.c object.c parse.c printf.c \ 15 parse_cast.c \ 16 string.c stringdefs.c system.c tokens.c try.c \ 17 unicase.c unicode.c value.c version.c \ 18 module.c math.c compare.c 19 20libsee_la_SOURCES+= regex.c regex_ecma.c 21if WITH_PCRE 22libsee_la_SOURCES+= regex_pcre.c 23endif 24 25libsee_la_SOURCES += array.h cfunction_private.h code.h dprint.h dtoa.h \ 26 dprint.h enumerate.h function.h init.h code1.h \ 27 lex.h nmath.h parse.h platform.h printf.h regex.h \ 28 scope.h tokens.h unicase.inc unicode.h unicode.inc \ 29 stringdefs.h stringdefs.inc replace.h parse_node.h \ 30 compare.h 31 32libsee_la_SOURCES += parse_eval.h 33libsee_la_SOURCES += parse_const.h 34libsee_la_SOURCES += parse_const.c 35 36libsee_la_SOURCES += parse_codegen.h 37if WITH_PARSER_CODEGEN 38libsee_la_SOURCES += parse_codegen.c 39libsee_la_SOURCES += code1.c 40else 41libsee_la_SOURCES += parse_eval.c 42endif 43 44libsee_la_SOURCES += parse_print.h 45if WITH_PARSER_PRINT 46libsee_la_SOURCES += parse_print.c 47endif 48 49if NATIVE_DTOA 50libsee_la_SOURCES += dtoa_native.c 51else 52libsee_la_SOURCES += dtoa.c dtoa_config.h 53endif 54 55if PLATFORM_WIN32 56libsee_la_SOURCES += platform_win32.c 57endif 58if PLATFORM_POSIX 59libsee_la_SOURCES += platform_posix.c 60endif 61 62libsee_la_LIBADD= @LIBOBJS@ 63libsee_la_LDFLAGS= -version-info $(libsee_version_info) 64 65EXTRA_DIST= string.pl string.defs 66PERL= @PERL@ 67 68bin_SCRIPTS= libsee-config 69 70INCLUDES= -I$(top_builddir)/include -I$(top_srcdir)/include 71 72stringdefs.inc: string.defs string.pl 73 $(PERL) $(srcdir)/string.pl c $(srcdir)/string.defs >$@ 74stringdefs.h: string.defs string.pl 75 $(PERL) $(srcdir)/string.pl h $(srcdir)/string.defs >$@ 76 77pkgconfigdir= $(libdir)/pkgconfig 78pkgconfig_DATA= see.pc 79see.pc: see.pc.in 80 $(SED) \ 81 -e 's,[@]libdir[@],$(libdir),g' \ 82 -e 's,[@]includedir[@],$(includedir),g' \ 83 -e 's,[@]LIBSEE_LIBS[@],$(LIBSEE_LIBS),g' \ 84 -e 's,[@]LIBSEE_REQS[@],$(LIBSEE_REQS),g' \ 85 -e 's,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g' \ 86 -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \ 87 < $(srcdir)/see.pc.in >$@ 88EXTRA_DIST+= see.pc.in 89CLEANFILES+= see.pc 90 91# 92# (From the libtool documentation:) 93# 94# 1. Start with version information of `0:0:0' for each libtool library. 95# 96# 2. Update the version information only immediately before a public 97# release of your software. More frequent updates are unnecessary, 98# and only guarantee that the current interface number gets larger 99# faster. 100# 101# 3. If the library source code has changed at all since the last 102# update, then increment REVISION (`c:r:a' becomes `c:r+1:a'). 103# 104# 4. If any interfaces have been added, removed, or changed since the 105# last update, increment CURRENT, and set REVISION to 0. (`c+1:0:a') 106# 107# 5. If any interfaces have been added since the last public release, 108# then increment AGE (`c+1:0:a+1'). 109# 110# 6. If any interfaces have been removed since the last public release, 111# then set AGE to 0. (`c+1:0:0`) 112# 113 114libsee_version_info= 2:1:1 115 116SUBDIRS= . test 117 118