$OpenBSD: patch-qw_server_Makefile_in,v 1.1.1.1 2001/08/03 13:02:16 espie Exp $ --- qw_server/Makefile.in.orig Tue Jan 11 15:37:02 2000 +++ qw_server/Makefile.in Mon Jul 23 04:56:36 2001 @@ -16,7 +16,7 @@ COMMON_DIR=$(PROJECT_DIR)/common QW_COMMON_DIR= $(PROJECT_DIR)/qw_common BUILD_DIR = ../targets/qw_server -LDFLAGS = @LDFLAGS@ -lm -L/usr/local/v6/lib -linet6 +LDFLAGS = @LDFLAGS@ -lm LIBS = @LIBS@ CC = @CC@ INTEL_ARCH = @INTEL_ARCH@ @@ -109,7 +109,7 @@ $(BUILD_DIR)/srv/%.o: $(SRC_DIR)/%.c $(BUILD_DIR)/srv/%.o: $(SRC_DIR)/%.s $(MAKE_SURE_srv_DIR) - $(CC) $(CFLAGS) -DELF -x assembler-with-cpp -o $@ -c $< + $(CC) $(CFLAGS) -x assembler-with-cpp -o $@ -c $< $(BUILD_DIR)/srv/%.o: $(COMMON_DIR)/%.c $(MAKE_SURE_srv_DIR) @@ -121,7 +121,7 @@ $(BUILD_DIR)/srv/%.o: $(QW_COMMON_DIR)/% $(BUILD_DIR)/srv/%.o: $(COMMON_DIR)/%.s $(MAKE_SURE_srv_DIR) - $(CC) $(CFLAGS) -DELF -x assembler-with-cpp -o $@ -c $< + $(CC) $(CFLAGS) -x assembler-with-cpp -o $@ -c $< $(SRVQUAKE): $(BUILD_DIR)/../$(SRVQUAKE) @@ -148,7 +148,7 @@ clean: $(CLEAN_TARGETS) install: $(targets) $(PROJECT_DIR)/mkinstalldirs $(DESTDIR)$(prefix)$(bindir) for i in $(targets); do \ - $(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \ + $(PROJECT_DIR)/install-sh -s -m 755 $(BUILD_DIR)/../$$i \ $(DESTDIR)$(prefix)$(bindir)/$$i; \ done