summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-03-12 13:57:11 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-03-12 13:57:11 -0700
commit016bf23cbffd07db1cf9a0020a618667acae38c5 (patch)
tree5c98ad3e6d8bb1a5b714cae018b415382534503e
parent30e642826f25c07ae13138c0dabee1287f4c52c3 (diff)
downloadsyslinux-016bf23cbffd07db1cf9a0020a618667acae38c5.tar.gz
com32/gpllib: clean up Makefile structure
-rw-r--r--com32/gpllib/Makefile5
-rw-r--r--com32/lib/MCONFIG1
-rw-r--r--com32/lib/Makefile1
3 files changed, 5 insertions, 2 deletions
diff --git a/com32/gpllib/Makefile b/com32/gpllib/Makefile
index dd77d394..0f8bf95c 100644
--- a/com32/gpllib/Makefile
+++ b/com32/gpllib/Makefile
@@ -3,9 +3,12 @@
#
# Include configuration rules
+topdir = ../..
include ../lib/MCONFIG
-LIBOBJS =
+REQFLAGS += -I../gplinclude
+
+LIBOBJS =
BINDIR = /usr/bin
LIBDIR = /usr/lib
diff --git a/com32/lib/MCONFIG b/com32/lib/MCONFIG
index e40cf83c..aea0ed74 100644
--- a/com32/lib/MCONFIG
+++ b/com32/lib/MCONFIG
@@ -1,6 +1,5 @@
# -*- makefile -*-
-topdir = ../..
include $(topdir)/MCONFIG
GCCOPT := $(call gcc_ok,-std=gnu99,) \
diff --git a/com32/lib/Makefile b/com32/lib/Makefile
index eb723c67..0042c864 100644
--- a/com32/lib/Makefile
+++ b/com32/lib/Makefile
@@ -4,6 +4,7 @@
# Include configuration rules
NOGPL := 1
+topdir = ../..
include MCONFIG
LIBOBJS = \