~ubuntu-branches/debian/stretch/tcl-fitstcl/stretch

« back to all changes in this revision

Viewing changes to .pc/propagate_flags.patch/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2015-06-10 17:35:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20150610173543-37jifpt0bjuocrr0
Tags: 2.4-1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# FITS TCL makefile.in
2
 
# $Id: Makefile.in,v 1.17 2006/09/25 15:27:02 irby Exp $
 
2
# $Id: Makefile.in,v 1.19 2015/02/26 16:54:22 irby Exp $
3
3
 
4
4
#----------------------------------------------------------------------------
5
5
# Definitions:
7
7
LIBRARY         = fitstcl
8
8
 
9
9
CFILES          = fitsInit.c fitsUtils.c fitsTcl.c fitsCmds.c fitsIO.c fvTcl.c
10
 
 
11
10
SHARED_CFILE    = tclShared.c
12
11
 
13
12
OBJECTS         = ${CFILES:.c=.o}
14
13
LOCAL_OBJ       = ${OBJECTS} ${SHARED_CFILE:.c=.o}
 
14
 
15
15
SHARED_OBJ      = ${LOCAL_OBJ}
16
16
 
17
17
STATIC_LIB      = lib${LIBRARY}.a
18
18
SHARED_LIB      = lib${LIBRARY}${SHLIB_SUFFIX}
19
19
 
20
 
IFLAGS          = -I${TCL_INC_PATH}
 
20
IFLAGS          = -I${TCL_INC_PATH} -I./
21
21
 
22
22
#----------------------------------------------------------------------------
23
23
# Configurable macros:
63
63
        fi
64
64
        echo "pkg_mkIndex  . ${SHARED_LIB}" | tclsh
65
65
 
66
 
 
67
66
install: all
68
67
        @if [ "x${C_LIB_OPTION}" = xstatic ]; then \
69
68
                echo "cp ${STATIC_LIB} ${INSTALLDIR}/lib/"; \
75
74
        fi
76
75
 
77
76
clean:
78
 
        -rm -rf *.o *~ ${STATIC_LIB} ${SHARED_LIB} pkgIndex.tcl
 
77
        -rm -rf ${LOCAL_OBJ} ${STATIC_LIB} ${SHARED_LIB} pkgIndex.tcl
79
78
 
80
79
distclean: clean
81
80
        -rm -f config.cache config.status config.log Makefile so_locations
90
89
 
91
90
 
92
91
.c.o:
93
 
        ${CC} -c ${CFLAGS} ${DEFS} ${IFLAGS} $<
 
92
        ${CC} -c -o ${<D}/${@F} ${CFLAGS} ${DEFS} ${IFLAGS} $<
94
93
 
95
94
#
96
95
# $Log: Makefile.in,v $
 
96
# Revision 1.19  2015/02/26 16:54:22  irby
 
97
# Remove wcslib dependency.
 
98
#
 
99
# Revision 1.18  2013/01/15 16:47:25  irby
 
100
# Rework inclusion of cfitsio objects and add wcslib object (wcstrig.o).
 
101
#
97
102
# Revision 1.17  2006/09/25 15:27:02  irby
98
103
# Do not remove wcssub.o prior to creating libfitstcl.  As of cfitsio
99
104
# v3.004 the wcssub routine is needed by fitsTcl.