mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
102 lines
2.3 KiB
Plaintext
102 lines
2.3 KiB
Plaintext
|
--- programs/code_crusader/Make.header.orig Mon Aug 2 06:01:38 1999
|
||
|
+++ programs/code_crusader/Make.header Mon Aug 2 06:35:46 1999
|
||
|
@@ -75,11 +75,10 @@
|
||
|
#####
|
||
|
|
||
|
.PHONY : default
|
||
|
-default: libs jcc ctags
|
||
|
+default: libs jcc
|
||
|
|
||
|
.PHONY : Makefiles
|
||
|
Makefiles:
|
||
|
- @cd ctags; ./configure > /dev/null
|
||
|
|
||
|
#
|
||
|
# required libraries
|
||
|
@@ -97,21 +96,15 @@
|
||
|
#
|
||
|
|
||
|
.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
|
||
|
@@ -119,7 +112,6 @@
|
||
|
|
||
|
.PHONY : tidy
|
||
|
tidy::
|
||
|
- @cd ctags; ${MAKE} clean > /dev/null
|
||
|
|
||
|
# makemake's clean invokes tidy, which does everything necessary
|
||
|
|
||
|
@@ -132,14 +124,13 @@
|
||
|
|
||
|
.PHONY : source
|
||
|
source:
|
||
|
- @cd ctags; ${MAKE} clean > /dev/null
|
||
|
@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 \
|
||
|
${EXTRA_FILES} macros/* \
|
||
|
- code/* rpm/* ctags/* } }}
|
||
|
+ code/* rpm/* } }}
|
||
|
|
||
|
#
|
||
|
# binary distributions
|
||
|
@@ -166,10 +157,10 @@
|
||
|
# 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
|
||
|
+ @mkdir ${JCC}
|
||
|
ifdef RH_ISV
|
||
|
@echo '***** RedHat ISV version *****'
|
||
|
@ln -s ../README.ISV ${JCC}/README
|
||
|
@@ -178,10 +169,7 @@
|
||
|
endif
|
||
|
@ln -s ../jcc ${JCC}/jcc
|
||
|
@ln -s ../macros ${JCC}/macros
|
||
|
- @ln -s ../../ctags/ctags ${JCC}/ctags/ctags
|
||
|
@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}/*
|
||
|
@@ -239,11 +227,3 @@
|
||
|
beta: debug
|
||
|
@strip -g jcc
|
||
|
@cp jcc ${HOME}/local/stable/jcc_latest
|
||
|
-
|
||
|
-#
|
||
|
-# ctags
|
||
|
-#
|
||
|
-
|
||
|
-.PHONY : ctags
|
||
|
-ctags:
|
||
|
- @cd ctags; ${MAKE}; strip ctags
|