OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [insight/] [tcl/] [unix/] [dltest/] [Makefile.in] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# This Makefile is used to create several test cases for Tcl's load
2
# command.  It also illustrates how to take advantage of configuration
3
# exported by Tcl to set up Makefiles for shared libraries.
4
# SCCS: @(#) Makefile.in 1.12 97/02/22 14:13:54
5
 
6
CC = @CC@
7
LIBS =                  @TCL_BUILD_LIB_SPEC@ @TCL_LIBS@ -lc
8
SHLIB_CFLAGS =          @SHLIB_CFLAGS@
9
SHLIB_LD =              @SHLIB_LD@
10
SHLIB_SUFFIX =          @SHLIB_SUFFIX@
11
SHLIB_VERSION =         @SHLIB_VERSION@
12
SRC_DIR =               @srcdir@
13
TCL_VERSION=            @TCL_VERSION@
14
 
15
CFLAGS = -g
16
CC_SWITCHES = $(CFLAGS) -I${SRC_DIR}/../../generic -DTCL_MEM_DEBUG \
17
        ${SHLIB_CFLAGS}
18
 
19
all: pkga${SHLIB_SUFFIX} pkgb${SHLIB_SUFFIX} pkgc${SHLIB_SUFFIX} pkgd${SHLIB_SUFFIX} pkge${SHLIB_SUFFIX}
20
 
21
pkga${SHLIB_SUFFIX}: $(SRC_DIR)/pkga.c
22
        $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkga.c
23
        ${SHLIB_LD} -o pkga${SHLIB_SUFFIX} pkga.o @SHLIB_LD_LIBS@
24
 
25
pkgb${SHLIB_SUFFIX}: $(SRC_DIR)/pkgb.c
26
        $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgb.c
27
        ${SHLIB_LD} -o pkgb${SHLIB_SUFFIX} pkgb.o @SHLIB_LD_LIBS@
28
 
29
pkgc${SHLIB_SUFFIX}: $(SRC_DIR)/pkgc.c
30
        $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgc.c
31
        ${SHLIB_LD} -o pkgc${SHLIB_SUFFIX} pkgc.o @SHLIB_LD_LIBS@
32
 
33
pkgd${SHLIB_SUFFIX}: $(SRC_DIR)/pkgd.c
34
        $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgd.c
35
        ${SHLIB_LD} -o pkgd${SHLIB_SUFFIX} pkgd.o @SHLIB_LD_LIBS@
36
 
37
pkge${SHLIB_SUFFIX}: $(SRC_DIR)/pkge.c
38
        $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkge.c
39
        ${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.o @SHLIB_LD_LIBS@
40
 
41
clean:
42
        rm -f *.o *${SHLIB_SUFFIX} lib.exp
43
 
44
distclean: clean
45
        rm -f Makefile config.cache config.log config.status

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.