summaryrefslogtreecommitdiffstats
path: root/minislang/Makefile
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-06-26 18:54:21 +0000
committerMatt Wilson <msw@redhat.com>2001-06-26 18:54:21 +0000
commite6a71a9485fea55ec804e0ba428e7e95e9020c2e (patch)
tree6f2a931e0600e680f34f2ac7fb7672efc7d09c3e /minislang/Makefile
parent2cc739870aaa0ee4124d21e0c6a94dcec6a88679 (diff)
downloadanaconda-e6a71a9485fea55ec804e0ba428e7e95e9020c2e.tar.gz
anaconda-e6a71a9485fea55ec804e0ba428e7e95e9020c2e.tar.xz
anaconda-e6a71a9485fea55ec804e0ba428e7e95e9020c2e.zip
move library objects to .lo, so python doesn't get confused
Diffstat (limited to 'minislang/Makefile')
-rw-r--r--minislang/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/minislang/Makefile b/minislang/Makefile
index 196404c53..4fd0180d5 100644
--- a/minislang/Makefile
+++ b/minislang/Makefile
@@ -2,7 +2,7 @@ include ../Makefile.inc
OBJS = sldisply.o slerr.o slgetkey.o slmisc.o slsignal.o slsmg.o \
sltermin.o slutty.o slkanji.o
-SOBJS = $(patsubst %.o,%.so,$(OBJS))
+SOBJS = $(patsubst %.o,%.lo,$(OBJS))
CFLAGS = -Os
@@ -16,14 +16,14 @@ everything: $(TARGET)
all: libslang.so libslang.a($(OBJS))
-%.so: %.c
+%.lo: %.c
$(CC) -c $(CFLAGS) -fPIC -o $@ $<
libslang.so: $(SOBJS)
gcc -o $@ -shared -Wl,-soname,libslang.so.1 $(SOBJS)
clean:
- rm -f *.o *.so libslang.so libslang.a
+ rm -f *.o *.so *.lo libslang.so libslang.a
install: libslang.so
install -s libslang.so $(DESTDIR)/$(RUNTIMEDIR)/libslang.so.1