Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r510af01 r3c9fc94  
    22CXXFLAGS = -std=gnu++0x -O3 -g 
    33 
    4 CPPFLAGS = 
     4# When compiling with CXX=powerpc64-bgq-linux-g++, we need these: 
     5CPPFLAGS = -I/bgsys/drivers/ppcfloor -I/bgsys/drivers/ppcfloor/spi/include/kernel/cnk 
     6 
    57LDFLAGS = -lpthread -ldl 
    68 
     
    1618        $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -o libmemlog.so memlog.cpp 
    1719 
    18 install: all memlog2dot README 
    19         cp -a libmemlog.so memlog_s.o memlog2dot README $(DESTDIR)/ 
     20install: all memlog_analyze README 
     21        cp -a libmemlog.so memlog_s.o memlog_analyze README $(DESTDIR)/ 
     22        echo '-Wl,--wrap,malloc,--wrap,valloc,--wrap,realloc,--wrap,calloc,--wrap,memalign,--wrap,free,--wrap,posix_memalign,--wrap,mmap,--wrap,mmap64,--wrap,munmap $(DESTDIR)/memlog_s.o -lpthread -ldl' > $(DESTDIR)/memlog_s_ld_cmds 
    2023 
    2124clean: 
Note: See TracChangeset for help on using the changeset viewer.