1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/devel/gputils/files/patch-aa
Will Andrews 73c3ce4c18 Add GPASM 0.8.9, the GNU Pic assembler, which can compile assembly files
for 12c508 and 16c84 microcontrollers family.

PR:		20396
Submitted by:	Samuel Tardieu <sam@inf.enst.fr>
2000-09-16 04:30:35 +00:00

49 lines
1.1 KiB
Plaintext

--- Makefile.in.orig Fri Aug 4 13:51:41 2000
+++ Makefile.in Fri Aug 4 13:53:45 2000
@@ -20,8 +20,14 @@
all: gpasm
-DATADIR = @prefix@/gpasm
-CFLAGS = @CFLAGS@ -D DATADIR=\"$(DATADIR)\" # -g --pedantic -Wall
+prefix = @prefix@
+CFLAGS = @CFLAGS@ -DDATADIR=\"$(DATADIR)\" # -g --pendantic -Wall
+LIBS = @LIBS@
+YACC = @YACC@
+LEX = @LEX@
+INSTALL = @INSTALL@
+
+DATADIR = $(prefix)/gpasm
SHELL = /bin/sh
# All the objects, in alphabetical order
@@ -39,23 +46,23 @@
util.o
gpasm: $(OBJECTS)
- $(CC) -o gpasm $(OBJECTS) @LIBS@
+ $(CC) -o gpasm $(OBJECTS) $(LIBS)
gpasm.tab.c gpasm.tab.h: gpasm.y
- @YACC@ -d gpasm.y
+ $(YACC) -d gpasm.y
mv y.tab.c gpasm.tab.c
mv y.tab.h gpasm.tab.h
scan.c: scan.l gpasm.tab.h
- @LEX@ scan.l
+ $(LEX) scan.l
mv lex.yy.c scan.c
########################################################################
install:
- @INSTALL@ -m 755 gpasm @prefix@/bin
+ $(INSTALL) -m 755 gpasm $(prefix)/bin
mkdir -m 755 -p $(DATADIR)
- @INSTALL@ -m 644 special.inc $(DATADIR)/special.inc
+ $(INSTALL) -m 644 special.inc $(DATADIR)/special.inc
########################################################################