Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12/src/dnorm/Makefile.in
ViewVC logotype

Diff of /branches/vis12/src/dnorm/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/src/dnorm/Makefile.in revision 123, Mon Jun 28 18:05:04 2010 UTC branches/vis12/src/dnorm/Makefile.in revision 1685, Sun Jan 22 15:23:36 2012 UTC
# Line 1  Line 1 
1  # Makefile  # Makefile
2  #  #
3  # COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu)  # COPYRIGHT (c) 2010 The Diderot Project (http://diderot-language.cs.uchicago.edu)
4  # All rights reserved.  # All rights reserved.
5  #  #
6  # @configure_input@  # @configure_input@
7  #  #
8    
9    #
10    # directories for the install target
11    #
12    PREFIX =                @prefix@
13    INSTALL_BINDIR =        $(PREFIX)/bin
14    INSTALL_HEAPDIR =       $(INSTALL_BINDIR)/.heap
15    INSTALL_LIBDIR =        $(PREFIX)/lib
16    INSTALL_INCDIR =        $(PREFIX)/include
17    
18    #
19    # directories for the local-install target
20    #
21    SRCDIR =        @DIDEROT_ROOT@/src
22    LIBDIR =        @DIDEROT_ROOT@/lib
23    BINDIR =        @DIDEROT_ROOT@/bin
24    HEAPDIR =       $(BINDIR)/.heap
25    
26  OS =            $(shell uname -s)  OS =            $(shell uname -s)
27    
28  SHELL =         @SHELL@  SHELL =         @SHELL@
29  CC =            @CC@ -std=c99  INSTALL =       @INSTALL@
30    CC =            @CC@ @CFLAG_M64@ -std=c99
31    
32  DEFINES =       -DDIDEROT -DTEEM_32BIT=1  DEFINES =       -DDIDEROT
33  INCLUDES =      -I@TEEM_DIR@/include  INCLUDES =      -I@TEEM_DIR@/include
34  LDPATHS =       -L@TEEM_DIR@/lib @LDPATHS@  LDPATHS =       -L@TEEM_DIR@/lib @LDPATHS@
35  ifeq ($(OS),Darwin)  LIBS =          -lteem -lpng -lz @PTHREAD_LIBS@ @LIBM@
   LIBS = -lteem -lpng -lz  
 else  
   LIBS = -lteem -lpng -lz -lpthread -lm  
 endif  
36    
37  CPPFLAGS =      $(INCLUDES) $(DEFINES)  CPPFLAGS =      $(INCLUDES) $(DEFINES)
38  CFLAGS =        -g -O3 -W -Wall  CFLAGS =        -g -O3 -W -Wall
39  LDFLAGS =       $(LDPATHS) $(LIBS)  LDFLAGS =       $(LDPATHS) $(LIBS)
40    ifeq ($(OS),Linux)
41      LDFLAGS +=    -Wl,-rpath=@TEEM_DIR@/lib
42    endif
43    
44    TARGET =        dnorm
45    
46    .PHONY:         local-install
47    local-install:  build
48            $(INSTALL) $(TARGET) $(BINDIR)
49    
50    .PHONY:         install
51    install:        build
52            $(INSTALL) $(TARGET) $(INSTALL_BINDIR)
53    
54    .PHONY:         build
55    build:          dnorm
56    
57  dnorm:  dnorm.c  dnorm:  dnorm.c
58          $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o dnorm dnorm.c          $(CC) $(CPPFLAGS) $(CFLAGS) -o dnorm dnorm.c $(LDFLAGS)
59    
60    #################### Cleanup ####################
61    
62    CLEAN_SUBDIRS =
63    
64    CLEAN_FILES +=
65    
66    DISTCLEAN_FILES +=      Makefile
67    
68    DEVCLEAN_FILES +=
69    
70  clean:  include @DIDEROT_MKDIR@/clean-rules.gmk
         rm -rf dnorm dnorm.dSYM  
71    

Legend:
Removed from v.123  
changed lines
  Added in v.1685

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0