mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
On make clean, remove the .c and .h files generated by pswrap
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11684 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
735e3f2b36
commit
2981ac5da3
8 changed files with 45 additions and 9 deletions
14
ChangeLog
14
ChangeLog
|
@ -1,3 +1,17 @@
|
|||
Mon Dec 10 09:54:09 2001 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* application.make (internal-clean): Remove .c and .h files
|
||||
generated by pswrap.
|
||||
* clibrary.make (internal-clean): Idem.
|
||||
* bundle.make (internal-clean): Idem.
|
||||
* framework.make (internal-framework-clean): Idem.
|
||||
* library.make (internal-clean): Idem.
|
||||
* palette.make (internal-clean): Idem.
|
||||
* service.make (internal-clean): Idem.
|
||||
* subproject.make (internal-clean): Idem.
|
||||
* test-application.make (internal-clean): Idem.
|
||||
* test-library.make (internal-clean): Idem.
|
||||
|
||||
Mon Dec 10 09:18:33 2001 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Documentation/makedoc.make: Recreated from the top level
|
||||
|
|
|
@ -57,9 +57,12 @@ internal-install:: $(BUNDLE_NAME:=.install.bundle.variables)
|
|||
|
||||
internal-uninstall:: $(BUNDLE_NAME:=.uninstall.bundle.variables)
|
||||
|
||||
_PSWRAP_C_FILES = $(foreach bundle,$(BUNDLE_NAME),$($(bundle)_PSWRAP_FILES:.psw=.c))
|
||||
_PSWRAP_H_FILES = $(foreach bundle,$(BUNDLE_NAME),$($(bundle)_PSWRAP_FILES:.psw=.h))
|
||||
|
||||
internal-clean:: $(BUNDLE_NAME:=.clean.bundle.subprojects)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) \
|
||||
$(addsuffix $(BUNDLE_EXTENSION),$(BUNDLE_NAME))
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) $(_PSWRAP_C_FILES) $(_PSWRAP_H_FILES) \
|
||||
$(addsuffix $(BUNDLE_EXTENSION),$(BUNDLE_NAME)) \
|
||||
|
||||
internal-distclean:: $(BUNDLE_NAME:=.distclean.bundle.subprojects)
|
||||
rm -rf shared_obj static_obj shared_debug_obj shared_profile_obj \
|
||||
|
|
|
@ -63,8 +63,11 @@ internal-install:: $(CLIBRARY_NAME:=.install.clibrary.variables)
|
|||
|
||||
internal-uninstall:: $(CLIBRARY_NAME:=.uninstall.clibrary.variables)
|
||||
|
||||
_PSWRAP_C_FILES = $(foreach lib,$(CLIBRARY_NAME),$($(lib)_PSWRAP_FILES:.psw=.c))
|
||||
_PSWRAP_H_FILES = $(foreach lib,$(CLIBRARY_NAME),$($(lib)_PSWRAP_FILES:.psw=.h))
|
||||
|
||||
internal-clean:: $(CLIBRARY_NAME:=.clean.clibrary.subprojects)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) $(_PSWRAP_C_FILES) $(_PSWRAP_H_FILES)
|
||||
|
||||
internal-distclean:: $(CLIBRARY_NAME:=.distclean.clibrary.subprojects)
|
||||
rm -rf shared_obj static_obj shared_debug_obj shared_profile_obj \
|
||||
|
|
|
@ -55,8 +55,11 @@ internal-install:: $(PALETTE_NAME:=.install.palette.variables)
|
|||
|
||||
internal-uninstall:: $(PALETTE_NAME:=.uninstall.palette.variables)
|
||||
|
||||
_PSWRAP_C_FILES = $(foreach palette,$(PALETTE_NAME),$($(palette)_PSWRAP_FILES:.psw=.c))
|
||||
_PSWRAP_H_FILES = $(foreach palette,$(PALETTE_NAME),$($(palette)_PSWRAP_FILES:.psw=.h))
|
||||
|
||||
internal-clean:: $(PALETTE_NAME:=.clean.palette.subprojects)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) $(_PSWRAP_C_FILES) $(_PSWRAP_H_FILES)
|
||||
|
||||
internal-distclean:: $(PALETTE_NAME:=.distclean.palette.variables)
|
||||
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
#
|
||||
# Makefile rules to build GNUstep-based services.
|
||||
#
|
||||
# Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1998, 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
# Author: Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
# Based on the makefiles by Scott Christley.
|
||||
# Author: Nicola Pero <nicola@brainstorm.co.uk>
|
||||
#
|
||||
# This file is part of the GNUstep Makefile Package.
|
||||
#
|
||||
|
@ -49,8 +50,11 @@ internal-install:: $(SERVICE_NAME:=.install.service.variables)
|
|||
|
||||
internal-uninstall:: $(SERVICE_NAME:=.uninstall.service.variables)
|
||||
|
||||
_PSWRAP_C_FILES = $(foreach service,$(SERVICE_NAME),$($(service)_PSWRAP_FILES:.psw=.c))
|
||||
_PSWRAP_H_FILES = $(foreach service,$(SERVICE_NAME),$($(service)_PSWRAP_FILES:.psw=.h))
|
||||
|
||||
internal-clean:: $(SERVICE_NAME:=.clean.service.subprojects)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) $(_PSWRAP_C_FILES) $(_PSWRAP_H_FILES)
|
||||
ifeq ($(OBJC_COMPILER), NeXT)
|
||||
rm -f *.iconheader
|
||||
for f in *.service; do \
|
||||
|
|
|
@ -62,8 +62,11 @@ internal-uninstall:: $(SUBPROJECT_NAME:=.uninstall.subproject.variables)
|
|||
|
||||
endif
|
||||
|
||||
_PSWRAP_C_FILES = $(foreach subproject,$(SUBPROJECT_NAME),$($(subproject)_PSWRAP_FILES:.psw=.c))
|
||||
_PSWRAP_H_FILES = $(foreach subproject,$(SUBPROJECT_NAME),$($(subproject)_PSWRAP_FILES:.psw=.h))
|
||||
|
||||
internal-clean:: $(SUBPROJECT_NAME:=.clean.subproject.subprojects)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) $(_PSWRAP_C_FILES) $(_PSWRAP_H_FILES)
|
||||
|
||||
internal-distclean:: $(SUBPROJECT_NAME:=.distclean.subproject.subprojects)
|
||||
rm -rf shared_obj static_obj shared_debug_obj shared_profile_obj \
|
||||
|
|
|
@ -46,8 +46,11 @@ ifeq ($(INTERNAL_app_NAME),)
|
|||
|
||||
internal-all:: $(TEST_APP_NAME:=.all.app.variables)
|
||||
|
||||
_PSWRAP_C_FILES = $(foreach app,$(TEST_APP_NAME),$($(app)_PSWRAP_FILES:.psw=.c))
|
||||
_PSWRAP_H_FILES = $(foreach app,$(TEST_APP_NAME),$($(app)_PSWRAP_FILES:.psw=.h))
|
||||
|
||||
internal-clean:: $(TEST_APP_NAME:=.clean.app.subprojects)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) $(_PSWRAP_C_FILES) $(_PSWRAP_H_FILES)
|
||||
ifeq ($(OBJC_COMPILER), NeXT)
|
||||
rm -f *.iconheader
|
||||
for f in *.$(APP_EXTENSION); do \
|
||||
|
|
|
@ -84,8 +84,11 @@ internal-install:: $(TEST_LIBRARY_NAME:=.install.testlib.variables)
|
|||
|
||||
internal-uninstall:: $(TEST_LIBRARY_NAME:=.uninstall.testlib.variables)
|
||||
|
||||
_PSWRAP_C_FILES = $(foreach lib,$(TEST_LIBRARY_NAME),$($(lib)_PSWRAP_FILES:.psw=.c))
|
||||
_PSWRAP_H_FILES = $(foreach lib,$(TEST_LIBRARY_NAME),$($(lib)_PSWRAP_FILES:.psw=.h))
|
||||
|
||||
internal-clean:: $(TEST_LIBRARY_NAME:=.clean.testlib.subprojects)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR)
|
||||
rm -rf $(GNUSTEP_OBJ_DIR) $(_PSWRAP_C_FILES) $(_PSWRAP_H_FILES)
|
||||
|
||||
internal-distclean:: $(TEST_LIBRARY_NAME:=.distclean.testlib.subprojects)
|
||||
rm -rf shared_obj static_obj shared_debug_obj shared_profile_obj \
|
||||
|
|
Loading…
Reference in a new issue