1999-12-07 16:41:54 +00:00
|
|
|
--- XMakefile.orig Fri Dec 3 10:57:55 1999
|
|
|
|
+++ XMakefile Mon Dec 6 03:12:50 1999
|
|
|
|
@@ -17,16 +17,16 @@
|
1999-11-14 02:02:07 +00:00
|
|
|
|
1999-10-11 19:00:30 +00:00
|
|
|
INCLUDES=-I.
|
|
|
|
|
1999-11-14 02:02:07 +00:00
|
|
|
-DEFS=$(INCLUDES) #-DSTR_DEBUG # -DDEBUG
|
1999-10-11 19:00:30 +00:00
|
|
|
-CFLAGS=$(MYCFLAGS) $(DEFS)
|
1999-12-07 16:41:54 +00:00
|
|
|
-LIBS=-L. -laa $(GCLIB) -lm $(LOCAL_LIBRARIES) $(SYS_LIBRARIES)
|
1999-11-14 02:02:07 +00:00
|
|
|
+DEFS+=$(INCLUDES) #-DSTR_DEBUG # -DDEBUG
|
1999-10-11 19:00:30 +00:00
|
|
|
+CFLAGS+=$(MYCFLAGS) $(DEFS)
|
1999-12-07 16:41:54 +00:00
|
|
|
+LIBS+=$(ALIB) -lgc -lm $(LOCAL_LIBRARIES) $(SYS_LIBRARIES)
|
1999-11-14 02:02:07 +00:00
|
|
|
INSTALL=sh install.sh
|
1999-12-07 16:41:54 +00:00
|
|
|
INSTALL2=sh ../install.sh
|
|
|
|
RANLIB=ranlib
|
1999-10-11 19:00:30 +00:00
|
|
|
|
1999-12-07 16:41:54 +00:00
|
|
|
all: $(TARGETS)
|
|
|
|
|
|
|
|
-$(TARGET): $(ALLOBJS) $(ALIB) $(GCTARGET)
|
|
|
|
+$(TARGET): $(ALLOBJS) $(ALIB)
|
|
|
|
$(CC) $(CFLAGS) -o $(TARGET) $(ALLOBJS) $(LIBS)
|
|
|
|
|
|
|
|
$(ALIB): $(ALIBOBJS)
|
|
|
|
@@ -48,25 +48,26 @@
|
1999-11-14 02:02:07 +00:00
|
|
|
cd gc; make CC='$(CC) $(MYCFLAGS)'
|
|
|
|
|
1999-12-07 16:41:54 +00:00
|
|
|
install: $(TARGETS)
|
1999-11-14 02:02:07 +00:00
|
|
|
- -mkdir $(DESTDIR)$(BIN_DIR)
|
|
|
|
- -mkdir $(DESTDIR)$(HELP_DIR)
|
1999-12-07 16:41:54 +00:00
|
|
|
- $(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(BIN_DIR)/$(TARGET)
|
|
|
|
- $(INSTALL) -m 644 w3mhelp_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp_en.html
|
|
|
|
- $(INSTALL) -m 644 w3mhelp_ja.html $(DESTDIR)$(HELP_DIR)/w3mhelp_ja.html
|
|
|
|
- $(INSTALL) -m 644 w3mhelp-lynx_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp-lynx_en.html
|
|
|
|
- $(INSTALL) -m 644 w3mhelp-lynx_ja.html $(DESTDIR)$(HELP_DIR)/w3mhelp-lynx_ja.html
|
1999-11-14 02:02:07 +00:00
|
|
|
- $(INSTALL) -m 644 $(HELP_FILE) $(DESTDIR)$(HELP_DIR)/w3mhelp.html
|
1999-12-07 16:41:54 +00:00
|
|
|
- $(INSTALL) -m 755 $(BOOKMARKER) $(DESTDIR)$(HELP_DIR)/$(BOOKMARKER)
|
|
|
|
- (cd scripts; for i in *; do $(INSTALL2) -m 755 $$i $(DESTDIR)$(HELP_DIR)/$$i; done)
|
1999-11-14 02:02:07 +00:00
|
|
|
+ -mkdir -p $(DESTDIR)$(BIN_DIR)
|
1999-12-07 16:41:54 +00:00
|
|
|
+ -mkdir -p $(DESTDIR)$(LIB_DIR)
|
1999-11-14 02:02:07 +00:00
|
|
|
+ -mkdir -p $(DESTDIR)$(HELP_DIR)
|
|
|
|
+ -mkdir -p $(DESTDIR)$(HELP_DIR_JA)
|
1999-12-07 16:41:54 +00:00
|
|
|
+ $(BSD_INSTALL_PROGRAM) -m 755 $(TARGET) $(DESTDIR)$(BIN_DIR)/$(TARGET)
|
|
|
|
+ $(BSD_INSTALL_DATA) -m 644 w3mhelp_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp_en.html
|
|
|
|
+ $(BSD_INSTALL_DATA) -m 644 w3mhelp_ja.html $(DESTDIR)$(HELP_DIR_JA)/w3mhelp_ja.html
|
|
|
|
+ $(BSD_INSTALL_DATA) -m 644 w3mhelp-lynx_en.html $(DESTDIR)$(HELP_DIR)/w3mhelp-lynx_en.html
|
|
|
|
+ $(BSD_INSTALL_DATA) -m 644 w3mhelp-lynx_ja.html $(DESTDIR)$(HELP_DIR_JA)/w3mhelp-lynx_ja.html
|
|
|
|
+ $(BSD_INSTALL_PROGRAM) -m 755 $(BOOKMARKER) $(DESTDIR)$(LIB_DIR)/$(BOOKMARKER)
|
|
|
|
+ (cd scripts; for i in *; do $(BSD_INSTALL_SCRIPT) -m 755 $$i $(DESTDIR)$(LIB_DIR)/$$i; done)
|
1999-11-14 02:02:07 +00:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
-$(RM) $(BIN_DIR)/$(TARGET)
|
|
|
|
-$(RM) $(HELP_DIR)/w3mhelp-lynx_en.html
|
|
|
|
- -$(RM) $(HELP_DIR)/w3mhelp-lynx_ja.html
|
|
|
|
+ -$(RM) $(HELP_DIR_JA)/w3mhelp-lynx_ja.html
|
|
|
|
-$(RM) $(HELP_DIR)/w3mhelp_en.html
|
|
|
|
- -$(RM) $(HELP_DIR)/w3mhelp_ja.html
|
|
|
|
+ -$(RM) $(HELP_DIR_JA)/w3mhelp_ja.html
|
|
|
|
-$(RM) $(HELP_DIR)/w3mhelp.html
|
1999-12-07 16:41:54 +00:00
|
|
|
- -$(RM) $(HELP_DIR)/$(BOOKMARKER)
|
|
|
|
+ -$(RM) $(LIB_DIR)/$(BOOKMARKER)
|
1999-11-14 02:02:07 +00:00
|
|
|
|
1999-12-07 16:41:54 +00:00
|
|
|
clean:
|
|
|
|
rm -f *.o $(TARGETS) $(ALIB) mktable tagtable.c
|