Changeset 61 for trunk


Ignore:
Timestamp:
07/15/04 16:11:53 (20 years ago)
Author:
mmarquar
Message:

statically linked all the "external" libraries. Hardly adds any size to it.
Also stripping the library to save space.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r45 r61  
    1818        $(AIPSLIB)/libaips_f.a \
    1919        $(AIPSLIB)/libaips.a \
    20         -llapack -lblas -lg2c -lcfitsio -lrpfits \
    21         -lglish -ledit -lsos -lnpd -lwcs
     20        $(AIPSLIB)/libwcs.a \
     21        $(AIPSLIB)/libglish.a \
     22        $(AIPSLIB)/libedit.a \
     23        $(AIPSLIB)/libsos.a \
     24        $(AIPSLIB)/libnpd.a \
     25        -llapack -lblas -lg2c -lcfitsio -lrpfits
     26#        -lglish -ledit -lsos -lnpd
    2227
    2328LINK      = g++-3.2.3
     
    2631#LFLAGS    += -Xlinker -rpath -Xlinker -L$(AIPSLIB)
    2732
    28 BOOSTLIB  = -lboost_python-mt
     33BOOSTLIB  = /nfs/atapplic/boost/linux/lib/libboost_python-gcc-mt.a
    2934BOOSTINC  =
    3035
     
    5055            python_SD.o
    5156
     57
    5258HEADERS   = SDContainer.h \
    5359            SDMemTable.h \
     
    5662            SDMath.h \
    5763            SDMemTableWrapper.h \
     64            SDMathWrapper.h \
     65            SDReaderWrapper.h \
     66            SDWriterWrapper.h \
    5867            python_SD.h
    5968
     
    7483$(TARGET):  $(OBJECTS)
    7584        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS)  $(LIBDIRS)
     85        strip $(TARGET)
    7686
    7787$(OBJECTS): $(HEADERS)
Note: See TracChangeset for help on using the changeset viewer.