home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-05-16 | 838 b | 20 lines |
- # Set password that won't be obvious looking binary via 'strings'
- CS_PASSWORD = MenuCell
-
- # These definitions are used here and in Makefile.postamble
- CS_SEGMENT = __CRYPTSUM
- CS_SECTION = __table
-
- # -I. switch depends where cryptsum.h is, here we assume 'pwd'
- # *CFLAGS variables are evaled several times so multiply quote strings
- SECURE_CFLAGS = -I. -DPASSWORD='\"$(CS_PASSWORD)\"'
-
- # -L switch depends where libcryptsum.a is, here we assume 'pwd'
- # -segcreate installs dummy section to preallocate for later segedit
- SECURE_LDFLAGS = -L. -segcreate $(CS_SEGMENT) $(CS_SECTION) dummy.cryptsums
-
- # Only compile libcryptsum.a into binary if were doing 'make secure'
- SECURE_LIBS = -lcryptsum
-
- # Remove secure version of application and checksums for 'make clean'
- OTHER_GARBAGE = $(NAME).unsecure $(NAME).secure $(NAME).cryptsums unsecure_obj