2000-02-01 11:40:07 +00:00
|
|
|
--- Makefile.orig Sun Oct 24 10:30:09 1999
|
|
|
|
+++ Makefile Tue Feb 1 03:01:19 2000
|
1998-12-14 03:14:50 +00:00
|
|
|
@@ -22,10 +22,10 @@
|
2000-02-01 11:40:07 +00:00
|
|
|
# enochw@scn.org Oct 99: flags for UWIN 2.0 (Unix for Windows)
|
1996-03-05 07:46:58 +00:00
|
|
|
|
|
|
|
# Where to install things for Linux sites (FSSTND)
|
|
|
|
-BINDIR = /usr/bin
|
|
|
|
-LIBDIR = /etc
|
1998-08-11 10:29:56 +00:00
|
|
|
-DOCDIR = /usr/doc/minicom
|
1996-03-05 07:46:58 +00:00
|
|
|
-MANDIR = /usr/man/man1
|
1998-01-03 10:58:43 +00:00
|
|
|
+# BINDIR = /usr/bin
|
|
|
|
+# LIBDIR = /etc
|
1998-08-11 10:29:56 +00:00
|
|
|
+# DOCDIR = /usr/doc/minicom
|
1998-01-03 10:58:43 +00:00
|
|
|
+# MANDIR = /usr/man/man1
|
1996-07-10 10:47:25 +00:00
|
|
|
|
1998-08-11 10:29:56 +00:00
|
|
|
# fmg 8/22/97: seems a more logical place for this :-)
|
|
|
|
# Select Compile Options you want:
|
1998-12-14 03:14:50 +00:00
|
|
|
@@ -40,18 +40,18 @@
|
|
|
|
# -D_I18N_ - Internationalization and localized text strings
|
|
|
|
# see file "../doc/Locales"
|
1998-08-11 10:29:56 +00:00
|
|
|
#
|
|
|
|
-OPFLAGS = -D_HISTORY -D_HAVE_MACROS -D_SEARCH_HISTORY -D_I18N_
|
1998-12-14 03:14:50 +00:00
|
|
|
+OPFLAGS = -D_HISTORY -D_HAVE_MACROS -D_SEARCH_HISTORY ## -D_I18N_
|
|
|
|
|
|
|
|
# Remove if you don't have gettext and don't want to install it and use
|
|
|
|
# the localized strings
|
|
|
|
PO = po
|
1998-08-11 10:29:56 +00:00
|
|
|
|
1996-07-10 10:47:25 +00:00
|
|
|
# Where to install things for FreeBSD sites.
|
|
|
|
-# BINDIR = /usr/local/bin
|
|
|
|
-# LIBDIR = /usr/local/etc/minicom
|
1998-12-14 03:14:50 +00:00
|
|
|
+BINDIR = $(PREFIX)/bin
|
|
|
|
+LIBDIR = $(PREFIX)/etc/minicom
|
1998-01-03 10:58:43 +00:00
|
|
|
##DOCDIR = /usr/local/share/minicom
|
1996-07-10 10:47:25 +00:00
|
|
|
-# DOCDIR = /usr/local/etc/minicom
|
|
|
|
-# MANDIR = /usr/local/man/man1
|
1998-12-14 03:14:50 +00:00
|
|
|
+DOCDIR = $(PREFIX)/etc/minicom
|
|
|
|
+MANDIR = $(PREFIX)/man/man1
|
1996-03-05 07:46:58 +00:00
|
|
|
|
|
|
|
# Where to install things for "normal" sites.
|
|
|
|
# BINDIR = /usr/local/bin
|
1999-04-14 17:08:00 +00:00
|
|
|
@@ -60,17 +60,17 @@
|
1998-08-11 10:29:56 +00:00
|
|
|
# MANDIR = /usr/local/man/man1
|
1996-03-05 07:46:58 +00:00
|
|
|
|
1998-08-11 10:29:56 +00:00
|
|
|
# Take these compilation flags for Linux with libncurses.
|
|
|
|
-FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses
|
1999-04-14 17:08:00 +00:00
|
|
|
-PROGS = minicom runscript ascii-xfr
|
|
|
|
-LFLAGS = -s
|
|
|
|
-LIBS = -lncurses #-lintl
|
|
|
|
-CC = cc
|
1998-12-14 03:14:50 +00:00
|
|
|
+# FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses
|
|
|
|
+# PROGS = minicom runscript ascii-xfr
|
|
|
|
+# LFLAGS = -s
|
|
|
|
+# LIBS = -lncurses #-lintl
|
|
|
|
+# CC = cc
|
|
|
|
|
1999-04-14 17:08:00 +00:00
|
|
|
# Take these compilation flags for FreeBSD.
|
1998-12-14 03:14:50 +00:00
|
|
|
-#FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_DCDFLOW
|
|
|
|
-#PROGS = minicom runscript ascii-xfr
|
|
|
|
-#LFLAGS = -s
|
|
|
|
-#LIBS = -ltermcap
|
1999-04-14 17:08:00 +00:00
|
|
|
+FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_DCDFLOW -D_HAVE_MACROS
|
|
|
|
+PROGS = minicom runscript ascii-xfr
|
|
|
|
+LFLAGS = -s
|
|
|
|
+LIBS = -ltermcap -lcurses
|
|
|
|
#CC = cc
|
|
|
|
|
1996-03-05 07:46:58 +00:00
|
|
|
# Take these flags for SCO unix.
|
2000-02-01 11:40:07 +00:00
|
|
|
@@ -185,7 +185,7 @@
|
1999-04-14 17:08:00 +00:00
|
|
|
SOBJS = script.o sysdep1.o common.o
|
|
|
|
|
|
|
|
# fmg 8/22/97: merge in new OPFLAGS...
|
|
|
|
-CFLAGS = $(FLAGS) $(OPFLAGS) -DLIBDIR=\"$(LIBDIR)\"
|
|
|
|
+CFLAGS += $(FLAGS) $(OPFLAGS) -DLIBDIR=\"$(LIBDIR)\"
|
|
|
|
|
|
|
|
R = $(ROOTDIR)
|
|
|
|
|
2000-02-01 11:40:07 +00:00
|
|
|
@@ -195,7 +195,7 @@
|
1998-08-11 10:29:56 +00:00
|
|
|
$(CC) $(LFLAGS) -o minicom $(MOBJS) $(LIBS)
|
|
|
|
|
|
|
|
po: dummy
|
2000-02-01 11:40:07 +00:00
|
|
|
- $(MAKE) -C po
|
|
|
|
+ ## cd po ; $(MAKE)
|
1998-08-11 10:29:56 +00:00
|
|
|
|
|
|
|
keyserv: $(KOBJS)
|
|
|
|
$(CC) -o keyserv $(LFLAGS) $(KOBJS) $(LIBS)
|
2000-02-01 11:40:07 +00:00
|
|
|
@@ -248,7 +248,7 @@
|
1998-12-14 03:14:50 +00:00
|
|
|
dummy:
|
1998-08-11 10:29:56 +00:00
|
|
|
|
|
|
|
install: $(PROGS)
|
2000-02-01 11:40:07 +00:00
|
|
|
- $(MAKE) -C po install R=$(R)
|
|
|
|
+ ## cd po ; $(MAKE) install R=$(R)
|
1998-08-11 10:29:56 +00:00
|
|
|
sh install.sh $(R)$(LIBDIR) $(R)$(BINDIR) $(R)$(MANDIR) $(R)$(DOCDIR)
|
|
|
|
|
2000-02-01 11:40:07 +00:00
|
|
|
install2: $(PROGS)
|
|
|
|
@@ -256,7 +256,7 @@
|
|
|
|
|
1998-08-11 10:29:56 +00:00
|
|
|
clobber:
|
|
|
|
rm -f *.o *~ minicom keyserv runscript ascii-xfr
|
2000-02-01 11:40:07 +00:00
|
|
|
- $(MAKE) -C po clean
|
|
|
|
+ ## cd po ; $(MAKE) clean
|
1998-08-11 10:29:56 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|