Deprecated by autoconf/automake

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@176 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.0
Stéphane Fillod, F8CFE 2000-10-01 14:30:46 +00:00
rodzic a1cc888e50
commit f66b8023a4
4 zmienionych plików z 0 dodań i 425 usunięć

Wyświetl plik

@ -1,66 +0,0 @@
# hamlib - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
#
# Makefile - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
# TOP LEVEL Makefile for a set of API's for communicating
# via serial interface to ham radio equipment via serial interface.
#
#
# Top Level Make file for shared lib suite.
#
#
# $Id: Makefile,v 1.2 2000-09-25 00:02:11 javabear Exp $
#
# See common/Makefile for making libhamlib.so -- FS
#
#
#for time stamping releases
REL_NAME := $(shell date +%Y.%m.%d.%s)
all:
(cd ft747 && $(MAKE) all)
(cd ft847 && $(MAKE) all)
(cd common && $(MAKE) all)
# Build all libs, install locally, and make test suite
# but dont run..
.PHONY: build_all
build_all:
(cd common && $(MAKE) all)
(cd ft747 && $(MAKE) build_all)
(cd ft847 && $(MAKE) build_all)
# Clean
.PHONY: cleanall
cleanall:
(cd ft747 && $(MAKE) cleanall)
(cd ft847 && $(MAKE) cleanall)
(cd common && $(MAKE) clean)
# Build all libs, install locally and test suite
# and run..
# .PHONY: verify
# verify:
# (cd common && $(MAKE) all)
# (cd ft747 && $(MAKE) verify)
# (cd ft847 && $(MAKE) verify)
# Basis tar.tgz distribution with embedded date info. Store in
# parent directory.
.PHONY: dist
dist:
make cleanall
tar -zcvf ../Hamlib.${REL_NAME}.tgz *

Wyświetl plik

@ -1,120 +0,0 @@
#
#
# Make file for FT-747GX CAT program shared lib
#
# creates: libft747.so
#
# $Id: Makefile,v 1.4 2000-07-27 00:26:22 javabear Exp $
#
#
# .h files go in INSTALL_INCLUDEDIR
# .so files go in INSTALL_LIBDIR
#
#
INSTALL_LIBDIR = ./lib/
INSTALL_INCLUDEDIR = ./include/
INCLUDE = -I/usr/include -I/usr/local/include -I. -I../common
LIB_NAME = libft747.so
LIB_SONAME = libft747.so.1
LIB_RELEASE = libft747.so.1.0.1
LIB_HEADER = ft747.h
LIB_SRC = ft747.c
LIB_OBJECTS = ft747.o
CC = gcc
CFLAGS = -fPIC -g -Wall
all: lib
.PHONY: lib
lib:
$(CC) $(CFLAGS) $(INCLUDE) -c $(LIB_SRC)
$(CC) -shared -Wl,-soname,$(LIB_SONAME) -o $(LIB_RELEASE) $(LIB_OBJECTS) -lc
# install header and lib
install:
make install_lib
make install_header
# install lib in MYLIBDIR
.PHONY: install_lib
install_lib:
mv $(LIB_RELEASE) $(INSTALL_LIBDIR)
cd $(INSTALL_LIBDIR); /sbin/ldconfig -n .
cd $(INSTALL_LIBDIR); ln -s $(LIB_SONAME) $(LIB_NAME)
# install libft747.h in INSTALL_INCLUDEDIR
.PHONY: install_header
install_header:
cp -f $(LIB_HEADER) $(INSTALL_INCLUDEDIR)
# build lib and install and build test suite, but DONT run it
.PHONY: build_all
build_all:
make all
make install
(cd test && $(MAKE) all)
# build everything and run test suite ( stand back ..)
.PHONY: verify
verify:
make build_all
(cd test && $(MAKE) runtest)
# clean up local directory, my include and lib
# directories also.
clean:
make cleanlocal
make cleanlib
make cleaninclude
# clean up local directory, my include and lib and test
# directories also.
.PHONY: cleanall
cleanall:
make cleanlocal
make cleanlib
make cleaninclude
make cleantest
# clean up local directory
.PHONY: cleanlocal
cleanlocal:
rm -f *.o *.so*
# clean up local lib directory
.PHONY: cleanlib
cleanlib:
cd $(INSTALL_LIBDIR); rm -f $(LIB_NAME)*
# clean up local include directory
.PHONY: cleaninclude
cleaninclude:
cd $(INSTALL_INCLUDEDIR); rm -f $(LIB_HEADER)
# clean up test directory
.PHONY: cleantest
cleantest:
(cd test && $(MAKE) clean)

Wyświetl plik

@ -1,120 +0,0 @@
#
#
# Make file for FT-847 CAT program shared lib
#
# creates: libft847.so
#
# $Id: Makefile,v 1.1 2000-07-25 01:17:00 javabear Exp $
#
#
# .h files go in INSTALL_INCLUDEDIR
# .so files go in INSTALL_LIBDIR
#
#
INSTALL_LIBDIR = ./lib/
INSTALL_INCLUDEDIR = ./include/
INCLUDE = -I/usr/include -I/usr/local/include -I. -I../common
LIB_NAME = libft847.so
LIB_SONAME = libft847.so.1
LIB_RELEASE = libft847.so.1.0.1
LIB_HEADER = ft847.h
LIB_SRC = ft847.c
LIB_OBJECTS = ft847.o
CC = gcc
CFLAGS = -fPIC -g -Wall
all: lib
.PHONY: lib
lib:
$(CC) $(CFLAGS) $(INCLUDE) -c $(LIB_SRC)
$(CC) -shared -Wl,-soname,$(LIB_SONAME) -o $(LIB_RELEASE) $(LIB_OBJECTS) -lc
# install header and lib
install:
make install_lib
make install_header
# install lib in MYLIBDIR
.PHONY: install_lib
install_lib:
mv $(LIB_RELEASE) $(INSTALL_LIBDIR)
cd $(INSTALL_LIBDIR); /sbin/ldconfig -n .
cd $(INSTALL_LIBDIR); ln -s $(LIB_SONAME) $(LIB_NAME)
# install libft847.h in INSTALL_INCLUDEDIR
.PHONY: install_header
install_header:
cp -f $(LIB_HEADER) $(INSTALL_INCLUDEDIR)
# build lib and install and build test suite, but DONT run it
.PHONY: build_all
build_all:
make all
make install
(cd test && $(MAKE) all)
# build everything and run test suite ( stand back ..)
.PHONY: verify
verify:
make build_all
(cd test && $(MAKE) runtest)
# clean up local directory, my include and lib
# directories also.
clean:
make cleanlocal
make cleanlib
make cleaninclude
# clean up local directory, my include and lib and test
# directories also.
.PHONY: cleanall
cleanall:
make cleanlocal
make cleanlib
make cleaninclude
make cleantest
# clean up local directory
.PHONY: cleanlocal
cleanlocal:
rm -f *.o *.so*
# clean up local lib directory
.PHONY: cleanlib
cleanlib:
cd $(INSTALL_LIBDIR); rm -f $(LIB_NAME)*
# clean up local include directory
.PHONY: cleaninclude
cleaninclude:
cd $(INSTALL_INCLUDEDIR); rm -f $(LIB_HEADER)
# clean up test directory
.PHONY: cleantest
cleantest:
(cd test && $(MAKE) clean)

Wyświetl plik

@ -1,119 +0,0 @@
#
#
# Make file for ICOM program shared lib
#
# creates: libicom.so
#
# $Id: Makefile,v 1.1 2000-09-16 01:43:48 f4cfe Exp $
#
#
# .h files go in INSTALL_INCLUDEDIR
# .so files go in INSTALL_LIBDIR
#
#
INSTALL_LIBDIR = ./lib/
INSTALL_INCLUDEDIR = ./include/
INCLUDE = -I../common
LIB_NAME = libicom.so
LIB_SONAME = libicom.so.1
LIB_RELEASE = libicom.so.1.0.1
LIB_HEADER = icom.h
LIB_SRC = icom.c ic706.c
LIB_OBJECTS = icom.o ic706.o
CC = gcc
CFLAGS = -fPIC -g -Wall $(INCLUDE) # -O2
all: lib
.PHONY: lib
lib: $(LIB_OBJECTS) $(LIB_HEADER)
$(CC) -shared -Wl,-soname,$(LIB_SONAME) -o $(LIB_RELEASE) $(LIB_OBJECTS) -lc
icom.c: icom.h icom_defs.h
ic706.c: icom.h icom_defs.h
# install header and lib
install:
make install_lib
make install_header
# install lib in MYLIBDIR
.PHONY: install_lib
install_lib:
mv $(LIB_RELEASE) $(INSTALL_LIBDIR)
cd $(INSTALL_LIBDIR); /sbin/ldconfig -n .
cd $(INSTALL_LIBDIR); ln -s $(LIB_SONAME) $(LIB_NAME)
# install libicom.h in INSTALL_INCLUDEDIR
.PHONY: install_header
install_header:
cp -f $(LIB_HEADER) $(INSTALL_INCLUDEDIR)
# build lib and install and build test suite, but DONT run it
.PHONY: build_all
build_all:
make all
make install
(cd test && $(MAKE) all)
# build everything and run test suite ( stand back ..)
.PHONY: verify
verify:
make build_all
(cd test && $(MAKE) runtest)
# clean up local directory, my include and lib
# directories also.
clean:
make cleanlocal
make cleanlib
make cleaninclude
# clean up local directory, my include and lib and test
# directories also.
.PHONY: cleanall
cleanall:
make cleanlocal
make cleanlib
make cleaninclude
make cleantest
# clean up local directory
.PHONY: cleanlocal
cleanlocal:
rm -f *.o *.so*
# clean up local lib directory
.PHONY: cleanlib
cleanlib:
cd $(INSTALL_LIBDIR); rm -f $(LIB_NAME)*
# clean up local include directory
.PHONY: cleaninclude
cleaninclude:
cd $(INSTALL_INCLUDEDIR); rm -f $(LIB_HEADER)
# clean up test directory
.PHONY: cleantest
cleantest:
(cd test && $(MAKE) clean)