*** ./makefile.ORIG Tue Feb 22 21:10:39 2011 --- ./makefile Tue Feb 22 21:16:52 2011 *************** *** 1,5 **** ! #Makefile for GCC by Tom St Denis ! CFLAGS += -I. -Os -Wall -W VERSION=0.04 --- 1,5 ---- ! #Makefile for AIX cc by Michael Perzl ! CFLAGS += -I. -I/opt/freeware/include/tommath VERSION=0.04 *************** *** 11,18 **** #INCPATH-The directory to install the header files for libtommath. #DATAPATH-The directory to install the pdf docs. DESTDIR= ! LIBPATH=/usr/lib ! INCPATH=/usr/include DATAPATH=/usr/share/doc/libtompoly/pdf default: libtompoly.a --- 11,18 ---- #INCPATH-The directory to install the header files for libtommath. #DATAPATH-The directory to install the pdf docs. DESTDIR= ! LIBPATH=/opt/freeware/lib ! INCPATH=/opt/freeware/include DATAPATH=/usr/share/doc/libtompoly/pdf default: libtompoly.a *************** *** 27,36 **** ar $(ARFLAGS) libtompoly.a $(OBJECTS) install: libtompoly.a ! install -d -g root -o root $(DESTDIR)$(LIBPATH) ! install -d -g root -o root $(DESTDIR)$(INCPATH) ! install -g root -o root $(LIBNAME) $(DESTDIR)$(LIBPATH) ! install -g root -o root $(HEADERS) $(DESTDIR)$(INCPATH) demo: demo/demo.o libtompoly.a gcc demo/demo.o libtompoly.a -ltommath -o pbdemo --- 27,36 ---- ar $(ARFLAGS) libtompoly.a $(OBJECTS) install: libtompoly.a ! install -d -g system -o root $(DESTDIR)$(LIBPATH) ! install -d -g system -o root $(DESTDIR)$(INCPATH) ! install -g system -o root $(LIBNAME) $(DESTDIR)$(LIBPATH) ! install -g system -o root $(HEADERS) $(DESTDIR)$(INCPATH) demo: demo/demo.o libtompoly.a gcc demo/demo.o libtompoly.a -ltommath -o pbdemo