diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/mgetty/mgetty-1.1.30/14-frontends_X11_viewfax-2.5_Makefile | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/mgetty/mgetty-1.1.30/14-frontends_X11_viewfax-2.5_Makefile')
-rw-r--r-- | recipes/mgetty/mgetty-1.1.30/14-frontends_X11_viewfax-2.5_Makefile | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/recipes/mgetty/mgetty-1.1.30/14-frontends_X11_viewfax-2.5_Makefile b/recipes/mgetty/mgetty-1.1.30/14-frontends_X11_viewfax-2.5_Makefile new file mode 100644 index 0000000000..d218b6e7cc --- /dev/null +++ b/recipes/mgetty/mgetty-1.1.30/14-frontends_X11_viewfax-2.5_Makefile @@ -0,0 +1,60 @@ +--- mgetty-1.1.28.old/frontends/X11/viewfax-2.5/Makefile 2002-08-03 17:26:26.000000000 -0400 ++++ mgetty-1.1.28/frontends/X11/viewfax-2.5/Makefile 2002-08-03 17:30:26.000000000 -0400 +@@ -21,15 +21,15 @@ + + ####### Site-specific definitions ####### + # Destination directories and installation program for make install +-BINDIR = /usr/local/bin +-LIBDIR = /usr/local/lib +-MANDIR = /usr/local/man/man1 +-INSTALL = /usr/ucb/install ++BINDIR = $(DESTDIR)/usr/bin ++DOCDIR = $(DESTDIR)/usr/share/doc/mgetty-viewfax ++MANDIR = $(DESTDIR)/usr/share/man/man1 ++INSTALL = /usr/bin/install + RM = rm -f + # Location of help file +-HELP = \"$(LIBDIR)/viewfax.tif\" ++HELP = \"$(DOCDIR)/viewfax.tif\" + # optimisation level, debug etc +-OPT = -g -O2 -Wno-uninitialized -ansi -pedantic ++OPT = -O2 -Wno-uninitialized -ansi -pedantic + # C compiler and libraries + # vanilla sysv + #CC = cc +@@ -43,22 +43,22 @@ + #LIBS = + # sun solaris2 with gcc on supersparc: + CC = gcc +-CFLAGS = -Wall $(OPT) -DHELPFILE=$(HELP) -msupersparc -I/usr/openwin/include +-LDFLAGS = $(OPT) -L/usr/openwin/lib -R/usr/openwin/lib ++CFLAGS = -Wall $(OPT) -DHELPFILE=$(HELP) -I/usr/openwin/include ++LDFLAGS = $(OPT) -L/usr/X11R6/lib -lX11 + LIBS = + + ####### End of configurable definitions ####### + OBJS = viewfax.o faxinput.o faxinit.o faxexpand.o + + viewfax: $(OBJS) +- $(CC) $(LDFLAGS) -o viewfax $(OBJS) -lX11 $(LIBS) ++ $(CC) $(LDFLAGS) -o viewfax $(OBJS) $(LIBS) + + g3hack: g3hack.c + + install: viewfax + $(INSTALL) -s -m 755 viewfax $(BINDIR) + $(INSTALL) -m 644 viewfax.man $(MANDIR)/viewfax.1 +- $(INSTALL) -m 644 viewfax.tif $(LIBDIR) ++ $(INSTALL) -m 644 viewfax.tif $(DOCDIR)/ + + D = viewfax-$(VERS) + FILES = $D/README $D/COPYING $D/ChangeLog $D/Imakefile $D/Makefile \ +@@ -75,7 +75,7 @@ + + shar:; (cd ..; shar -a -n$D -M -sfdc@cliwe.ping.de -c -o $D/part -l64 $(FILES)) + +-clean:; $(RM) *.o *~ core ++clean:; $(RM) *.o *~ core viewfax + + viewfax.o: faxexpand.h + faxinput.o: faxexpand.h |