1999-12-10 19:40:46 +00:00
|
|
|
--- programs/code_crusader/Make.header.orig Tue Sep 21 13:23:17 1999
|
|
|
|
+++ programs/code_crusader/Make.header Fri Dec 10 11:31:35 1999
|
|
|
|
@@ -73,11 +73,10 @@
|
1999-08-02 23:18:50 +00:00
|
|
|
#####
|
|
|
|
|
|
|
|
.PHONY : default
|
|
|
|
-default: libs jcc ctags
|
|
|
|
+default: libs jcc
|
|
|
|
|
|
|
|
.PHONY : Makefiles
|
|
|
|
Makefiles:
|
|
|
|
- @cd ctags; ./configure > /dev/null
|
|
|
|
|
|
|
|
#
|
|
|
|
# required libraries
|
1999-12-10 19:40:46 +00:00
|
|
|
@@ -98,33 +97,19 @@
|
|
|
|
@cd ${JTOOLBARLIBDIR}; ${MAKE} TOUCHSTRING=${TOUCHSTRING} touch
|
|
|
|
|
|
|
|
#
|
|
|
|
-# ctags
|
|
|
|
-#
|
|
|
|
-
|
|
|
|
-.PHONY : ctags
|
|
|
|
-ctags:
|
|
|
|
- @cd ctags; ${MAKE}; strip ctags
|
|
|
|
-
|
|
|
|
-#
|
|
|
|
# install binaries
|
1999-08-02 23:18:50 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
.PHONY : jxinstall
|
|
|
|
-jxinstall: jcc ctags
|
|
|
|
+jxinstall: jcc
|
|
|
|
@strip jcc
|
|
|
|
ifneq (${J_WANT_INSTALL},0)
|
|
|
|
- @mv jcc ctags/ctags ${JX_INSTALL_ROOT}/
|
|
|
|
- ifeq (${shell whoami},root)
|
|
|
|
- @cp ctags/ctags.1 /usr/man/man1/
|
|
|
|
- endif
|
|
|
|
+ @mv jcc ${JX_INSTALL_ROOT}/
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY : jxuninstall
|
|
|
|
jxuninstall:
|
|
|
|
- @${RM} ${JX_INSTALL_ROOT}/jcc ${JX_INSTALL_ROOT}/ctags
|
|
|
|
- ifeq (${shell whoami},root)
|
|
|
|
- @${RM} /usr/man/man1/ctags.1
|
|
|
|
- endif
|
|
|
|
+ @${RM} ${JX_INSTALL_ROOT}/jcc
|
|
|
|
|
|
|
|
#
|
|
|
|
# remove binaries
|
1999-12-10 19:40:46 +00:00
|
|
|
@@ -132,7 +117,6 @@
|
1999-08-02 23:18:50 +00:00
|
|
|
|
|
|
|
.PHONY : tidy
|
|
|
|
tidy::
|
|
|
|
- @cd ctags; ${MAKE} clean > /dev/null
|
|
|
|
|
|
|
|
# makemake's clean invokes tidy, which does everything necessary
|
|
|
|
|
1999-12-10 19:40:46 +00:00
|
|
|
@@ -145,14 +129,13 @@
|
1999-08-02 23:18:50 +00:00
|
|
|
|
|
|
|
.PHONY : source
|
|
|
|
source:
|
1999-12-10 19:40:46 +00:00
|
|
|
- @-cd ctags; ${MAKE} clean > /dev/null
|
1999-08-02 23:18:50 +00:00
|
|
|
@cd ${J_DISTR_TAR_DIR}; \
|
|
|
|
- tar -czf ${SRC_TAR_FILE} ${filter-out %.o %~ %ctags, \
|
|
|
|
+ tar -czf ${SRC_TAR_FILE} ${filter-out %.o %~, \
|
|
|
|
${shell cd ${J_DISTR_TAR_DIR}; echo \
|
|
|
|
${addprefix ${SRC_FILE_DIR}/, \
|
|
|
|
README.* LICENSE FAQ Make.* *.fd \
|
1999-12-10 19:40:46 +00:00
|
|
|
${EXTRA_FILES} macros/* desktop/* \
|
1999-08-02 23:18:50 +00:00
|
|
|
- code/* rpm/* ctags/* } }}
|
|
|
|
+ code/* rpm/* } }}
|
|
|
|
|
|
|
|
#
|
|
|
|
# binary distributions
|
1999-12-10 19:40:46 +00:00
|
|
|
@@ -179,18 +162,15 @@
|
1999-08-02 23:18:50 +00:00
|
|
|
# distr_sub (JCC_DISTR_TAR_FILE, MKMK_TARGET)
|
|
|
|
|
|
|
|
.PHONY : distr_sub
|
|
|
|
-distr_sub: ctags
|
|
|
|
+distr_sub:
|
|
|
|
@strip jcc
|
|
|
|
@${RM} -r ${JCC}
|
|
|
|
- @mkdir ${JCC} ${JCC}/ctags
|
1999-12-10 19:40:46 +00:00
|
|
|
+ @mkdir ${JCC}
|
|
|
|
@ln -s ../README.binary ${JCC}/README
|
|
|
|
@ln -s ../jcc ${JCC}/jcc
|
|
|
|
@ln -s ../macros ${JCC}/macros
|
|
|
|
@ln -s ../desktop ${JCC}/desktop
|
|
|
|
- @ln -s ../../ctags/ctags ${JCC}/ctags/ctags
|
1999-08-02 23:18:50 +00:00
|
|
|
@cp LICENSE FAQ ${EXTRA_FILES} ${JCC}/
|
|
|
|
- @cp ctags/COPYING ctags/FAQ ctags/NEWS ctags/QUOTES ctags/README \
|
|
|
|
- ctags/ctags.1 ${JCC}/ctags/
|
|
|
|
@cd ${MKMKDIR}; \
|
|
|
|
${MAKE} JCC_TAR_DIR=${JCC_TAR_DIR}/${JCC} ${MKMK_TARGET}
|
|
|
|
@tar -chf ${JCC_DISTR_TAR_FILE} ${JCC}/*
|