File: Makefile.devel

package info (click to toggle)
clisp 1%3A2.27-0.5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 49,860 kB
  • ctags: 20,752
  • sloc: ansic: 123,781; lisp: 67,533; asm: 19,633; xml: 11,766; sh: 9,788; fortran: 8,307; makefile: 3,570; objc: 2,481; perl: 1,744; java: 341; yacc: 318; sed: 117
file content (28 lines) | stat: -rw-r--r-- 947 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# This is the developer's makefile, not the user's makefile.
# Don't use it unless you know exactly what you do!

SHELL = /bin/sh
MAKE = make
CP = cp
RM = rm -f

all : configures config.h.msvc include/libcharset.h.msvc-shared

autoconf/aclocal.m4 : $(wildcard m4/*.m4)
	aclocal --acdir=m4 --output=$@

configures : configure config.h.in

configure : configure.in autoconf/aclocal.m4
	autoconf -l autoconf

config.h.in : configure.in autoconf/aclocal.m4
	autoheader -l autoconf

config.h.msvc : config.h.in
	sed -e 's/#undef HAVE_SETLOCALE/#define HAVE_SETLOCALE 1/' -e 's/#undef HAVE_STDDEF_H/#define HAVE_STDDEF_H 1/' -e 's/#undef HAVE_STDLIB_H/#define HAVE_STDLIB_H 1/' -e 's/#undef HAVE_STRING_H/#define HAVE_STRING_H 1/' < $< > $@

include/libcharset.h.msvc-shared : include/libcharset.h.in windows/dllexport.h
	sed -e 's/extern \([^"]\)/extern LIBCHARSET_DLL_EXPORTED \1/' -e '/#define _LIBCHARSET_H/r windows/dllexport.h' < $< > $@

force :