1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Use system libhwereami
Bug: https://github.com/marcIhm/yabasic/issues/43
Bug-Debian: https://bugs.debian.org/956309
Author: Graham Inggs <ginggs@debian.org>
Last-Update: 2025-09-06
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,9 +8,9 @@
#
bin_PROGRAMS = yabasic
-yabasic_SOURCES = main.c function.c io.c graphic.c symbol.c foreign.c flow.c flex.c bison.c whereami.c yabasic.h bison.h whereami.h
+yabasic_SOURCES = main.c function.c io.c graphic.c symbol.c foreign.c flow.c flex.c bison.c yabasic.h bison.h
man_MANS = yabasic.1
-LDADD = @X_PRE_LIBS@ -lm @LIBS@ -lX11 @X_LIBS@ @X_EXTRA_LIBS@ $(FFI_LDFLAGS)
+LDADD = @X_PRE_LIBS@ -lm @LIBS@ -lX11 @X_LIBS@ @X_EXTRA_LIBS@ $(FFI_LDFLAGS) -lwhereami
# For profiling add option -pg to AM_CPPFLAGS and AM_LDFLAGS
# To adhere to the C23 standard add -std=gnu23 to AM_CPPFLAGS
AM_CPPFLAGS = -DUNIX $(X_CFLAGS) $(FFI_CFLAGS) $(CCOPTIONS) -Wmissing-prototypes
|