File: Makefile.in

package info (click to toggle)
clisp 1%3A2.49-8.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 45,160 kB
  • sloc: lisp: 79,960; ansic: 48,257; xml: 26,814; sh: 12,846; fortran: 7,286; makefile: 1,456; perl: 164
file content (44 lines) | stat: -rw-r--r-- 940 bytes parent folder | download | duplicates (5)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Makefile for CLISP module set postgresql

srcdir = @srcdir@
CC = @CC@
PQCPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@
CLISP = @CLISP@ -norc -q
CLISP_LINKKIT = @CLISP_LINKKIT@

LN = @LN@

MAKE = make

SHELL = /bin/sh

GENERATED = postgresql.o postgresql.fas sql.fas
DISTRIBFILES = link.sh Makefile $(GENERATED) \
	$(srcdir)/postgresql.lisp $(srcdir)/sql.lisp $(srcdir)/README
distribdir =

# default target: make the module
clisp-module : $(GENERATED)

postgresql.c postgresql.fas : $(srcdir)/postgresql.lisp
	$(CLISP) -c $(srcdir)/postgresql.lisp -o ./

postgresql.o : postgresql.c config.h
	$(CC) $(CPPFLAGS) $(PQCPPFLAGS) $(CFLAGS) -I$(CLISP_LINKKIT) \
		-c postgresql.c

sql.fas: $(srcdir)/sql.lisp
	$(CLISP) -c $(srcdir)/sql.lisp -o ./

# Make a module distribution into $(distribdir)
clisp-module-distrib : clisp-module force
	$(LN) $(DISTRIBFILES) $(distribdir)

clean : force
	rm -f core *.o *.a *.fas *.lib

distclean : clean

force :