File: Makefile.in

package info (click to toggle)
octave 2.0.13-4
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 23,828 kB
  • ctags: 13,172
  • sloc: cpp: 66,241; fortran: 37,245; ansic: 26,548; sh: 7,269; makefile: 3,808; lex: 1,943; yacc: 1,844; perl: 1,676; lisp: 1,662; exp: 123
file content (58 lines) | stat: -rw-r--r-- 1,355 bytes parent folder | download | duplicates (3)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Makefile for octave's libcruft/misc directory
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering

TOPDIR = ../..

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@

SPECIAL := machar.c d1mach-tst.for dostop.c f77-extern.cc \
	f77-fcn.c f77-fcn.h lo-error.c lo-error.h

SPECIAL_DEPEND := machar.o dostop.o f77-extern.o f77-fcn.o lo-error.o

EXTERNAL_DISTFILES = $(DISTFILES)

include $(TOPDIR)/Makeconf

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@

ifeq ($(SHARED_LIBS), true)
  ifdef CPICFLAG
    CPICDEP := pic/machar.o pic/dostop.o pic/f77-fcn.o
  endif
  ifdef CXXPICFLAG
    CXXPICDEP := pic/f77-extern.o pic/lo-error.o
  endif
  SPECIAL_PICDEPEND := $(CPICDEP) $(CXXPICDEP)
endif

include ../Makerules

install::
	$(top_srcdir)/mkinstalldirs $(octincludedir)
	$(INSTALL_DATA) $(srcdir)/f77-fcn.h $(octincludedir)/f77-fcn.h
	$(INSTALL_DATA) $(srcdir)/lo-error.h $(octincludedir)/lo-error.h
	$(mk-includedir-link)

uninstall::
	rm -f $(octincludedir)/f77-fcn.h

# Don't optimize.

XCC = $(patsubst -O%, , $(CC))
XALL_CFLAGS = $(patsubst -O%, , $(ALL_CFLAGS))

machar.o: $(srcdir)/machar.c
	$(XCC) -c $(CPPFLAGS) $(XALL_CFLAGS) -DDP $<

pic/machar.o: $(srcdir)/machar.c
	$(XCC) -c $(CPPFLAGS) $(CPICFLAG) $(XALL_CFLAGS) -DDP $< -o $@